gov.nasa.worldwind.applications.gio.ebrim
Class RegistryObjectParser
java.lang.Object
gov.nasa.worldwind.applications.gio.xml.ElementParser
gov.nasa.worldwind.applications.gio.ebrim.IdentifiableParser
gov.nasa.worldwind.applications.gio.ebrim.RegistryObjectParser
- All Implemented Interfaces:
- Identifiable, RegistryObject
- Direct Known Subclasses:
- AssociationParser, ClassificationNodeParser, ClassificationParser, ClassificationSchemeParser, ExternalIdentifierParser, ExternalLinkParser, ExtrinsicObjectParser, OrganizationParser, PersonParser, ServiceBindingParser, ServiceParser, SpecificationLinkParser
public class RegistryObjectParser
- extends IdentifiableParser
- implements RegistryObject
Methods inherited from class gov.nasa.worldwind.applications.gio.ebrim.IdentifiableParser |
addSlot, addSlot, addSlots, clearSlots, getHome, getId, getIndex, getSlot, getSlotCount, getSlotIterator, removeSlot, setHome, setId, setSlot |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface gov.nasa.worldwind.applications.gio.ebrim.Identifiable |
addSlot, addSlot, addSlots, clearSlots, getHome, getId, getIndex, getSlot, getSlotCount, getSlotIterator, removeSlot, setHome, setId, setSlot |
ELEMENT_NAME
public static final String ELEMENT_NAME
- See Also:
- Constant Field Values
RegistryObjectParser
public RegistryObjectParser(String elementName,
Attributes attributes)
addClassification
public void addClassification(Classification classification)
- Specified by:
addClassification
in interface RegistryObject
addClassification
public void addClassification(int index,
Classification classification)
- Specified by:
addClassification
in interface RegistryObject
addClassifications
public void addClassifications(Collection<? extends Classification> c)
- Specified by:
addClassifications
in interface RegistryObject
addExternalIdentifier
public void addExternalIdentifier(ExternalIdentifier externalIdentifier)
- Specified by:
addExternalIdentifier
in interface RegistryObject
addExternalIdentifier
public void addExternalIdentifier(int index,
ExternalIdentifier externalIdentifier)
- Specified by:
addExternalIdentifier
in interface RegistryObject
addExternalIdentifiers
public void addExternalIdentifiers(Collection<? extends ExternalIdentifier> c)
- Specified by:
addExternalIdentifiers
in interface RegistryObject
clearClassifications
public void clearClassifications()
- Specified by:
clearClassifications
in interface RegistryObject
clearExternalIdentifiers
public void clearExternalIdentifiers()
- Specified by:
clearExternalIdentifiers
in interface RegistryObject
doStartElement
protected void doStartElement(String name,
Attributes attributes)
throws Exception
- Overrides:
doStartElement
in class IdentifiableParser
- Throws:
Exception
getClassification
public Classification getClassification(int index)
- Specified by:
getClassification
in interface RegistryObject
getClassificationCount
public int getClassificationCount()
- Specified by:
getClassificationCount
in interface RegistryObject
getClassificationIterator
public Iterator<Classification> getClassificationIterator()
- Specified by:
getClassificationIterator
in interface RegistryObject
getDescription
public Description getDescription()
- Specified by:
getDescription
in interface RegistryObject
getExternalIdentifier
public ExternalIdentifier getExternalIdentifier(int index)
- Specified by:
getExternalIdentifier
in interface RegistryObject
getExternalIdentifierCount
public int getExternalIdentifierCount()
- Specified by:
getExternalIdentifierCount
in interface RegistryObject
getExternalIdentifierIterator
public Iterator<ExternalIdentifier> getExternalIdentifierIterator()
- Specified by:
getExternalIdentifierIterator
in interface RegistryObject
getIndex
public int getIndex(Classification classification)
- Specified by:
getIndex
in interface RegistryObject
getIndex
public int getIndex(ExternalIdentifier externalIdentifier)
- Specified by:
getIndex
in interface RegistryObject
getLid
public String getLid()
- Specified by:
getLid
in interface RegistryObject
getName
public Name getName()
- Specified by:
getName
in interface RegistryObject
getObjectType
public String getObjectType()
- Specified by:
getObjectType
in interface RegistryObject
getStatus
public String getStatus()
- Specified by:
getStatus
in interface RegistryObject
getVersionInfo
public VersionInfo getVersionInfo()
- Specified by:
getVersionInfo
in interface RegistryObject
removeClassification
public void removeClassification(int index)
- Specified by:
removeClassification
in interface RegistryObject
removeExternalIdentifier
public void removeExternalIdentifier(int index)
- Specified by:
removeExternalIdentifier
in interface RegistryObject
setClassification
public void setClassification(int index,
Classification classification)
- Specified by:
setClassification
in interface RegistryObject
setDescription
public void setDescription(Description description)
- Specified by:
setDescription
in interface RegistryObject
setExternalIdentifier
public void setExternalIdentifier(int index,
ExternalIdentifier externalIdentifier)
- Specified by:
setExternalIdentifier
in interface RegistryObject
setLid
public void setLid(String lid)
- Specified by:
setLid
in interface RegistryObject
setName
public void setName(Name name)
- Specified by:
setName
in interface RegistryObject
setObjectType
public void setObjectType(String objectType)
- Specified by:
setObjectType
in interface RegistryObject
setStatus
public void setStatus(String status)
- Specified by:
setStatus
in interface RegistryObject
setVersionInfo
public void setVersionInfo(VersionInfo versionInfo)
- Specified by:
setVersionInfo
in interface RegistryObject