org.activemath.omdocjdom
Class OJText
java.lang.Object
org.jdom.Content
org.jdom.Text
org.activemath.omdocjdom.OJText
- All Implemented Interfaces:
- Serializable, Cloneable, Infoable, OJNode
public class OJText
- extends org.jdom.Text
- implements OJNode
This subclass of Text is an almost trivial extension.
It adds support for the Infoable slot.
TODO: setType with type constants,
Possibly provide an enumeration type ?
- Version:
- See Also:
- Serialized Form
| Fields inherited from class org.jdom.Text |
value |
| Fields inherited from class org.jdom.Content |
parent |
|
Constructor Summary |
protected |
OJText()
Default constructor for subclassing... incomplete. |
|
OJText(String text)
Standard constructor. |
| Methods inherited from class org.jdom.Text |
append, append, clone, getText, getTextNormalize, getTextTrim, getValue, normalizeString, setText |
| Methods inherited from class org.jdom.Content |
detach, equals, getDocument, getParent, getParentElement, hashCode, setParent |
CVS_ID
public static final String CVS_ID
- See Also:
- Constant Field Values
OJText
protected OJText()
- Default constructor for subclassing... incomplete.
OJText
public OJText(String text)
- Standard constructor.
toString
public String toString()
- Returns a representation of of the text between "<" and ">".
Is expensive and should only be used for debugging.
- Overrides:
toString in class org.jdom.Text
setInfo
public void setInfo(Object info)
- Specified by:
setInfo in interface Infoable
getInfo
public Object getInfo()
- Specified by:
getInfo in interface Infoable