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.String
getData()
Returns the data.NodeType
getNodeType()
Return the node type.java.lang.String
getTarget()
Returns the target.(package private) void
visit(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: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)
-
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()
-
getData
public java.lang.String getData()
Returns the data.
-
-