gov.nasa.worldwind.applications.gio.xml
Class TextElement
java.lang.Object
gov.nasa.worldwind.applications.gio.xml.Element
gov.nasa.worldwind.applications.gio.xml.TextElement
- Direct Known Subclasses:
- ElementName, ElementSetName, Literal, LowerCorner, PropertyName, UpperCorner
public class TextElement
- extends Element
Methods inherited from class gov.nasa.worldwind.applications.gio.xml.Element |
addElement, addElement, addElements, clearAttributes, clearElements, getAttribute, getElement, getElementCount, getIndex, getName, getNs, removeAttribute, removeElement, setAttribute, setElement, toXml, write, writeAttributes, writeBeginElement, writeEndElement |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TextElement
public TextElement(xmlns ns,
String elementName)
TextElement
public TextElement(xmlns ns,
String elementName,
String textValue)
getValue
public String getValue()
hasContent
public boolean hasContent()
- Overrides:
hasContent
in class Element
setValue
public void setValue(String textValue)
writeElementContent
protected void writeElementContent(Writer out)
throws IOException
- Overrides:
writeElementContent
in class Element
- Throws:
IOException