Package gov.nasa.pds.label.jaxb
Class XMLLabelContext
- java.lang.Object
- 
- gov.nasa.pds.label.jaxb.XMLLabelContext
 
- 
 public class XMLLabelContext extends java.lang.ObjectClass to hold context information from a PDS4 product label.- Author:
- mcayanan
 
- 
- 
Constructor SummaryConstructors Constructor Description XMLLabelContext()Constructor.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddXmlModel(java.lang.String model)Adds the xml-model value to the list already captured.PDSNamespacePrefixMappergetNamespaces()java.lang.StringgetSchemaLocation()java.lang.StringgetXmlModelPIs()java.util.List<java.lang.String>getXmlModels()voidsetNamespaces(PDSNamespacePrefixMapper namespaces)Sets the namespaces.voidsetSchemaLocation(java.lang.String location)Sets the schemalocation.
 
- 
- 
- 
Method Detail- 
getNamespacespublic PDSNamespacePrefixMapper getNamespaces() - Returns:
- get the namespaces.
 
 - 
setNamespacespublic void setNamespaces(PDSNamespacePrefixMapper namespaces) Sets the namespaces.- Parameters:
- namespaces- a mapping of namespace prefixes to URIs.
 
 - 
getSchemaLocationpublic java.lang.String getSchemaLocation() - Returns:
- get the SchemaLocation that was set in the label.
 
 - 
setSchemaLocationpublic void setSchemaLocation(java.lang.String location) Sets the schemalocation.- Parameters:
- location- What was set in the SchemaLocation attribute.
 
 - 
getXmlModelspublic java.util.List<java.lang.String> getXmlModels() - Returns:
- Returns the values set in the xml-models processing instructions.
 
 - 
getXmlModelPIspublic java.lang.String getXmlModelPIs() - Returns:
- Returns string representations of the xml-models processing instructions set in the label.
 
 - 
addXmlModelpublic void addXmlModel(java.lang.String model) Adds the xml-model value to the list already captured.- Parameters:
- model- The xml-model value.
 
 
- 
 
-