public final class ProcessingInstruction extends Node
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
data
PI data.
|
private java.lang.String |
target
PI target.
|
| Constructor and Description |
|---|
ProcessingInstruction(org.xml.sax.Locator locator,
java.lang.String target,
java.lang.String data)
Constructor.
|
| Modifier and Type | Method and 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.
|
detach, getAttributes, getColumnNumber, getFirstChild, getLineNumber, getLocalName, getName, getNextSibling, getParentNode, getPrefixMappings, getPreviousSibling, getPublicId, getPublicIdentifier, getQName, getSystemId, getSystemIdentifier, getUri, revisit, setNextSibling, setParentNodeprivate final java.lang.String target
private final java.lang.String data
public ProcessingInstruction(org.xml.sax.Locator locator,
java.lang.String target,
java.lang.String data)
locator - the locatortarget - PI targetdata - PI datavoid visit(TreeParser treeParser) throws org.xml.sax.SAXException
Nodevisit in class NodetreeParser - the visitororg.xml.sax.SAXException - if stuff goes wrongNode.visit(nu.validator.saxtree.TreeParser)public NodeType getNodeType()
NodegetNodeType in class NodeNode.getNodeType()public java.lang.String getData()