nu.validator.saxtree
Class ProcessingInstruction

java.lang.Object
  extended by nu.validator.saxtree.Node
      extended by nu.validator.saxtree.ProcessingInstruction
All Implemented Interfaces:
Locator

public final class ProcessingInstruction
extends Node


Field Summary
private  String data
           
private  String target
           
 
Constructor Summary
ProcessingInstruction(Locator locator, String target, String data)
           
 
Method Summary
 String getData()
          Returns the data.
 NodeType getNodeType()
           
 String getTarget()
          Returns the target.
(package private)  void visit(TreeParser treeParser)
           
 
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
 

Field Detail

target

private final String target

data

private final String data
Constructor Detail

ProcessingInstruction

public ProcessingInstruction(Locator locator,
                             String target,
                             String data)
Method Detail

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