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 NodeTypegetNodeType()Return the node type.(package private) voidrevisit(TreeParser treeParser)Revisit the node.(package private) voidvisit(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:NodeVisit the node.- Specified by:
visitin 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:NodeRevisit the node.- Overrides:
revisitin 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:NodeReturn the node type.- Specified by:
getNodeTypein classNode- Returns:
- the node type
- See Also:
Node.getNodeType()
-
-