|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.saxon.om.AbstractNode
net.sf.saxon.tree.NodeImpl
net.sf.saxon.tree.ProcInstImpl
class ProcInstImpl
ProcInstImpl is an implementation of ProcInstInfo used by the Propagator to construct its trees.
| Field Summary | |
|---|---|
(package private) String |
content
|
(package private) int |
lineNumber
|
(package private) int |
nameCode
|
(package private) String |
systemId
|
| Fields inherited from class net.sf.saxon.tree.NodeImpl |
|---|
index, parent |
| Fields inherited from class net.sf.saxon.om.AbstractNode |
|---|
NODE_LETTER |
| Fields inherited from interface net.sf.saxon.om.NodeInfo |
|---|
ALL_NAMESPACES, LOCAL_NAMESPACES, NO_NAMESPACES |
| Constructor Summary | |
|---|---|
ProcInstImpl(int nameCode,
String content)
|
|
| Method Summary | |
|---|---|
void |
copy(Receiver out,
int whichNamespaces)
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()
Get the kind of node. |
String |
getStringValue()
Get the string value of the node |
String |
getSystemId()
Get the system ID for the entity containing this node. |
String |
getTarget()
The target of this processing instruction. |
void |
setData(String data)
Set the content of this PI. |
void |
setLocation(String uri,
int lineNumber)
Set the system ID and line number |
| Methods inherited from class net.sf.saxon.tree.NodeImpl |
|---|
compareOrder, copy, generateId, getAttributeValue, getBaseURI, getDisplayName, getDocumentElement, getDocumentRoot, getFingerprint, getFirstChild, getLastChild, getLocalPart, getNamePool, getNextInDocument, getNextSibling, getOriginatingNode, getParent, getPrefix, getPreviousInDocument, getPreviousSibling, getRoot, getSequenceNumber, getURI, hasAttributes, hasChildNodes, isSameNode, iterateAxis, iterateAxis, outputNamespaceNodes, setSystemId |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.w3c.dom.Node |
|---|
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData |
| Field Detail |
|---|
String content
int nameCode
String systemId
int lineNumber
| Constructor Detail |
|---|
public ProcInstImpl(int nameCode,
String content)
| Method Detail |
|---|
public int getNameCode()
getNameCode in interface NodeInfogetNameCode in class NodeImplallocate,
getFingerprintpublic String getStringValue()
AbstractNode
getStringValue in interface ItemgetStringValue in interface NodeInfogetStringValue in class AbstractNodepublic final int getNodeKind()
NodeInfo
getNodeKind in interface NodeInfoType
public void setLocation(String uri,
int lineNumber)
public String getSystemId()
getSystemId in interface SourcegetSystemId in interface SourceLocatorgetSystemId in interface NodeInfogetSystemId in class NodeImplpublic int getLineNumber()
getLineNumber in interface SourceLocatorgetLineNumber in interface NodeInfogetLineNumber in class NodeImpl
public void copy(Receiver out,
int whichNamespaces)
throws TransformerException
copy in class NodeImplTransformerExceptionpublic String getTarget()
getTarget in interface ProcessingInstructionpublic String getData()
?> .
getData in interface ProcessingInstructiongetData in class AbstractNode
public void setData(String data)
throws DOMException
setData in interface ProcessingInstructionsetData in class AbstractNodeDOMException - NO_MODIFICATION_ALLOWED_ERR: Raised when the node is readonly.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||