|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.icl.saxon.om.AbstractNode
com.icl.saxon.tree.NodeImpl
com.icl.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 com.icl.saxon.tree.NodeImpl |
---|
emptyArray, index, parent |
Fields inherited from class com.icl.saxon.om.AbstractNode |
---|
NODE_LETTER |
Fields inherited from interface com.icl.saxon.om.NodeInfo |
---|
ATTRIBUTE, COMMENT, ELEMENT, NAMESPACE, NODE, NONE, NUMBER_OF_TYPES, PI, ROOT, TEXT |
Constructor Summary | |
---|---|
ProcInstImpl(int nameCode,
String content)
|
Method Summary | |
---|---|
void |
copy(Outputter out)
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. |
short |
getNodeType()
Return the type of node. |
String |
getStringValue()
Return 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 com.icl.saxon.tree.NodeImpl |
---|
compareOrder, generateId, getAttributes, getAttributeValue, getAttributeValue, getBaseURI, getChildNodes, getDisplayName, getDocumentElement, getDocumentRoot, getEnumeration, getFingerprint, getFirstChild, getLastChild, getLocalName, getNamePool, getNextInDocument, getNextSibling, getOriginatingNode, getParent, getPrefix, getPreviousInDocument, getPreviousSibling, getSequenceNumber, getURI, hasAttributes, hasChildNodes, isSameNodeInfo, outputNamespaceNodes, removeNode, 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, 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 NodeInfo
getNameCode
in class NodeImpl
allocate
,
getFingerprint
public String getStringValue()
NodeInfo
getStringValue
in interface NodeInfo
public final short getNodeType()
NodeInfo
getNodeType
in interface NodeInfo
getNodeType
in interface Node
public void setLocation(String uri, int lineNumber)
public String getSystemId()
getSystemId
in interface NodeInfo
getSystemId
in interface Source
getSystemId
in interface SourceLocator
getSystemId
in class NodeImpl
public int getLineNumber()
getLineNumber
in interface NodeInfo
getLineNumber
in interface SourceLocator
getLineNumber
in class NodeImpl
public void copy(Outputter out) throws TransformerException
copy
in interface NodeInfo
TransformerException
public String getTarget()
getTarget
in interface ProcessingInstruction
public String getData()
?>
.
getData
in interface ProcessingInstruction
getData
in class AbstractNode
public void setData(String data) throws DOMException
setData
in interface ProcessingInstruction
setData
in class AbstractNode
DOMException
- 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 |