public interface MetadataVocab
extends org.xml.sax.ContentHandler
Modifier and Type | Method and Description |
---|---|
void |
addError(java.lang.String err)
Adds a feature to the Error attribute of the MetadataVocab object
|
void |
addMessage(java.lang.String msg)
Adds a feature to the Message attribute of the MetadataVocab object
|
void |
doneLoading()
Invoked when XML parsing completes
|
VocabNode |
findVocabNode(java.lang.String system,
java.lang.String fieldName,
java.lang.String valueName)
Deprecated.
As of MetadataUI v1.0, replaced by
getVocabNode()
|
java.util.ArrayList |
getCacheValuesInOrder(java.lang.String system,
java.lang.String group,
java.util.Map cache)
Given a cache (Map) of vocab values, this method returns a list of those
values in the order that they are defined in their groups file.
|
java.lang.String |
getCurrentVersion(java.lang.String metaFormat)
Get the most recently loaded metadata format version number
|
java.util.ArrayList |
getErrors()
Get the list of any errors that have occured
|
java.lang.String |
getFieldSystemId(java.lang.String field)
Deprecated.
As of MetadataUI v1.0, replaced by
getTranslatedField()
|
boolean |
getFieldValueIdPairExists(java.lang.String fieldId,
java.lang.String valueId)
Does a vocabulary definition exist for the given encoded field/value Ids?
|
java.lang.String |
getFieldValueSystemId(java.lang.String field,
java.lang.String value)
Deprecated.
As of MetadataUI v1.0, replaced by
getTranslatedValue()
|
java.util.ArrayList |
getMessages()
Return stored messages
|
java.lang.String |
getMetaFormatOfField(java.lang.String field)
Gets the metadata format associated with the given field identifier (either
encoded ID or PATH)
|
java.lang.String |
getMetaNameOfId(java.lang.String system,
java.lang.String fieldId,
java.lang.String valueId)
Deprecated.
As of MetadataUI v1.0, replaced by
getTranslatedValue()
|
java.lang.String |
getOPML(java.lang.String metaFormat,
java.lang.String audience,
java.lang.String language,
java.lang.String field)
Gets the OPML for a given format/audience/language, using the current
or most recently loaded version without the XML declaration tag
|
java.lang.String |
getOPML(java.lang.String metaFormat,
java.lang.String audience,
java.lang.String language,
java.lang.String field,
boolean includeXmlDeclaration)
Gets the OPML for a given format/audience/language, using the current
or most recently loaded version
|
java.lang.String |
getOPML(java.lang.String metaFormat,
java.lang.String metaVersion,
java.lang.String audience,
java.lang.String language,
java.lang.String field)
Gets the OPML for a given format/version/audience/language without the
XML declaration tag
|
java.lang.String |
getOPML(java.lang.String metaFormat,
java.lang.String metaVersion,
java.lang.String audience,
java.lang.String language,
java.lang.String field,
boolean includeXmlDeclaration)
Gets the OPML for a given format/version/audience/language
|
java.lang.String |
getResponseOPML(javax.servlet.jsp.PageContext context)
Gets the re-ordered/grouped/labeled tree of metadata values from the cache
created by setResponseGroup()
|
java.lang.String |
getTopLevelAbbrevLabelOf(java.lang.String system,
java.lang.String metadataField,
java.lang.String systemFieldId,
java.lang.String systemValueId)
Gets the topLevelAbbrevLabelOf attribute of the MetadataVocab object
|
java.lang.String |
getTranslatedField(java.lang.String metaFormat,
java.lang.String field)
Gets the translated FIELD NAME/ID of the given FIELD NAME/ID
|
java.lang.String |
getTranslatedField(java.lang.String metaFormat,
java.lang.String metaVersion,
java.lang.String field)
Gets the translated FIELD NAME/ID of the given FIELD NAME/ID
|
java.lang.String |
getTranslatedFieldPath(java.lang.String metaFormat,
java.lang.String field)
Gets the translated FIELD XPATH of the given FIELD NAME/ID
|
java.lang.String |
getTranslatedFieldPath(java.lang.String metaFormat,
java.lang.String metaVersion,
java.lang.String field)
Gets the translated FIELD XPATH of the given FIELD NAME/ID
|
java.lang.String |
getTranslatedValue(java.lang.String metaFormat,
java.lang.String field,
java.lang.String value)
Gets the translated VALUE NAME/ID of the given FIELD+VALUE NAMEs/IDs
|
java.lang.String |
getTranslatedValue(java.lang.String metaFormat,
java.lang.String metaVersion,
java.lang.String field,
java.lang.String value)
Gets the translated VALUE NAME/ID of the given FIELD+VALUE NAMEs/IDs
|
java.lang.String |
getUiFieldLabel(java.lang.String audience,
java.lang.String language,
java.lang.String field,
boolean abbrev)
Gets the uiFieldLabel attribute of the MetadataVocab object
|
java.lang.String |
getUiFieldLabel(java.lang.String metaFormat,
java.lang.String audience,
java.lang.String language,
java.lang.String field,
boolean abbrev)
Gets the UI label associated with the given FIELD NAME/ID, using the
current or most recently loaded metadata format version number
|
java.lang.String |
getUiFieldLabel(java.lang.String metaFormat,
java.lang.String metaVersion,
java.lang.String audience,
java.lang.String language,
java.lang.String field)
Gets the non-abbreviated UI label associated with the given FIELD NAME/ID
|
java.lang.String |
getUiFieldLabel(java.lang.String metaFormat,
java.lang.String metaVersion,
java.lang.String audience,
java.lang.String language,
java.lang.String field,
boolean abbrev)
Gets the UI label associated with the given FIELD NAME/ID
|
java.lang.String |
getUiLabelOf(java.lang.String system,
java.lang.String metadataField,
java.lang.String metadataValue)
Deprecated.
As of MetadataUI v1.0, replaced by
getUiValueLabel()
|
java.lang.String |
getUiLabelOf(java.lang.String system,
java.lang.String metadataField,
java.lang.String metadataValue,
boolean abbreviated)
Deprecated.
As of MetadataUI v1.0, replaced by
getUiValueLabel()
|
java.lang.String |
getUiLabelOfFieldId(java.lang.String fieldId)
Deprecated.
As of MetadataUI v1.0, replaced by
getUiFieldLabel()
|
java.lang.String |
getUiLabelOfSystemIds(java.lang.String system,
java.lang.String systemFieldId,
java.lang.String systemValueId)
Deprecated.
As of MetadataUI v1.0, replaced by
getUiValueLabel()
|
java.lang.String |
getUiLabelOfSystemIds(java.lang.String system,
java.lang.String systemFieldId,
java.lang.String systemValueId,
boolean abbreviated)
Deprecated.
As of MetadataUI v1.0, replaced by
getUiValueLabel()
|
java.lang.String |
getUiValueDisplay(java.lang.String metaFormat,
java.lang.String audience,
java.lang.String language,
java.lang.String field,
java.lang.String value)
Gets the "display" attribute value for the given field/value vocab using
the CURRENT metadata framework version
|
java.lang.String |
getUiValueDisplay(java.lang.String metaFormat,
java.lang.String metaVersion,
java.lang.String audience,
java.lang.String language,
java.lang.String field,
java.lang.String value)
Gets the "display" attribute value for the given field/value vocab
|
java.lang.String |
getUiValueLabel(java.lang.String audience,
java.lang.String language,
java.lang.String field,
java.lang.String value,
boolean abbrev)
Gets the uiValueLabel attribute of the MetadataVocab object
|
java.lang.String |
getUiValueLabel(java.lang.String metaFormat,
java.lang.String audience,
java.lang.String language,
java.lang.String field,
java.lang.String value,
boolean abbrev)
Gets the UI label associated with the given FIELD+VALUE NAMES/IDS, using
the current or most recently loaded metadata format version number
|
java.lang.String |
getUiValueLabel(java.lang.String metaFormat,
java.lang.String metaVersion,
java.lang.String audience,
java.lang.String language,
java.lang.String field,
java.lang.String value)
Gets the non-abbreviated UI label associated with the given FIELD+VALUE
NAMES/IDS
|
java.lang.String |
getUiValueLabel(java.lang.String metaFormat,
java.lang.String metaVersion,
java.lang.String audience,
java.lang.String language,
java.lang.String field,
java.lang.String value,
boolean abbrev)
Gets the UI label associated with the given FIELD+VALUE NAMES/IDS
|
java.lang.String |
getVocabCheckbox(java.lang.String groupTop,
java.lang.String value,
java.lang.String label,
MetadataVocabInputState inputState)
Returns a SINGLE HTML CHECKBOX input of the specified part of the
vocabulary.
|
java.lang.String |
getVocabCheckboxes(java.lang.String system,
java.lang.String group,
int size,
java.lang.String tdWidth,
boolean skipTopRow,
MetadataVocabInputState inputState)
Returns an HTML TABLE of CHECKBOX inputs of the specified part of the
vocabulary.
|
java.util.ArrayList |
getVocabFieldIds()
Gets the vocabFieldIds attribute of the MetadataVocab object
|
java.lang.String |
getVocabHiddenInputs(java.lang.String system,
java.lang.String group,
MetadataVocabInputState inputState)
Generates HTML HIDDEN inputs of the specified part of the vocabulary.
|
VocabNode |
getVocabNode(java.lang.String metaFormat,
java.lang.String audience,
java.lang.String language,
java.lang.String fieldName,
java.lang.String valueName)
Gets a VocabNode for the given field/value pair
|
java.util.ArrayList |
getVocabNodes(java.lang.String system,
java.lang.String group)
Gets the vocabNodes attribute of the MetadataVocab object
|
java.util.ArrayList |
getVocabNodes(java.lang.String metaFormat,
java.lang.String audience,
java.lang.String language,
java.lang.String field)
Gets the vocabNodes attribute of the MetadataVocab object
|
java.util.ArrayList |
getVocabNodes(java.lang.String metaFormat,
java.lang.String audience,
java.lang.String language,
java.lang.String field,
java.lang.String group)
Gets the vocabNodes attribute of the MetadataVocab object
|
java.lang.String |
getVocabSelectList(java.lang.String system,
java.lang.String group,
int size,
MetadataVocabInputState inputState)
Returns an HTML SELECT list of the specified part of the vocabulary.
|
java.util.Set |
getVocabSystemInterfaces()
Gets the set of interfaces defined in this instance of the vocabs
|
java.lang.String |
getVocabTreeMenu(java.lang.String system,
java.lang.String language,
java.lang.String group,
javax.servlet.jsp.PageContext page)
Generates an absolutely-positioned JavaScript Tree Menu (collapsable flyout
hierarchy) of the specified part of the vocabulary
|
void |
reportError(java.lang.String err)
Log an error
|
void |
reportMessage(java.lang.String msg)
Log a message
|
void |
setResponseGroup(javax.servlet.jsp.PageContext context,
java.lang.String metaFormat,
java.lang.String audience,
java.lang.String language,
java.lang.String field)
Initiate the re-ordering/grouping/labeling of a flat list of metadata
values in a search response (Services or otherwise) by indicating an
audience grouping (OPML tree) sans version
|
void |
setResponseGroup(javax.servlet.jsp.PageContext context,
java.lang.String metaFormat,
java.lang.String metaVersion,
java.lang.String audience,
java.lang.String language,
java.lang.String field)
Initiate the re-ordering/grouping/labeling of a flat list of metadata
values in a search response (Services or otherwise) by indicating an
audience grouping (OPML tree)
|
void |
setResponseList(java.util.ArrayList values,
javax.servlet.jsp.PageContext context)
Adds an ArrayList of metadata values to the re-ordering/grouping/labeling
cache
|
void |
setResponseList(java.lang.String[] values,
javax.servlet.jsp.PageContext context)
Adds an ArrayList of metadata values to the re-ordering/grouping/labeling
cache
|
void |
setResponseValue(java.lang.String value,
javax.servlet.jsp.PageContext context)
Adds a single metadata value to the re-ordering/grouping/labeling cache
|
java.util.ArrayList getErrors()
void addMessage(java.lang.String msg)
msg
- The feature to be added to the Message attributevoid addError(java.lang.String err)
err
- The feature to be added to the Error attributevoid setResponseGroup(javax.servlet.jsp.PageContext context, java.lang.String metaFormat, java.lang.String metaVersion, java.lang.String audience, java.lang.String language, java.lang.String field)
context
- JSP page contextmetaVersion
- metadata version (i.e. "0.6.50")audience
- UI audience, i.e. "community" or "cataloger"language
- UI language, i.e. "en-us"field
- metadata FIELD encoded ID (i.e. "gr") or metadata NAME
(i.e. "gradeRange")metaFormat
- metadata format (i.e. "adn")setResponseValue(String,PageContext)
,
setResponseList(String[],PageContext)
,
setResponseList(ArrayList,PageContext)
,
getResponseOPML(PageContext)
void setResponseGroup(javax.servlet.jsp.PageContext context, java.lang.String metaFormat, java.lang.String audience, java.lang.String language, java.lang.String field)
context
- JSP page contextaudience
- UI audience, i.e. "community" or "cataloger"language
- UI language, i.e. "en-us"field
- metadata FIELD encoded ID (i.e. "gr") or metadata NAME
(i.e. "gradeRange")metaFormat
- metadata format (i.e. "adn")setResponseValue(String,PageContext)
,
setResponseList(String[],PageContext)
,
setResponseList(ArrayList,PageContext)
,
getResponseOPML(PageContext)
void setResponseValue(java.lang.String value, javax.servlet.jsp.PageContext context)
value
- metadata VALUE encoded ID (i.e. "04") or metadata NAME
(i.e. "DLESE:Intermediate elementary")context
- JSP page contextsetResponseGroup(PageContext,String,String,String,String,String)
,
setResponseList(String[],PageContext)
,
setResponseList(ArrayList,PageContext)
,
getResponseOPML(PageContext)
void setResponseList(java.util.ArrayList values, javax.servlet.jsp.PageContext context)
context
- JSP page contextvalues
- List of metadata VALUE encoded ID (i.e. "04") or metadata
NAME (i.e. "DLESE:Intermediate elementary")setResponseGroup(PageContext,String,String,String,String,String)
,
setResponseValue(String,PageContext)
,
setResponseList(String[],PageContext)
,
getResponseOPML(PageContext)
void setResponseList(java.lang.String[] values, javax.servlet.jsp.PageContext context)
context
- JSP page contextvalues
- List of metadata VALUE encoded ID (i.e. "04") or metadata
NAME (i.e. "DLESE:Intermediate elementary")setResponseGroup(PageContext,String,String,String,String,String)
,
setResponseValue(String,PageContext)
,
setResponseList(ArrayList,PageContext)
,
getResponseOPML(PageContext)
java.lang.String getResponseOPML(javax.servlet.jsp.PageContext context)
context
- JSP page contextsetResponseValue(String,PageContext)
,
setResponseList(String[],PageContext)
,
setResponseList(ArrayList,PageContext)
,
setResponseGroup(PageContext,String,String,String,String,String)
java.util.Set getVocabSystemInterfaces()
boolean getFieldValueIdPairExists(java.lang.String fieldId, java.lang.String valueId)
fieldId
- Encoded vocabulary field IdvalueId
- Encoded vocabulary value Idjava.util.ArrayList getVocabNodes(java.lang.String system, java.lang.String group)
system
- group
- java.lang.String getVocabSelectList(java.lang.String system, java.lang.String group, int size, MetadataVocabInputState inputState)
group
- colon-seperated specifier of the part of the vocab
hierarchy which is to be displayedsize
- size (height) of the SELECT listsystem
- inputState
- java.lang.String getVocabCheckboxes(java.lang.String system, java.lang.String group, int size, java.lang.String tdWidth, boolean skipTopRow, MetadataVocabInputState inputState)
group
- colon-seperated specifier of the part of the vocab
hierarchy which is to be displayedsize
- how many inputs to display before starting a new column
in the tabletdWidth
- value inserted into the width param of the TD tagskipTopRow
- Should the top row of checkboxes (next to All | Clear)
be skipped?system
- inputState
- java.lang.String getVocabCheckbox(java.lang.String groupTop, java.lang.String value, java.lang.String label, MetadataVocabInputState inputState)
groupTop
- Top-level vocab groupvalue
- vocab valuelabel
- UI labelinputState
- java.lang.String getVocabTreeMenu(java.lang.String system, java.lang.String language, java.lang.String group, javax.servlet.jsp.PageContext page)
group
- colon-seperated specifier of the part of the vocab
hierarchy which is to be displayedsystem
- page
- language
- java.lang.String getVocabHiddenInputs(java.lang.String system, java.lang.String group, MetadataVocabInputState inputState)
group
- colon-seperated specifier of the part of the vocab
hierarchy which is to be displayedsystem
- inputState
- java.util.ArrayList getCacheValuesInOrder(java.lang.String system, java.lang.String group, java.util.Map cache)
cache
- system
- group
- java.util.ArrayList getVocabFieldIds()
void doneLoading()
VocabNode findVocabNode(java.lang.String system, java.lang.String fieldName, java.lang.String valueName)
system
- fieldName
- valueName
- VocabNode getVocabNode(java.lang.String metaFormat, java.lang.String audience, java.lang.String language, java.lang.String fieldName, java.lang.String valueName)
metaFormat
- metadata format (i.e. "adn")audience
- UI audience, i.e. "community" or "cataloger"language
- UI language, i.e. "en-us"fieldName
- vocab fieldvalueName
- vocab valuejava.util.ArrayList getVocabNodes(java.lang.String metaFormat, java.lang.String audience, java.lang.String language, java.lang.String field)
metaFormat
- audience
- language
- field
- java.util.ArrayList getVocabNodes(java.lang.String metaFormat, java.lang.String audience, java.lang.String language, java.lang.String field, java.lang.String group)
metaFormat
- audience
- language
- field
- group
- java.lang.String getCurrentVersion(java.lang.String metaFormat)
metaFormat
- metadata format (i.e. "adn")java.lang.String getTranslatedField(java.lang.String metaFormat, java.lang.String metaVersion, java.lang.String field) throws java.lang.Exception
field
- metadata FIELD encoded ID (i.e. "gr") or metadata
NAME (i.e. "gradeRange")metaFormat
- metadata format (i.e. "adn")metaVersion
- metadata version (i.e. "0.6.50")java.lang.Exception
java.lang.String getTranslatedField(java.lang.String metaFormat, java.lang.String field) throws java.lang.Exception
field
- metadata FIELD encoded ID (i.e. "gr") or metadata
NAME (i.e. "gradeRange")metaFormat
- metadata format (i.e. "adn")java.lang.Exception
java.lang.String getTranslatedFieldPath(java.lang.String metaFormat, java.lang.String metaVersion, java.lang.String field) throws java.lang.Exception
field
- metadata FIELD encoded ID (i.e. "gr") or metadata
NAME (i.e. "gradeRange")metaFormat
- metadata format (i.e. "adn")metaVersion
- metadata version (i.e. "0.6.50")java.lang.Exception
java.lang.String getTranslatedFieldPath(java.lang.String metaFormat, java.lang.String field) throws java.lang.Exception
field
- metadata FIELD encoded ID (i.e. "gr") or metadata
NAME (i.e. "gradeRange")metaFormat
- metadata format (i.e. "adn")java.lang.Exception
java.lang.String getTranslatedValue(java.lang.String metaFormat, java.lang.String metaVersion, java.lang.String field, java.lang.String value) throws java.lang.Exception
field
- metadata FIELD encoded ID (i.e. "gr") or metadata
NAME (i.e. "gradeRange")value
- metadata VALUE encoded ID (i.e. "04") or metadata
NAME (i.e. "DLESE:Intermediate elementary")metaFormat
- metadata format (i.e. "adn")metaVersion
- metadata version (i.e. "0.6.50")java.lang.Exception
java.lang.String getTranslatedValue(java.lang.String metaFormat, java.lang.String field, java.lang.String value) throws java.lang.Exception
field
- metadata FIELD encoded ID (i.e. "gr") or metadata
NAME (i.e. "gradeRange")value
- metadata VALUE encoded ID (i.e. "04") or metadata
NAME (i.e. "DLESE:Intermediate elementary")metaFormat
- metadata format (i.e. "adn")java.lang.Exception
java.lang.String getUiValueLabel(java.lang.String metaFormat, java.lang.String metaVersion, java.lang.String audience, java.lang.String language, java.lang.String field, java.lang.String value, boolean abbrev)
metaFormat
- metadata format (i.e. "adn")metaVersion
- metadata version (i.e. "0.6.50")field
- metadata FIELD encoded ID (i.e. "gr") or metadata NAME
(i.e. "gradeRange")value
- metadata VALUE encoded ID (i.e. "04") or metadata NAME
(i.e. "DLESE:Intermediate elementary")abbrev
- get the abbreviated version of the label?audience
- UI audience, i.e. "community" or "cataloger"language
- UI language, i.e. "en-us"java.lang.String getUiValueLabel(java.lang.String metaFormat, java.lang.String metaVersion, java.lang.String audience, java.lang.String language, java.lang.String field, java.lang.String value)
metaFormat
- metadata format (i.e. "adn")metaVersion
- metadata version (i.e. "0.6.50")field
- metadata FIELD encoded ID (i.e. "gr") or metadata NAME
(i.e. "gradeRange")value
- metadata VALUE encoded ID (i.e. "04") or metadata NAME
(i.e. "DLESE:Intermediate elementary")audience
- UI audience, i.e. "community" or "cataloger"language
- UI language, i.e. "en-us"java.lang.String getUiValueLabel(java.lang.String metaFormat, java.lang.String audience, java.lang.String language, java.lang.String field, java.lang.String value, boolean abbrev)
metaFormat
- metadata format (i.e. "adn")field
- metadata FIELD encoded ID (i.e. "gr") or metadata NAME
(i.e. "gradeRange")value
- metadata VALUE encoded ID (i.e. "04") or metadata NAME
(i.e. "DLESE:Intermediate elementary")audience
- UI audience, i.e. "community" or "cataloger"language
- UI language, i.e. "en-us"abbrev
- get the abbreviated version of the label?java.lang.String getUiValueLabel(java.lang.String audience, java.lang.String language, java.lang.String field, java.lang.String value, boolean abbrev)
audience
- language
- field
- value
- abbrev
- java.lang.String getUiFieldLabel(java.lang.String metaFormat, java.lang.String metaVersion, java.lang.String audience, java.lang.String language, java.lang.String field, boolean abbrev)
metaFormat
- metadata format (i.e. "adn")metaVersion
- metadata version (i.e. "0.6.50")abbrev
- get the abbreviated version of the label?audience
- UI audience, i.e. "community" or "cataloger"language
- UI language, i.e. "en-us"field
- metadata FIELD encoded ID (i.e. "gr") or metadata NAME
(i.e. "gradeRange")java.lang.String getUiFieldLabel(java.lang.String metaFormat, java.lang.String metaVersion, java.lang.String audience, java.lang.String language, java.lang.String field)
metaFormat
- metadata format (i.e. "adn")metaVersion
- metadata version (i.e. "0.6.50")audience
- UI audience, i.e. "community" or "cataloger"language
- UI language, i.e. "en-us"field
- metadata FIELD encoded ID (i.e. "gr") or metadata NAME
(i.e. "gradeRange")java.lang.String getUiFieldLabel(java.lang.String metaFormat, java.lang.String audience, java.lang.String language, java.lang.String field, boolean abbrev)
metaFormat
- metadata format (i.e. "adn")field
- metadata FIELD encoded ID (i.e. "gr") or metadata NAME
(i.e. "gradeRange")audience
- UI audience, i.e. "community" or "cataloger"language
- UI language, i.e. "en-us"abbrev
- get the abbreviated version of the label?java.lang.String getUiFieldLabel(java.lang.String audience, java.lang.String language, java.lang.String field, boolean abbrev)
audience
- language
- field
- abbrev
- java.lang.String getUiValueDisplay(java.lang.String metaFormat, java.lang.String metaVersion, java.lang.String audience, java.lang.String language, java.lang.String field, java.lang.String value)
metaFormat
- metadata format (i.e. "adn")metaVersion
- metadata version (i.e. "0.6.50")field
- metadata FIELD encoded ID (i.e. "gr") or metadata NAME
(i.e. "gradeRange")value
- metadata VALUE encoded ID (i.e. "04") or metadata NAME
(i.e. "DLESE:Intermediate elementary")audience
- UI audience, i.e. "community" or "cataloger"language
- UI language, i.e. "en-us"java.lang.String getUiValueDisplay(java.lang.String metaFormat, java.lang.String audience, java.lang.String language, java.lang.String field, java.lang.String value)
metaFormat
- metadata format (i.e. "adn")field
- metadata FIELD encoded ID (i.e. "gr") or metadata NAME
(i.e. "gradeRange")value
- metadata VALUE encoded ID (i.e. "04") or metadata NAME
(i.e. "DLESE:Intermediate elementary")audience
- UI audience, i.e. "community" or "cataloger"language
- UI language, i.e. "en-us"java.lang.String getOPML(java.lang.String metaFormat, java.lang.String metaVersion, java.lang.String audience, java.lang.String language, java.lang.String field, boolean includeXmlDeclaration)
metaVersion
- metadata version (i.e. "0.6.50")audience
- UI audience, i.e. "community" or "cataloger"language
- UI language, i.e. "en-us"field
- metadata FIELD encoded ID (i.e. "gr") or
metadata NAME (i.e. "gradeRange")metaFormat
- metadata format (i.e. "adn")includeXmlDeclaration
- should the <?xml...?> declaration tag
be included with the output?java.lang.String getOPML(java.lang.String metaFormat, java.lang.String audience, java.lang.String language, java.lang.String field, boolean includeXmlDeclaration)
audience
- UI audience, i.e. "community" or "cataloger"language
- UI language, i.e. "en-us"field
- metadata FIELD encoded ID (i.e. "gr") or
metadata NAME (i.e. "gradeRange")metaFormat
- metadata format (i.e. "adn")includeXmlDeclaration
- should the <?xml...?> declaration tag
be included with the output?java.lang.String getOPML(java.lang.String metaFormat, java.lang.String metaVersion, java.lang.String audience, java.lang.String language, java.lang.String field)
metaVersion
- metadata version (i.e. "0.6.50")audience
- UI audience, i.e. "community" or "cataloger"language
- UI language, i.e. "en-us"field
- metadata FIELD encoded ID (i.e. "gr") or metadata NAME
(i.e. "gradeRange")metaFormat
- metadata format (i.e. "adn")java.lang.String getOPML(java.lang.String metaFormat, java.lang.String audience, java.lang.String language, java.lang.String field)
audience
- UI audience, i.e. "community" or "cataloger"language
- UI language, i.e. "en-us"field
- metadata FIELD encoded ID (i.e. "gr") or metadata NAME
(i.e. "gradeRange")metaFormat
- metadata format (i.e. "adn")java.lang.String getMetaNameOfId(java.lang.String system, java.lang.String fieldId, java.lang.String valueId)
system
- Vocabulary framework/version/audience/language, i.e.
"adn/0.6.50/community/en-us" in v2.x (or "dds.descr.en-us" in v1.x)fieldId
- Encoded vocabulary field IdvalueId
- Encoded vocabulary value IdMetadataVocab#getTranslatedField(String,String,String,String,String)
,
MetadataVocab#getTranslatedValue(String,String,String,String,String,String)
java.lang.String getFieldValueSystemId(java.lang.String field, java.lang.String value) throws java.lang.Exception
field
- Metadata field namevalue
- Metadata value namejava.lang.Exception
java.lang.String getFieldSystemId(java.lang.String field) throws java.lang.Exception
field
- Metadata field namejava.lang.Exception
java.lang.String getUiLabelOf(java.lang.String system, java.lang.String metadataField, java.lang.String metadataValue, boolean abbreviated)
system
- Vocabulary system/interface/language trio, i.e.
"adn/0.6.50/community/en-us"metadataField
- Metadata field namemetadataValue
- Metadata value nameabbreviated
- Return the abbreviated form of the UI label?java.lang.String getUiLabelOf(java.lang.String system, java.lang.String metadataField, java.lang.String metadataValue)
system
- Vocabulary system/interface/language trio, i.e.
"adn/0.6.50/community/en-us"metadataField
- Metadata field namemetadataValue
- Metadata value namejava.lang.String getUiLabelOfFieldId(java.lang.String fieldId)
fieldId
- Description of the Parameterjava.lang.String getUiLabelOfSystemIds(java.lang.String system, java.lang.String systemFieldId, java.lang.String systemValueId, boolean abbreviated)
system
- Vocabulary system/interface/language trio, i.e.
"dds.default.en-us"systemFieldId
- Encoded field IdsystemValueId
- Encoded value Idabbreviated
- Return the abbreviated form of the UI label?java.lang.String getUiLabelOfSystemIds(java.lang.String system, java.lang.String systemFieldId, java.lang.String systemValueId)
system
- Vocabulary system/interface/language trio, i.e.
"dds.default.en-us"systemFieldId
- Encoded field IdsystemValueId
- Encoded value Idjava.lang.String getMetaFormatOfField(java.lang.String field)
field
- java.lang.String getTopLevelAbbrevLabelOf(java.lang.String system, java.lang.String metadataField, java.lang.String systemFieldId, java.lang.String systemValueId)
system
- metadataField
- systemFieldId
- systemValueId
- java.util.ArrayList getMessages()
void reportMessage(java.lang.String msg)
msg
- void reportError(java.lang.String err)
err
-