net.sf.saxon.tinytree

Class TinyProcInstImpl

final class TinyProcInstImpl extends TinyNodeImpl

TProcInstImpl is an implementation of ProcInstInfo

Version: 16 July 1999

Author: Michael H. Kay

Constructor Summary
TinyProcInstImpl(TinyTree tree, int nodeNr)
Method Summary
voidcopy(Receiver out, int whichNamespaces, boolean copyAnnotations, int locationId)
Copy this node to a given outputter
StringgetBaseURI()
Get the base URI of this element node.
StringgetData()
The content of this processing instruction.
intgetNodeKind()
StringgetStringValue()
StringgetTarget()
The target of this processing instruction.

Constructor Detail

TinyProcInstImpl

public TinyProcInstImpl(TinyTree tree, int nodeNr)

Method Detail

copy

public void copy(Receiver out, int whichNamespaces, boolean copyAnnotations, int locationId)
Copy this node to a given outputter

getBaseURI

public String getBaseURI()
Get the base URI of this element node. This will be the same as the System ID unless xml:base has been used.

getData

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 ?> .

getNodeKind

public final int getNodeKind()

getStringValue

public String getStringValue()

getTarget

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.