Changeset 12818
- Timestamp:
- 2006-09-21T17:05:50+12:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/cdm/FormatManager.java
r12816 r12818 104 104 } 105 105 106 // Ensure the default formats for DateList, HList and VList are assigned107 if (getFormat(DATELIST) == null) {108 addFormat(new Format("",DATELIST,DATELIST_DEFAULT_FORMAT));109 }110 111 112 if (getFormat(HLIST) == null) {113 addFormat(new Format("",HLIST,HLIST_DEFAULT_FORMAT));114 }106 // // Ensure the default formats for DateList, HList and VList are assigned 107 // if (getFormat(DATELIST) == null) { 108 // addFormat(new Format("",DATELIST,DATELIST_DEFAULT_FORMAT)); 109 // } 110 111 112 // if (getFormat(HLIST) == null) { 113 // addFormat(new Format("",HLIST,HLIST_DEFAULT_FORMAT)); 114 // } 115 115 116 116 117 if (getFormat(VLIST) == null) {118 addFormat(new Format("",VLIST,VLIST_DEFAULT_FORMAT));119 }117 // if (getFormat(VLIST) == null) { 118 // addFormat(new Format("",VLIST,VLIST_DEFAULT_FORMAT)); 119 // } 120 120 121 121 122 if (getFormat(DOCUMENTHEADING) == null) {123 addFormat(new Format(DOCUMENTHEADING, "", DOCUMENTHEADING_DEFAULT_FORMAT));124 }122 // if (getFormat(DOCUMENTHEADING) == null) { 123 // addFormat(new Format(DOCUMENTHEADING, "", DOCUMENTHEADING_DEFAULT_FORMAT)); 124 // } 125 125 126 126 127 if (getFormat(DOCUMENTTEXT)== null) {128 addFormat(new Format(DOCUMENTTEXT,"",DOCUMENTTEXT_DEFAULT_FORMAT));129 }130 131 132 133 if (getFormat(DOCUMENTBUTTONS) == null) {134 addFormat(new Format(DOCUMENTBUTTONS,"",DOCUMENTBUTTONS_DEFAULT_FORMAT));135 136 }137 138 // only for mgpp and lucene colls - change!139 if (getFormat(SEARCHTYPES)==null) {140 addFormat(new Format(SEARCHTYPES, "", SEARCHTYPES_DEFAULT_FORMAT));141 }127 // if (getFormat(DOCUMENTTEXT)== null) { 128 // addFormat(new Format(DOCUMENTTEXT,"",DOCUMENTTEXT_DEFAULT_FORMAT)); 129 // } 130 131 132 133 // if (getFormat(DOCUMENTBUTTONS) == null) { 134 // addFormat(new Format(DOCUMENTBUTTONS,"",DOCUMENTBUTTONS_DEFAULT_FORMAT)); 135 136 // } 137 138 // // only for mgpp and lucene colls - change! 139 // if (getFormat(SEARCHTYPES)==null) { 140 // addFormat(new Format(SEARCHTYPES, "", SEARCHTYPES_DEFAULT_FORMAT)); 141 // } 142 142 143 143 }
Note:
See TracChangeset
for help on using the changeset viewer.