|
|||||||
| 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)
|
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, getBroker, getDocId, getDocument, getInternalAddress, getNextSibling, getNodeId, getNodeType, getOldInternalAddress, getOwnerDocument, getParentNode, getPath, getPath, getPreviousSibling, getQName, isDirty, release, setDirty, setInternalAddress, setNodeId, setOldInternalAddress, 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, compareDocumentPosition, getAttributes, getBaseURI, 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 StoredNodepublic String getTarget()
getTarget in interface ProcessingInstructionpublic void setTarget(String target)
target - The new target valuepublic String getNodeName()
getNodeName in interface NodegetNodeName in class NodeImplNode.getNodeName()public String getLocalName()
getLocalName in interface NodegetLocalName in class NodeImplNode.getLocalName()public String getNamespaceURI()
getNamespaceURI in interface NodegetNamespaceURI in class NodeImplNode.getNamespaceURI()public String getData()
getData in interface ProcessingInstructionpublic void setData(String data)
setData in interface ProcessingInstructiondata - The new data valuepublic 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)
public boolean hasChildNodes()
hasChildNodes in interface NodehasChildNodes in class NodeImplNode.hasChildNodes()public int getChildCount()
getChildCount in class NodeImplpublic Node getFirstChild()
getFirstChild in interface NodegetFirstChild in class NodeImplNode.getFirstChild()
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||