gov.nasa.worldwind.applications.gio.ebrim
Class IdentifiableParser
java.lang.Object
gov.nasa.worldwind.applications.gio.xml.ElementParser
gov.nasa.worldwind.applications.gio.ebrim.IdentifiableParser
- All Implemented Interfaces:
- Identifiable
- Direct Known Subclasses:
- RegistryObjectParser
public class IdentifiableParser
- extends ElementParser
- implements Identifiable
|
Constructor Summary |
IdentifiableParser(java.lang.String elementName,
org.xml.sax.Attributes attributes)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ELEMENT_NAME
public static final java.lang.String ELEMENT_NAME
- See Also:
- Constant Field Values
IdentifiableParser
public IdentifiableParser(java.lang.String elementName,
org.xml.sax.Attributes attributes)
addSlot
public void addSlot(int index,
Slot s)
- Specified by:
addSlot in interface Identifiable
addSlot
public void addSlot(Slot s)
- Specified by:
addSlot in interface Identifiable
addSlots
public void addSlots(java.util.Collection<? extends Slot> c)
- Specified by:
addSlots in interface Identifiable
clearSlots
public void clearSlots()
- Specified by:
clearSlots in interface Identifiable
doStartElement
protected void doStartElement(java.lang.String name,
org.xml.sax.Attributes attributes)
throws java.lang.Exception
- Overrides:
doStartElement in class ElementParser
- Throws:
java.lang.Exception
getHome
public java.lang.String getHome()
- Specified by:
getHome in interface Identifiable
getId
public java.lang.String getId()
- Specified by:
getId in interface Identifiable
getIndex
public int getIndex(Slot s)
- Specified by:
getIndex in interface Identifiable
getSlot
public Slot getSlot(int index)
- Specified by:
getSlot in interface Identifiable
getSlotCount
public int getSlotCount()
- Specified by:
getSlotCount in interface Identifiable
getSlotIterator
public java.util.Iterator<Slot> getSlotIterator()
- Specified by:
getSlotIterator in interface Identifiable
removeSlot
public void removeSlot(int index)
- Specified by:
removeSlot in interface Identifiable
setHome
public void setHome(java.lang.String home)
- Specified by:
setHome in interface Identifiable
setId
public void setId(java.lang.String id)
- Specified by:
setId in interface Identifiable
setSlot
public void setSlot(int index,
Slot s)
- Specified by:
setSlot in interface Identifiable