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$
- Author:
- hsivonen
-
-
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.-
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
-
-
-
-
Method Detail
-
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.
-
-