| |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
CDATA defines behavior for an XML
CDATA section, modeled in Java. Methods
allow the user to obtain the text of the CDATA.
| Constructor Summary | |
CDATA(String text)This creates the CDATA with the supplied text. | |
| Method Summary | |
Object | clone()This will return a clone of this CDATA. |
final boolean | equals(Object ob)This tests for equality of this CDATA to the supplied
Object. |
final String | getSerializedForm()This will return the CDATA in XML format,
usable in an XML document. |
String | getText()This returns the textual data within the CDATA. |
final int | hashCode()This returns the hash code for this CDATA. |
String | toString()This returns a String representation of the
CDATA, suitable for debugging. |
| Constructor Detail |
public CDATA(String text)
This creates the CDATA with the supplied text.
String content of CDATA.| Method Detail |
public Object clone()
This will return a clone of this CDATA.
Object - clone of this CDATA.public final boolean equals(Object ob)
This tests for equality of this CDATA to the supplied
Object.
Object to compare to.boolean - whether the Comment is
equal to the supplied Object.public final String getSerializedForm()
This will return the CDATA in XML format,
usable in an XML document.
String - the serialized form of the
CDATA.public String getText()
This returns the textual data within the
CDATA.
String - text of CDATA.public final int hashCode()
This returns the hash code for this CDATA.
int - hash code.public String toString()
This returns a String representation of the
CDATA, suitable for debugging. If the XML
representation of the CDATA is desired,
getSerializedForm() should be used.
String - information about the
Attribute| Association Links |
CDATA
| |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||