Package nu.validator.saxtree
Class CDATA
- java.lang.Object
-
- nu.validator.saxtree.Node
-
- nu.validator.saxtree.ParentNode
-
- nu.validator.saxtree.CDATA
-
- All Implemented Interfaces:
org.xml.sax.Locator
public final class CDATA extends ParentNode
A CDATA section.- Version:
- $Id$
-
-
Field Summary
-
Fields inherited from class nu.validator.saxtree.ParentNode
endLocator
-
-
Constructor Summary
Constructors Constructor Description CDATA(org.xml.sax.Locator locator)
The constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NodeType
getNodeType()
Return the node type.(package private) void
revisit(TreeParser treeParser)
Revisit the node.(package private) void
visit(TreeParser treeParser)
Visit the node.-
Methods inherited from class nu.validator.saxtree.ParentNode
appendChild, appendChildren, copyEndLocator, getFirstChild, getLastChild, insertBefore, insertBetween, removeChild, setEndLocator
-
Methods inherited from class nu.validator.saxtree.Node
detach, getAttributes, getColumnNumber, getData, getLineNumber, getLocalName, getName, getNextSibling, getParentNode, getPrefixMappings, getPreviousSibling, getPublicId, getPublicIdentifier, getQName, getSystemId, getSystemIdentifier, getTarget, getUri, setNextSibling, setParentNode
-
-
-
-
Method Detail
-
visit
void visit(TreeParser treeParser) throws org.xml.sax.SAXException
Description copied from class:Node
Visit the node.- Specified by:
visit
in classNode
- Parameters:
treeParser
- the visitor- Throws:
org.xml.sax.SAXException
- if stuff goes wrong- See Also:
Node.visit(nu.validator.saxtree.TreeParser)
-
revisit
void revisit(TreeParser treeParser) throws org.xml.sax.SAXException
Description copied from class:Node
Revisit the node.- Overrides:
revisit
in classNode
- Parameters:
treeParser
- the visitor- Throws:
org.xml.sax.SAXException
- if things go wrong- See Also:
Node.revisit(nu.validator.saxtree.TreeParser)
-
getNodeType
public NodeType getNodeType()
Description copied from class:Node
Return the node type.- Specified by:
getNodeType
in classNode
- Returns:
- the node type
- See Also:
Node.getNodeType()
-
-