nu.validator.saxtree
Class ProcessingInstruction

java.lang.Object
  extended by nu.validator.saxtree.Node
      extended by 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
ProcessingInstruction(org.xml.sax.Locator locator, java.lang.String target, java.lang.String data)
          Constructor.
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProcessingInstruction

public ProcessingInstruction(org.xml.sax.Locator locator,
                             java.lang.String target,
                             java.lang.String data)
Constructor.

Parameters:
locator - the locator
target - PI target
data - PI data
Method Detail

getNodeType

public NodeType getNodeType()
Description copied from class: Node
Return the node type.

Specified by:
getNodeType in class Node
Returns:
the node type
See Also:
Node.getNodeType()

getData

public java.lang.String getData()
Returns the data.

Overrides:
getData in class Node
Returns:
the data

getTarget

public java.lang.String getTarget()
Returns the target.

Overrides:
getTarget in class Node
Returns:
the target