|
||||||||
| 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
Persistent implementation of a DOM processing-instruction node.
| Field Summary |
| Fields inherited from class org.exist.dom.StoredNode |
UNKNOWN_NODE_IMPL_ADDRESS |
| Fields inherited from interface org.w3c.dom.Node |
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE |
| Constructor Summary | |
ProcessingInstructionImpl()
|
|
ProcessingInstructionImpl(NodeId nodeId,
java.lang.String target,
java.lang.String data)
|
|
ProcessingInstructionImpl(java.lang.String target,
java.lang.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)
Read a node from the specified byte array. |
int |
getChildCount()
|
java.lang.String |
getData()
Gets the data attribute of the ProcessingInstructionImpl object |
org.w3c.dom.Node |
getFirstChild()
|
java.lang.String |
getNodeName()
|
java.lang.String |
getTarget()
Gets the target attribute of the ProcessingInstructionImpl object |
boolean |
hasChildNodes()
|
byte[] |
serialize()
|
void |
setData(java.lang.String data)
Sets the data attribute of the ProcessingInstructionImpl object |
void |
setTarget(java.lang.String target)
Sets the target attribute of the ProcessingInstructionImpl object |
java.lang.String |
toString()
Description of the Method |
| Methods inherited from class org.exist.dom.StoredNode |
accept, accept, deserialize, equals, getBroker, getDocId, getInternalAddress, getNextSibling, getNodeId, getNodeType, getOwnerDocument, getParentNode, getPath, getPreviousSibling, getQName, release, setInternalAddress, setNodeId, setOwnerDocument, toString |
| Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.w3c.dom.Node |
appendChild, cloneNode, getAttributes, getChildNodes, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix |
| Constructor Detail |
public ProcessingInstructionImpl()
public ProcessingInstructionImpl(NodeId nodeId,
java.lang.String target,
java.lang.String data)
public ProcessingInstructionImpl(java.lang.String target,
java.lang.String data)
| Method Detail |
public void clear()
StoredNode
clear in class StoredNodepublic java.lang.String getTarget()
getTarget in interface org.w3c.dom.ProcessingInstructionpublic void setTarget(java.lang.String target)
target - The new target valuepublic java.lang.String getNodeName()
getNodeName in interface org.w3c.dom.NodegetNodeName in class NodeImplNode.getNodeName()public java.lang.String getData()
getData in interface org.w3c.dom.ProcessingInstructionpublic void setData(java.lang.String data)
setData in interface org.w3c.dom.ProcessingInstructiondata - The new data valuepublic java.lang.String toString()
toString in class StoredNodepublic byte[] serialize()
serialize in class StoredNode
public static StoredNode deserialize(byte[] data,
int start,
int len,
DocumentImpl doc,
boolean pooled)
StoredNodeStoredNode.deserialize(byte[], int, int, DocumentImpl, boolean)
=======
This checks the node type and calls the deserialize(byte[], int, int,boolean)
>>>>>>> .merge-right.r4159
method of the corresponding node class. The node will be allocated in the pool
and should be released once it is no longer needed.
public boolean hasChildNodes()
hasChildNodes in interface org.w3c.dom.NodehasChildNodes in class NodeImplNode.hasChildNodes()public int getChildCount()
getChildCount in class NodeImplpublic org.w3c.dom.Node getFirstChild()
getFirstChild in interface org.w3c.dom.NodegetFirstChild in class NodeImplNode.getFirstChild()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||