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
Fields inherited from class org.jdom.Text |
parent, value |
Methods inherited from class org.jdom.Text |
append, clone, equals, getDocument, getParent, getValue, hashCode |
wrapper
protected XMLTextWrapper wrapper
XMLText
public XMLText(String s)
XMLText
public XMLText(String s,
XMLElement parent)
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