Changeset 14051


Ignore:
Timestamp:
05/03/07 09:43:56 (14 years ago)
Author:
xiao
Message:

add some new strings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/util/StaticStrings.java

    r13466 r14051  
    4646    static final public String ASSOCIATIONS_ELEMENT = "Associations";
    4747    static final public String ATTRIBUTE_ELEMENT = "Attribute";
     48    static final public String BROWSE_STR = "browse";
    4849    static final public String BUILDTYPE_ELEMENT = "BuildType";
    4950    static final public String BUILDTYPE_STR = "buildtype";
    5051    static final public String CASEFOLD_OPTION_STR = "casefold";
    5152    static final public String CCS_STR = "ccs";
     53    static final public String CLASSIFIER_STR = "classifier";
    5254    static final public String CLASSIFY_ELEMENT = "Classify";
    5355    static final public String CLASSIFY_STR = "classify";
     
    5658    static final public String COLNAME_PATTERN = "<col_name>";
    5759    static final public String COLLECT_CFG = "collect.cfg";
     60    static final public String COLLECTION_CFG_XML = "collectionConfig.xml";
    5861    static final public String COLLECTDIR_ARGUMENT = "-collectdir";
    5962    static final public String COLLECTION_ELEMENT = "Collection";
     
    8386    static final public String DEBUG_ARGUMENT = "-debug";
    8487    static final public String DESCRIPTION_ELEMENT = "Description";
     88    static final public String DESCRIPTION_STR = "description";
    8589    static final public String DIRECTORY_MAPPINGS_ELEMENT = "DirectoryMappings";
     90    static final public String DISPLAYITEMLIST_STR = "displayItemList";
     91    static final public String DISPLAY_STR = "display";
     92    static final public String DISPLAYITEM_STR = "displayItem";
    8693    static final public String DOCUMENT_STR = "document";
     94    static final public String DOT_CHARACTER = ".";
    8795    static final public String EMPTY_STR = "";
    8896    static final public String ENGLISH_LANGUAGE_STR = "en";
     
    98106    static final public String FILE_ATTRIBUTE = "file";
    99107    static final public String FILENAME_STR = "Filename";
     108    static final public String FILTER_ATTRIBUTE = "filter";
    100109    static final public String FLAG_STR = "flag";
    101110    static final public String FORMAT_ELEMENT = "Format";
    102111    static final public String FORMAT_STR = "format";
     112    static final public String FORMAT_START_TAG = "<format>";
     113    static final public String FORMAT_END_TAG = "</format>";
    103114    static final public String FURTHER_DIALOG_INDICATOR = "...";
    104115    static final public String GLI_ATTRIBUTE = "gli";
     
    114125    static final public String HELP_ARGUMENT = "-help";
    115126    static final public String HTM_FILE_EXTENSION = ".htm";
     127    static final public String ICON_STR = "icon";
     128    static final public String ID_STR = "id";
    116129    static final public String IMAGES_PATH_RELATIVE_TO_GSDL_PREFIX = "_httpprefix_/collect/<col_name>/images/";
    117130    static final public String INCLUDE_STR = "include";
    118131    static final public String INDEX_ELEMENT = "Index";
     132    static final public String INDEX_LOW_STR = "index";
    119133    static final public String INDEX_DEFAULT_ELEMENT = "DefaultIndex";
     134    static final public String INDEX_DEFAULT_ELEMENT_LOWERCASE = "defaultIndex";
    120135    static final public String INDEX_DEFAULT_STR = "defaultindex";
    121136    static final public String INDEX_STR = "indexes";
     
    123138    static final public String INDEXOPTION_ELEMENT = "Option";
    124139    static final public String INDEXOPTIONS_ELEMENT = "IndexOption";
     140    static final public String INDEXOPTION_STR = "indexOption";
     141    static final public String INDEXOPTIONS_STR = "indexoptions";
    125142    static final public String INDEXOPTION_DEFAULT_ELEMENT = "DefaultIndexOption";
    126143    static final public String INT_STR = "int";
     144    static final public String IMPORT_STR = "import";
    127145    static final public String[] KEEP_PLUG = { "GAPlug", "METSPlug" };
    128146    static final public String LANGUAGE_ARGUMENT = "l=";
     
    130148    static final public String LANGUAGE_ELEMENT = "Language";
    131149    static final public String LANGUAGE_DEFAULT_ELEMENT = "DefaultLanguage";
     150    static final public String LANGUAGE_DEFAULT_INDEX_ELEMENT = "defaultIndexLanguage";
    132151    static final public String LANGUAGE_DEFAULT_STR = "defaultlanguage";
     152    static final public String LANGUAGE_INDEX_ELEMENT = "indexLanguage";
    133153    static final public String LANGUAGE_METADATA_ELEMENT = "LanguageMetadata";
     154    static final public String LANGUAGE_METADATA_ELEMENT_STR = "languageMetadata";
    134155    static final public String LANGUAGE_METADATA_STR = "languagemetadata";
     156    static final public String LANG_STR = "lang";
     157    static final public String LANG_ATTRIBUTE = "lang";
    135158    static final public String LANGUAGE_STR = "language";
    136159    static final public String LANGUAGES_ELEMENT = "Languages";
     
    139162    static final public String LESS_THAN_CHARACTER = "<";
    140163    static final public String LEVEL_ATTRIBUTE = "level";
     164    static final public String LEVEL_ELEMENT = "level";
     165    static final public String LEVEL_DEFAULT_ELEMENT = "defaultLevel";
    141166    static final public String LEVEL_DEFAULT_STR = "defaultlevel";
    142167    static final public String LEVELS_STR = "levels";
     
    151176    static final public String METADATA_SET_EXTENSION = ".mds";
    152177    static final public String METADATA_STR = "metadata";
     178    static final public String METADATALIST_STR = "metadataList";
     179    static final public String METADATALIST_ELEMENT = "MetadataList";
    153180    static final public String METADATA_TYPE_STR = "metadata";
    154181    static final public String METADATA_XML = "metadata.xml";
     
    160187    static final public String MODEL_COLLECTION_NAME = "modelcol";
    161188    static final public String NAME_ATTRIBUTE = "name";
     189    static final public String NAME_STR = "name";
    162190    static final public String NAME_ELEMENT = "Name";
    163191    static final public String NEWLINE_CHARACTER = "\\";
     
    166194    static final public String OPEN_PARENTHESIS_CHARACTER = "(";
    167195    static final public String OPTION_ELEMENT = "Option";
     196    static final public String OPTION_STR = "option";
     197
    168198    static final public String OPTIONS_ATTRIBUTE = "options";
    169199    static final public String PARAGRAPH_STR = "paragraph";
     
    172202    static final public String PLUGIN_ELEMENT = "Plugin";
    173203    static final public String PLUGIN_STR = "plugin";
     204    static final public String PLUGINLIST_STR = "pluginList";
    174205    static final public String PREDEFINED_METADATA_ATTRIBUTE = "predefined";         
    175206    static final public String RBRACKET_CHARACTER = "]";
    176207    static final public String RECPLUG_STR = "RecPlug";
    177208    static final public String REGEXP_STR = "regexp";
     209    static final public String REPLACELISTREF_STR = "replaceListRef";
    178210    static final public String RESTRICTED_METADATA_ATTRIBUTE = "restricted";
     211    static final public String SEARCHTYPE_ELEMENT = "searchType";
    179212    static final public String SEARCHTYPE_STR = "searchtype";
     213    static final public String SEARCH_STR = "search";
    180214    static final public String SECTION_ELEMENT = "Section";
    181215    static final public String SECTION_STR = "section";
     
    185219    static final public String SINGLE_QUOTE_CHARACTER = "'";
    186220    static final public String SITE_ARGUMENT = "-site";
     221    static final public String SMALLICON_STR = "smallicon";
    187222    static final public String SPACE_CHARACTER = " ";
    188223    static final public String SPECIAL_ATTRIBUTE = "special";
     
    196231    static final public String SUBCOLLECTION_DEFAULT_INDEX_STR = "defaultsubcollection";
    197232    static final public String SUBCOLLECTION_INDEX_STR = "indexsubcollections";
     233    static final public String SUBCOLLECTION_INDEX_ELEMENT = "indexSubcollection";
    198234    static final public String SUBCOLLECTION_INDEXES_ELEMENT = "SubcollectionIndexes";
    199235    static final public String SUPERCOLLECTION_ELEMENT = "Supercollection";
     
    204240    static final public String TIMESTAMP_ARGUMENT = "&uq=";
    205241    static final public String TITLE_ELEMENT = "Title";
     242    static final public String SOURCE_ELEMENT = "Source";
    206243    static final public String TRUE_STR = "true";
    207244    static final public String TYPE_ATTRIBUTE = "type";
     
    221258    static final public String CACHE_FOLDER                               = "cache";
    222259    static final public String CUSTOM_ATTRIBUTE                           = "custom";
     260    static final public String MG_STR                           = "mg";
     261    static final public String MGPP_STR                           = "mgpp";
     262    static final public String LUCENE_STR                           = "lucene";
     263   
     264    static final public String CLASSIFIER_DEFAULT_FORMAT = "<gsf:template match='documentNode'><td valign='top'><gsf:link type='document'><gsf:icon type='document'/></gsf:link></td> <td valign='top'><gsf:metadata name='srclink' /><gsf:choose-metadata><gsf:metadata name='thumbicon' /><gsf:metadata name='srcicon' /></gsf:choose-metadata><gsf:metadata name='/srclink' /></td> <td valign='top'> <gsf:choose-metadata><gsf:metadata name='dc.Title' /><gsf:metadata name='exp.Title' /><gsf:metadata name='Title' /><gsf:default>Untitled</gsf:default></gsf:choose-metadata> <gsf:switch><gsf:metadata name='Source' /><gsf:when test='exists' ><br /><i>(<gsf:metadata name='Source' />)</i></gsf:when></gsf:switch></td></gsf:template><gsf:template match='classifierNode'><td valign='top'><gsf:link type='classifier'><gsf:icon type='classifier'/></gsf:link></td> <td valign='top'><gsf:metadata name='srclink' /><gsf:choose-metadata><gsf:metadata name='thumbicon' /><gsf:metadata name='srcicon' /></gsf:choose-metadata><gsf:metadata name='/srclink' /></td> <td valign='top'> <gsf:choose-metadata><gsf:metadata name='dc.Title' /><gsf:metadata name='exp.Title' /><gsf:metadata name='Title' /><gsf:default>Untitled</gsf:default></gsf:choose-metadata> <gsf:switch><gsf:metadata name='Source' /><gsf:when test='exists' ><br /><i>(<gsf:metadata name='Source' />)</i></gsf:when></gsf:switch></td></gsf:template><gsf:template match='classifierNode' mode='horizontal'><gsf:link type='horizontal'><gsf:metadata name='Title' /></gsf:link></gsf:template>";
     265
    223266}
Note: See TracChangeset for help on using the changeset viewer.