com.icl.saxon.tinytree

Class TinyProcInstImpl

final class TinyProcInstImpl extends TinyNodeImpl implements ProcessingInstruction

TProcInstImpl is an implementation of ProcInstInfo

Version: 16 July 1999

Author: Michael H. Kay

Constructor Summary
TinyProcInstImpl(TinyDocumentImpl doc, int nodeNr)
Method Summary
voidcopy(Outputter out)
Copy this node to a given outputter
StringgetData()
The content of this processing instruction.
shortgetNodeType()
StringgetStringValue()
StringgetTarget()
The target of this processing instruction.
voidsetData(String data)
Set the content of this PI.

Constructor Detail

TinyProcInstImpl

public TinyProcInstImpl(TinyDocumentImpl doc, int nodeNr)

Method Detail

copy

public void copy(Outputter out)
Copy this node to a given outputter

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

getNodeType

public final short getNodeType()

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.

setData

public void setData(String data)
Set the content of this PI. Always fails.

Throws: DOMException NO_MODIFICATION_ALLOWED_ERR: Raised when the node is readonly.