|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.xpresso.xml.XmlContent
org.xpresso.xml.CDATA
public class CDATA
The CDATA class is used to insert a CDATA block in the XML document.
This code is under the LGPL v3 licence.
Field Summary |
---|
Fields inherited from class org.xpresso.xml.XmlContent |
---|
content |
Constructor Summary | |
---|---|
protected |
CDATA(java.lang.String text)
Constructs a CDATA block with the given String. |
Method Summary | |
---|---|
static boolean |
isValid(java.lang.String content)
Check if the content given in parameter is valid to be used in a CDATA block. |
Methods inherited from class org.xpresso.xml.XmlContent |
---|
getText |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected CDATA(java.lang.String text) throws IllegalContentException
text
- The content of the block
IllegalContentException
- Thrown if the given String contains the sequence "]]>"Method Detail |
---|
public static boolean isValid(java.lang.String content)
content
- The content to be checked
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |