net.sourceforge.spedit.core
Class XMLText

java.lang.Object
  |
  +--org.jdom.Text
        |
        +--net.sourceforge.spedit.core.XMLText
All Implemented Interfaces:
Cloneable, Serializable

public class XMLText
extends org.jdom.Text

The XMLText is simply an extension to the JDOM Text that has an emebedded wrapper which enable it to take the form of a Swing document model element.

See Also:
Serialized Form

Field Summary
protected  XMLTextWrapper wrapper
           
 
Fields inherited from class org.jdom.Text
parent, value
 
Constructor Summary
XMLText(String s)
           
XMLText(String s, XMLElement parent)
           
 
Method Summary
 XMLTextWrapper getWrapper()
           
 void setParent(XMLElement parent)
           
 void setValue(String s)
           
 void strip()
          Strips leading and trailing spaces.
 String toString()
           
 
Methods inherited from class org.jdom.Text
append, clone, equals, getDocument, getParent, getValue, hashCode
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

wrapper

protected XMLTextWrapper wrapper
Constructor Detail

XMLText

public XMLText(String s)

XMLText

public XMLText(String s,
               XMLElement parent)
Method Detail

getWrapper

public XMLTextWrapper getWrapper()

setValue

public void setValue(String s)
Overrides:
setValue in class org.jdom.Text

setParent

public void setParent(XMLElement parent)

strip

public void strip()

Strips leading and trailing spaces.


toString

public String toString()
Overrides:
toString in class org.jdom.Text