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, java.lang.Iterable<Value>
public class ValueListParser
- extends ElementParser
- implements ValueList
|
Constructor Summary |
ValueListParser(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
ValueListParser
public ValueListParser(java.lang.String elementName,
org.xml.sax.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(java.util.Collection<? extends Value> c)
- Specified by:
addValues in interface ValueList
clearValues
public void clearValues()
- Specified by:
clearValues in interface ValueList
doStartElement
protected void doStartElement(java.lang.String name,
org.xml.sax.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 java.util.Iterator<Value> iterator()
- Specified by:
iterator in interface java.lang.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