|
||||||||
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.NamedNode
org.exist.dom.AttrImpl
Field Summary | |
static int |
CDATA
|
static int |
DEFAULT_ATTRIBUTE_TYPE
|
static int |
ID
|
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 | |
AttrImpl()
|
|
AttrImpl(AttrImpl other)
|
|
AttrImpl(QName name,
java.lang.String value)
|
Method Summary | |
void |
clear()
Reset this object to its initial state. |
short |
compareDocumentPosition(org.w3c.dom.Node other)
? @see org.w3c.dom.Node#compareDocumentPosition(org.w3c.dom.Node) |
static StoredNode |
deserialize(byte[] data,
int start,
int len,
DocumentImpl doc,
boolean pooled)
Read a node from the specified byte array. |
java.lang.String |
getBaseURI()
? @see org.w3c.dom.Node#getBaseURI() |
int |
getChildCount()
|
java.lang.Object |
getFeature(java.lang.String feature,
java.lang.String version)
? @see org.w3c.dom.Node#getFeature(java.lang.String, java.lang.String) |
org.w3c.dom.Node |
getFirstChild()
|
java.lang.String |
getName()
|
java.lang.String |
getNodeValue()
|
org.w3c.dom.Element |
getOwnerElement()
|
org.w3c.dom.TypeInfo |
getSchemaTypeInfo()
? @see org.w3c.dom.Attr#getSchemaTypeInfo() |
boolean |
getSpecified()
|
java.lang.String |
getTextContent()
? @see org.w3c.dom.Node#getTextContent() |
int |
getType()
|
java.lang.Object |
getUserData(java.lang.String key)
? @see org.w3c.dom.Node#getUserData(java.lang.String) |
java.lang.String |
getValue()
|
boolean |
hasChildNodes()
|
boolean |
isDefaultNamespace(java.lang.String namespaceURI)
? @see org.w3c.dom.Node#isDefaultNamespace(java.lang.String) |
boolean |
isEqualNode(org.w3c.dom.Node arg)
? @see org.w3c.dom.Node#isEqualNode(org.w3c.dom.Node) |
boolean |
isId()
? @see org.w3c.dom.Attr#isId() |
boolean |
isSameNode(org.w3c.dom.Node other)
? @see org.w3c.dom.Node#isSameNode(org.w3c.dom.Node) |
java.lang.String |
lookupNamespaceURI(java.lang.String prefix)
? @see org.w3c.dom.Node#lookupNamespaceURI(java.lang.String) |
java.lang.String |
lookupPrefix(java.lang.String namespaceURI)
? @see org.w3c.dom.Node#lookupPrefix(java.lang.String) |
byte[] |
serialize()
|
void |
setTextContent(java.lang.String textContent)
? @see org.w3c.dom.Node#setTextContent(java.lang.String) |
void |
setType(int type)
|
java.lang.Object |
setUserData(java.lang.String key,
java.lang.Object data,
org.w3c.dom.UserDataHandler handler)
? @see org.w3c.dom.Node#setUserData(java.lang.String, java.lang.Object, org.w3c.dom.UserDataHandler) |
void |
setValue(java.lang.String value)
|
java.lang.String |
toString()
|
java.lang.String |
toString(boolean top)
|
Methods inherited from class org.exist.dom.NamedNode |
getQName, setNodeName |
Methods inherited from class org.exist.dom.StoredNode |
accept, accept, deserialize, equals, getBroker, getDocId, getInternalAddress, getNextSibling, getNodeId, getNodeType, getOwnerDocument, getParentNode, getPath, getPreviousSibling, release, setInternalAddress, setNodeId, setOwnerDocument |
Methods inherited from class org.exist.dom.NodeImpl |
appendChild, appendChildren, cloneNode, getAttributes, getAttributesCount, getChildNodes, getLastChild, getLocalName, getNamespaceURI, getNodeName, getPrefix, hasAttributes, insertAfter, insertAfter, insertBefore, insertBefore, isSupported, normalize, removeChild, removeChild, replaceChild, replaceChild, setAttributes, setNodeValue, setPrefix, 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, getAttributes, getChildNodes, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix |
Field Detail |
public static final int CDATA
public static final int ID
public static final int DEFAULT_ATTRIBUTE_TYPE
Constructor Detail |
public AttrImpl()
public AttrImpl(QName name, java.lang.String value)
public AttrImpl(AttrImpl other)
Method Detail |
public void clear()
StoredNode
clear
in class NamedNode
public byte[] serialize()
serialize
in class StoredNode
public static StoredNode deserialize(byte[] data, int start, int len, DocumentImpl doc, boolean pooled)
StoredNode
StoredNode.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 java.lang.String getName()
getName
in interface org.w3c.dom.Attr
public int getType()
public void setType(int type)
public java.lang.String getValue()
getValue
in interface org.w3c.dom.Attr
public java.lang.String getNodeValue()
getNodeValue
in interface org.w3c.dom.Node
getNodeValue
in class NodeImpl
Node.getNodeValue()
public void setValue(java.lang.String value) throws org.w3c.dom.DOMException
setValue
in interface org.w3c.dom.Attr
org.w3c.dom.DOMException
public org.w3c.dom.Element getOwnerElement()
getOwnerElement
in interface org.w3c.dom.Attr
public boolean getSpecified()
getSpecified
in interface org.w3c.dom.Attr
public java.lang.String toString()
toString
in class StoredNode
public java.lang.String toString(boolean top)
toString
in class StoredNode
public boolean hasChildNodes()
hasChildNodes
in interface org.w3c.dom.Node
hasChildNodes
in class NodeImpl
Node.hasChildNodes()
public int getChildCount()
getChildCount
in class NodeImpl
public org.w3c.dom.Node getFirstChild()
getFirstChild
in interface org.w3c.dom.Node
getFirstChild
in class NodeImpl
Node.getFirstChild()
public org.w3c.dom.TypeInfo getSchemaTypeInfo()
public boolean isId()
public java.lang.String getBaseURI()
getBaseURI
in class NodeImpl
public short compareDocumentPosition(org.w3c.dom.Node other) throws org.w3c.dom.DOMException
compareDocumentPosition
in class NodeImpl
org.w3c.dom.DOMException
public java.lang.String getTextContent() throws org.w3c.dom.DOMException
getTextContent
in class NodeImpl
org.w3c.dom.DOMException
public void setTextContent(java.lang.String textContent) throws org.w3c.dom.DOMException
setTextContent
in class NodeImpl
org.w3c.dom.DOMException
public boolean isSameNode(org.w3c.dom.Node other)
isSameNode
in class NodeImpl
public java.lang.String lookupPrefix(java.lang.String namespaceURI)
lookupPrefix
in class NodeImpl
public boolean isDefaultNamespace(java.lang.String namespaceURI)
isDefaultNamespace
in class NodeImpl
public java.lang.String lookupNamespaceURI(java.lang.String prefix)
lookupNamespaceURI
in class NodeImpl
public boolean isEqualNode(org.w3c.dom.Node arg)
isEqualNode
in class NodeImpl
public java.lang.Object getFeature(java.lang.String feature, java.lang.String version)
getFeature
in class NodeImpl
public java.lang.Object setUserData(java.lang.String key, java.lang.Object data, org.w3c.dom.UserDataHandler handler)
setUserData
in class NodeImpl
public java.lang.Object getUserData(java.lang.String key)
getUserData
in class NodeImpl
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |