|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exist.dom.NodeImpl
org.exist.dom.StoredNode
org.exist.dom.ProcessingInstructionImpl
public class ProcessingInstructionImpl
Persistent implementation of a DOM processing-instruction node.
Field Summary | |
---|---|
static int |
LENGTH_TARGET_DATA
|
Fields inherited from class org.exist.dom.StoredNode |
---|
LENGTH_SIGNATURE_LENGTH, UNKNOWN_NODE_IMPL_ADDRESS |
Constructor Summary | |
---|---|
ProcessingInstructionImpl()
|
|
ProcessingInstructionImpl(NodeId nodeId,
String target,
String data)
|
|
ProcessingInstructionImpl(String target,
String data)
|
Method Summary | |
---|---|
void |
clear()
Reset this object to its initial state. |
static StoredNode |
deserialize(byte[] data,
int start,
int len,
DocumentImpl doc,
boolean pooled)
|
String |
getBaseURI()
? @see org.w3c.dom.Node#getBaseURI() |
int |
getChildCount()
|
String |
getData()
Gets the data attribute of the ProcessingInstructionImpl object |
Node |
getFirstChild()
|
String |
getLocalName()
|
String |
getNamespaceURI()
|
String |
getNodeName()
|
String |
getTarget()
Gets the target attribute of the ProcessingInstructionImpl object |
boolean |
hasChildNodes()
|
byte[] |
serialize()
|
void |
setData(String data)
Sets the data attribute of the ProcessingInstructionImpl object |
void |
setTarget(String target)
Sets the target attribute of the ProcessingInstructionImpl object |
String |
toString()
Description of the Method |
Methods inherited from class org.exist.dom.StoredNode |
---|
accept, accept, deserialize, equals, getDocId, getDocument, getInternalAddress, getNextSibling, getNodeId, getNodeType, getOwnerDocument, getParentNode, getPath, getPath, getPreviousSibling, getQName, isDirty, release, setDirty, setInternalAddress, setNodeId, setOwnerDocument, toString |
Methods inherited from class org.exist.dom.NodeImpl |
---|
appendChild, appendChildren, cloneNode, compareDocumentPosition, getAttributes, getAttributesCount, getChildNodes, getFeature, getLastChild, getNodeValue, getPrefix, getTextContent, getUserData, hasAttributes, insertAfter, insertAfter, insertBefore, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, removeChild, replaceChild, replaceChild, setAttributes, setNodeName, setNodeValue, setPrefix, setTextContent, setUserData, supports, updateChild, updateChild |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.w3c.dom.Node |
---|
appendChild, cloneNode, compareDocumentPosition, getAttributes, getChildNodes, getFeature, getLastChild, getNextSibling, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData |
Field Detail |
---|
public static final int LENGTH_TARGET_DATA
Constructor Detail |
---|
public ProcessingInstructionImpl()
public ProcessingInstructionImpl(NodeId nodeId, String target, String data)
public ProcessingInstructionImpl(String target, String data)
Method Detail |
---|
public void clear()
StoredNode
clear
in class StoredNode
public String getTarget()
getTarget
in interface ProcessingInstruction
public void setTarget(String target)
target
- The new target valuepublic String getNodeName()
getNodeName
in interface Node
getNodeName
in class NodeImpl
Node.getNodeName()
public String getLocalName()
getLocalName
in interface Node
getLocalName
in class NodeImpl
Node.getLocalName()
public String getNamespaceURI()
getNamespaceURI
in interface Node
getNamespaceURI
in class NodeImpl
Node.getNamespaceURI()
public String getData()
getData
in interface ProcessingInstruction
public void setData(String data)
setData
in interface ProcessingInstruction
data
- The new data valuepublic String getBaseURI()
getBaseURI
in interface Node
getBaseURI
in class NodeImpl
public String toString()
toString
in class StoredNode
public byte[] serialize()
serialize
in class StoredNode
public static StoredNode deserialize(byte[] data, int start, int len, DocumentImpl doc, boolean pooled)
public boolean hasChildNodes()
hasChildNodes
in interface Node
hasChildNodes
in class NodeImpl
Node.hasChildNodes()
public int getChildCount()
getChildCount
in class NodeImpl
public Node getFirstChild()
getFirstChild
in interface Node
getFirstChild
in class NodeImpl
Node.getFirstChild()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |