gov.nasa.worldwind.applications.gio.ebrim
Class ClassificationNodeParser
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.ClassificationNodeParser
- All Implemented Interfaces:
- ClassificationNode, Identifiable, RegistryObject, Iterable<ClassificationNode>
public class ClassificationNodeParser
- extends RegistryObjectParser
- implements ClassificationNode
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
ClassificationNodeParser
public ClassificationNodeParser(String elementName,
Attributes attributes)
addChild
public void addChild(ClassificationNode child)
- Specified by:
addChild
in interface ClassificationNode
addChild
public void addChild(int index,
ClassificationNode child)
- Specified by:
addChild
in interface ClassificationNode
addChildren
public void addChildren(Collection<? extends ClassificationNode> c)
- Specified by:
addChildren
in interface ClassificationNode
clearChildren
public void clearChildren()
- Specified by:
clearChildren
in interface ClassificationNode
doStartElement
protected void doStartElement(String name,
Attributes attributes)
throws Exception
- Overrides:
doStartElement
in class RegistryObjectParser
- Throws:
Exception
getChild
public ClassificationNode getChild(int index)
- Specified by:
getChild
in interface ClassificationNode
getChildCount
public int getChildCount()
- Specified by:
getChildCount
in interface ClassificationNode
getCode
public String getCode()
- Specified by:
getCode
in interface ClassificationNode
getIndex
public int getIndex(ClassificationNode child)
- Specified by:
getIndex
in interface ClassificationNode
getParent
public String getParent()
- Specified by:
getParent
in interface ClassificationNode
getPath
public String getPath()
- Specified by:
getPath
in interface ClassificationNode
iterator
public Iterator<ClassificationNode> iterator()
- Specified by:
iterator
in interface Iterable<ClassificationNode>
removeChild
public void removeChild(int index)
- Specified by:
removeChild
in interface ClassificationNode
setChild
public void setChild(int index,
ClassificationNode child)
- Specified by:
setChild
in interface ClassificationNode
setCode
public void setCode(String code)
- Specified by:
setCode
in interface ClassificationNode
setParent
public void setParent(String parent)
- Specified by:
setParent
in interface ClassificationNode
setPath
public void setPath(String path)
- Specified by:
setPath
in interface ClassificationNode