gov.nasa.worldwind.applications.gio.ebrim
Class ValueListParser
java.lang.Object
gov.nasa.worldwind.applications.gio.xml.ElementParser
gov.nasa.worldwind.applications.gio.ebrim.ValueListParser
- All Implemented Interfaces:
- ValueList, Iterable<Value>
public class ValueListParser
- extends ElementParser
- implements ValueList
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
ValueListParser
public ValueListParser(String elementName,
Attributes attributes)
addValue
public void addValue(int index,
Value v)
- Specified by:
addValue
in interface ValueList
addValue
public void addValue(Value v)
- Specified by:
addValue
in interface ValueList
addValues
public void addValues(Collection<? extends Value> c)
- Specified by:
addValues
in interface ValueList
clearValues
public void clearValues()
- Specified by:
clearValues
in interface ValueList
doStartElement
protected void doStartElement(String name,
Attributes attributes)
- Overrides:
doStartElement
in class ElementParser
getIndex
public int getIndex(Value v)
- Specified by:
getIndex
in interface ValueList
getValue
public Value getValue(int index)
- Specified by:
getValue
in interface ValueList
getValueCount
public int getValueCount()
- Specified by:
getValueCount
in interface ValueList
iterator
public Iterator<Value> iterator()
- Specified by:
iterator
in interface Iterable<Value>
removeValue
public void removeValue(int index)
- Specified by:
removeValue
in interface ValueList
setValue
public void setValue(int index,
Value v)
- Specified by:
setValue
in interface ValueList