Package nu.validator.saxtree
Class ProcessingInstruction
- java.lang.Object
-
- nu.validator.saxtree.Node
-
- nu.validator.saxtree.ProcessingInstruction
-
- All Implemented Interfaces:
org.xml.sax.Locator
public final class ProcessingInstruction extends Node
A processing instruction.- Version:
- $Id$
-
-
Constructor Summary
Constructors Constructor Description ProcessingInstruction(org.xml.sax.Locator locator, java.lang.String target, java.lang.String data)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetData()Returns the data.NodeTypegetNodeType()Return the node type.java.lang.StringgetTarget()Returns the target.(package private) voidvisit(TreeParser treeParser)Visit the node.-
Methods inherited from class nu.validator.saxtree.Node
detach, getAttributes, getColumnNumber, getFirstChild, getLineNumber, getLocalName, getName, getNextSibling, getParentNode, getPrefixMappings, getPreviousSibling, getPublicId, getPublicIdentifier, getQName, getSystemId, getSystemIdentifier, getUri, revisit, 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)
-
getNodeType
public NodeType getNodeType()
Description copied from class:NodeReturn the node type.- Specified by:
getNodeTypein classNode- Returns:
- the node type
- See Also:
Node.getNodeType()
-
getData
public java.lang.String getData()
Returns the data.
-
-