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) 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
-
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:NodeVisit the node.- Specified by:
visitin classNode- Parameters:
treeParser- the visitor- Throws:
SAXException- if stuff goes wrong- See Also:
-
getNodeType
Description copied from class:NodeReturn the node type.- Specified by:
getNodeTypein classNode- Returns:
- the node type
- See Also:
-
getData
Returns the data. -
getTarget
Returns the target.
-