|
JADE v6.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.dautelle.xml.CharData
This class represents the text that is not markup and constitutes the character data of a XML document.
During parsing, instances of this class are generated for character data containing at least one non-whitespace character.
Constructor Summary | |
CharData(java.lang.String text)
Creates a CharData instance with the specified text. |
Method Summary | |
java.lang.String |
toString()
Returns the text of this CharData . |
void |
toXml(XmlElement xml)
Sets the attributes and content of the XML element corresponding to this object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public CharData(java.lang.String text)
CharData
instance with the specified text.
text
- the text of this CharData
.Method Detail |
public java.lang.String toString()
CharData
.
CharData
.public void toXml(XmlElement xml)
Representable
toXml
in interface Representable
xml
- the XML element to set according to this object's desired XML
representation.
|
JADE v6.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |