Package nu.validator.saxtree
Class ProcessingInstruction
java.lang.Object
nu.validator.saxtree.Node
nu.validator.saxtree.ProcessingInstruction
- All Implemented Interfaces:
Locator
A processing instruction.
- Version:
- $Id$
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionProcessingInstruction
(Locator locator, String target, String data) Constructor. -
Method Summary
Modifier and TypeMethodDescriptiongetData()
Returns the data.Return the node type.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
-
Field Details
-
target
PI target. -
data
PI data.
-
-
Constructor Details
-
ProcessingInstruction
Constructor.- Parameters:
locator
- the locatortarget
- PI targetdata
- PI data
-
-
Method Details
-
visit
Description copied from class:Node
Visit the node.- Specified by:
visit
in classNode
- Parameters:
treeParser
- the visitor- Throws:
SAXException
- if stuff goes wrong- See Also:
-
getNodeType
Description copied from class:Node
Return the node type.- Specified by:
getNodeType
in classNode
- Returns:
- the node type
- See Also:
-
getData
Returns the data. -
getTarget
Returns the target.
-