Index: main/trunk/gli/src/org/greenstone/gatherer/cdm/Format4gs3Manager.java =================================================================== --- main/trunk/gli/src/org/greenstone/gatherer/cdm/Format4gs3Manager.java (revision 25683) +++ main/trunk/gli/src/org/greenstone/gatherer/cdm/Format4gs3Manager.java (revision 25696) @@ -63,10 +63,107 @@ public class Format4gs3Manager implements SharedByTwoFormatManager { - - static final private String SEARCH_FORMAT = ":"; + //The default search format + static final private String SEARCH_FORMAT; + static + { + // @formatter:off + String SEARCH_FORMAT_TEMP = "" + + "" + + "" + + "" + + "" + + "" + + "" + + "" + + "" + + "" + + "" + + "" + + "" + + "" + + "Untitled" + + "" + + "" + + "" + + ""; + SEARCH_FORMAT = SEARCH_FORMAT_TEMP; + // @formatter:on + } static final private String SEARCH = "search"; - static final private String DISPLAY_FORMAT = ""; + static final private String DISPLAY_FORMAT = ""; static final private String DISPLAY = "display"; - static final private String CLASSIFIER_DEFAULT_FORMAT = "Untitled()Untitled()"; + + //The default browse format + static final private String CLASSIFIER_DEFAULT_FORMAT; + static + { + // @formatter:off + String CLASSIFIER_DEFAULT_FORMAT_TEMP = "" + + "" + + "" + + "" + + "" + + "" + + "" + + "" + + "" + + "" + + "" + + "" + + "" + + "" + + "" + + "" + + "" + + "" + + "" + + "" + + "" + + "" + + "Untitled" + + "" + + "" + + "" + + "" + + "()" + + "" + + "" + + "" + + "" + + "" + + "" + + "" + + "" + + "" + + "" + + "" + + "" + + "" + + "" + + "" + + "" + + "" + + "" + + "" + + "" + + "" + + "" + + "" + + "Untitled" + + "" + + "" + + "" + + "()" + + "" + + "" + + "" + + "" + + "" + + "" + + "" + + ""; + CLASSIFIER_DEFAULT_FORMAT = CLASSIFIER_DEFAULT_FORMAT_TEMP; + // @formatter:on + } static final private String CLASSIFIER_DEFAULT = "browse"; static final private String SEARCHTYPE_FORMAT = "plain,simpleform,advancedform";