Ignore:
Timestamp:
2012-09-18T15:19:18+12:00 (12 years ago)
Author:
kjdon
Message:

getMetadataList needs a language param, as we may need to look up a dictionary for macro resolving. and set a class loader for the macro resolver so we can have collection specific dictionaries

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/src/java/org/greenstone/gsdl3/service/AbstractDocumentRetrieve.java

    r26089 r26198  
    287287            try
    288288            {
    289                 Element metadata_list = getMetadataList(node_id, all_metadata, metadata_names_list);
     289              Element metadata_list = getMetadataList(node_id, all_metadata, metadata_names_list, lang);
    290290                if (metadata_list != null)
    291291                {
     
    759759     * <metadataList><metadata name="xxx">value</metadata></metadataList>
    760760     */
    761     abstract protected Element getMetadataList(String doc_id, boolean all_metadata, ArrayList<String> metadata_names) throws GSException;
     761  abstract protected Element getMetadataList(String doc_id, boolean all_metadata, ArrayList<String> metadata_names, String lang) throws GSException;
    762762
    763763    /**
Note: See TracChangeset for help on using the changeset viewer.