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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ELEMENT_NAME
public static final String ELEMENT_NAME
- See Also:
- Constant Field Values
IdentifiableParser
public IdentifiableParser(String elementName,
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(Collection<? extends Slot> c)
- Specified by:
addSlots
in interface Identifiable
clearSlots
public void clearSlots()
- Specified by:
clearSlots
in interface Identifiable
doStartElement
protected void doStartElement(String name,
Attributes attributes)
throws Exception
- Overrides:
doStartElement
in class ElementParser
- Throws:
Exception
getHome
public String getHome()
- Specified by:
getHome
in interface Identifiable
getId
public 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 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(String home)
- Specified by:
setHome
in interface Identifiable
setId
public void setId(String id)
- Specified by:
setId
in interface Identifiable
setSlot
public void setSlot(int index,
Slot s)
- Specified by:
setSlot
in interface Identifiable