NASA World Wind

gov.nasa.worldwind.applications.gio.xml
Class TextElement

java.lang.Object
  extended by gov.nasa.worldwind.applications.gio.xml.Element
      extended by gov.nasa.worldwind.applications.gio.xml.TextElement
Direct Known Subclasses:
ElementName, ElementSetName, Literal, LowerCorner, PropertyName, UpperCorner

public class TextElement
extends Element


Constructor Summary
TextElement(xmlns ns, String elementName)
           
TextElement(xmlns ns, String elementName, String textValue)
           
 
Method Summary
 String getValue()
           
 boolean hasContent()
           
 void setValue(String textValue)
           
protected  void writeElementContent(Writer out)
           
 
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
 

Constructor Detail

TextElement

public TextElement(xmlns ns,
                   String elementName)

TextElement

public TextElement(xmlns ns,
                   String elementName,
                   String textValue)
Method Detail

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

NASA World Wind