nu.validator.saxtree
Class ProcessingInstruction
java.lang.Object
nu.validator.saxtree.Node
nu.validator.saxtree.ProcessingInstruction
- All Implemented Interfaces:
- Locator
public final class ProcessingInstruction
- extends Node
Methods inherited from class nu.validator.saxtree.Node |
detach, getAttributes, getColumnNumber, getFirstChild, getLineNumber, getLocalName, getName, getNextSibling, getParentNode, getPrefixMappings, getPublicId, getPublicIdentifier, getQName, getSystemId, getSystemIdentifier, getUri, revisit, setNextSibling, setParentNode |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
target
private final String target
data
private final String data
ProcessingInstruction
public ProcessingInstruction(Locator locator,
String target,
String data)
visit
void visit(TreeParser treeParser)
throws SAXException
- Specified by:
visit
in class Node
- Throws:
SAXException
getNodeType
public NodeType getNodeType()
- Specified by:
getNodeType
in class Node
getData
public String getData()
- Returns the data.
- Overrides:
getData
in class Node
- Returns:
- the data
getTarget
public String getTarget()
- Returns the target.
- Overrides:
getTarget
in class Node
- Returns:
- the target