gov.nasa.worldwind.applications.gio.ebrim
Class ClassificationSchemeParser
java.lang.Object
gov.nasa.worldwind.applications.gio.xml.ElementParser
gov.nasa.worldwind.applications.gio.ebrim.IdentifiableParser
gov.nasa.worldwind.applications.gio.ebrim.RegistryObjectParser
gov.nasa.worldwind.applications.gio.ebrim.ClassificationSchemeParser
- All Implemented Interfaces:
- ClassificationScheme, Identifiable, RegistryObject, Iterable<ClassificationNode>
public class ClassificationSchemeParser
- extends RegistryObjectParser
- implements ClassificationScheme
Methods inherited from class gov.nasa.worldwind.applications.gio.ebrim.RegistryObjectParser |
addClassification, addClassification, addClassifications, addExternalIdentifier, addExternalIdentifier, addExternalIdentifiers, clearClassifications, clearExternalIdentifiers, getClassification, getClassificationCount, getClassificationIterator, getDescription, getExternalIdentifier, getExternalIdentifierCount, getExternalIdentifierIterator, getIndex, getIndex, getLid, getName, getObjectType, getStatus, getVersionInfo, removeClassification, removeExternalIdentifier, setClassification, setDescription, setExternalIdentifier, setLid, setName, setObjectType, setStatus, setVersionInfo |
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.RegistryObject |
addClassification, addClassification, addClassifications, addExternalIdentifier, addExternalIdentifier, addExternalIdentifiers, clearClassifications, clearExternalIdentifiers, getClassification, getClassificationCount, getClassificationIterator, getDescription, getExternalIdentifier, getExternalIdentifierCount, getExternalIdentifierIterator, getIndex, getIndex, getLid, getName, getObjectType, getStatus, getVersionInfo, removeClassification, removeExternalIdentifier, setClassification, setDescription, setExternalIdentifier, setLid, setName, setObjectType, setStatus, setVersionInfo |
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
ClassificationSchemeParser
public ClassificationSchemeParser(String elementName,
Attributes attributes)
addClassificationNode
public void addClassificationNode(ClassificationNode node)
- Specified by:
addClassificationNode
in interface ClassificationScheme
addClassificationNode
public void addClassificationNode(int index,
ClassificationNode node)
- Specified by:
addClassificationNode
in interface ClassificationScheme
addClassificationNodes
public void addClassificationNodes(Collection<? extends ClassificationNode> c)
- Specified by:
addClassificationNodes
in interface ClassificationScheme
clearClassificationNodes
public void clearClassificationNodes()
- Specified by:
clearClassificationNodes
in interface ClassificationScheme
doStartElement
protected void doStartElement(String name,
Attributes attributes)
throws Exception
- Overrides:
doStartElement
in class RegistryObjectParser
- Throws:
Exception
getClassificationNode
public ClassificationNode getClassificationNode(int index)
- Specified by:
getClassificationNode
in interface ClassificationScheme
getClassificationNodeCount
public int getClassificationNodeCount()
- Specified by:
getClassificationNodeCount
in interface ClassificationScheme
getIndex
public int getIndex(ClassificationNode node)
- Specified by:
getIndex
in interface ClassificationScheme
getNodeType
public String getNodeType()
- Specified by:
getNodeType
in interface ClassificationScheme
isInternal
public boolean isInternal()
- Specified by:
isInternal
in interface ClassificationScheme
iterator
public Iterator<ClassificationNode> iterator()
- Specified by:
iterator
in interface Iterable<ClassificationNode>
removeClassificationNode
public void removeClassificationNode(int index)
- Specified by:
removeClassificationNode
in interface ClassificationScheme
setClassificationNode
public void setClassificationNode(int index,
ClassificationNode node)
- Specified by:
setClassificationNode
in interface ClassificationScheme
setInternal
public void setInternal(boolean internal)
- Specified by:
setInternal
in interface ClassificationScheme
setNodeType
public void setNodeType(String nodeType)
- Specified by:
setNodeType
in interface ClassificationScheme