net.sf.saxon.tree
Class ProcInstImpl
class
ProcInstImpl
extends NodeImpl
ProcInstImpl is an implementation of ProcInstInfo used by the Propagator to construct
its trees.
Author: Michael H. Kay
Method Summary |
void | copy(Receiver out, int whichNamespaces, boolean copyAnnotations, int locationId)
Copy this node to a given outputter |
String | getData()
The content of this processing instruction. |
int | getLineNumber()
Get the line number of the node within its source entity |
int | getNameCode()
Get the nameCode of the node. |
int | getNodeKind() |
String | getStringValue() |
String | getSystemId()
Get the system ID for the entity containing this node. |
String | getTarget()
The target of this processing instruction. |
void | setLocation(String uri, int lineNumber)
Set the system ID and line number |
String content
int lineNumber
int nameCode
String systemId
public ProcInstImpl(int nameCode, String content)
public void copy(
Receiver out, int whichNamespaces, boolean copyAnnotations, int locationId)
Copy this node to a given outputter
public String getData()
The content of this processing instruction. This is from the first non
white space character after the target to the character immediately
preceding the ?>
.
public int getLineNumber()
Get the line number of the node within its source entity
public int getNameCode()
Get the nameCode of the node. This is used to locate the name in the NamePool
public final int getNodeKind()
public String getStringValue()
public String getSystemId()
Get the system ID for the entity containing this node.
public String getTarget()
The target of this processing instruction. XML defines this as being
the first token following the markup that begins the processing
instruction.
public void setLocation(String uri, int lineNumber)
Set the system ID and line number