|
||||||||||
| 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 | |
protected int |
attributeType
|
static int |
CDATA
|
static int |
DEFAULT_ATTRIBUTE_TYPE
|
static int |
ID
|
protected java.lang.String |
value
|
| Fields inherited from class org.exist.dom.NamedNode |
nodeName |
| Fields inherited from class org.exist.dom.StoredNode |
NODE_IMPL_ROOT_NODE_GID, NODE_IMPL_UNKNOWN_GID, UNKNOWN_NODE_IMPL_ADDRESS, UNKNOWN_NODE_IMPL_NODE_TYPE |
| Fields inherited from class org.exist.dom.NodeImpl |
LOG |
| 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(long gid)
|
|
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() |
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()
|
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,
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 |
deserialize, equals, firstChildID, getBroker, getGID, getInternalAddress, getLastNode, getLastNode, getNextSibling, getNodeType, getOwnerDocument, getParentGID, getParentNode, getPath, getPreviousSibling, release, setGID, setInternalAddress, setOwnerDocument |
| Methods inherited from class org.exist.dom.NodeImpl |
appendChild, appendChildren, cloneNode, getAttributes, getAttributesCount, getChildCount, getChildNodes, getLastChild, getLocalName, getNamespaceURI, getNodeName, getPrefix, hasAttributes, insertAfter, insertAfter, insertBefore, insertBefore, isSupported, normalize, removeChild, removeChild, replaceChild, replaceChild, setAttributes, setChildCount, setNodeValue, setPrefix, supports, updateChild, updateChild |
| Methods inherited from class java.lang.Object |
clone, finalize, 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
protected int attributeType
protected java.lang.String value
| Constructor Detail |
public AttrImpl()
public AttrImpl(long gid)
public AttrImpl(QName name,
java.lang.String value)
public AttrImpl(AttrImpl other)
| Method Detail |
public void clear()
StoredNode
clear in class NamedNodepublic byte[] serialize()
serialize in class StoredNode
public static StoredNode deserialize(byte[] data,
int start,
int len,
DocumentImpl doc,
boolean pooled)
StoredNode#deserialize(byte[], int, int)
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.Attrpublic int getType()
public void setType(int type)
public java.lang.String getValue()
getValue in interface org.w3c.dom.Attrpublic java.lang.String getNodeValue()
getNodeValue in interface org.w3c.dom.NodegetNodeValue in class NodeImplNode.getNodeValue()
public void setValue(java.lang.String value)
throws org.w3c.dom.DOMException
setValue in interface org.w3c.dom.Attrorg.w3c.dom.DOMExceptionpublic org.w3c.dom.Element getOwnerElement()
getOwnerElement in interface org.w3c.dom.Attrpublic boolean getSpecified()
getSpecified in interface org.w3c.dom.Attrpublic java.lang.String toString()
toString in class StoredNodepublic java.lang.String toString(boolean top)
toString in class StoredNodepublic boolean hasChildNodes()
hasChildNodes in interface org.w3c.dom.NodehasChildNodes in class NodeImplNode.hasChildNodes()public org.w3c.dom.Node getFirstChild()
getFirstChild in interface org.w3c.dom.NodegetFirstChild in class NodeImplNode.getFirstChild()public 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 NodeImplorg.w3c.dom.DOMException
public java.lang.String getTextContent()
throws org.w3c.dom.DOMException
getTextContent in class NodeImplorg.w3c.dom.DOMException
public void setTextContent(java.lang.String textContent)
throws org.w3c.dom.DOMException
setTextContent in class NodeImplorg.w3c.dom.DOMExceptionpublic boolean isSameNode(org.w3c.dom.Node other)
isSameNode in class NodeImplpublic java.lang.String lookupPrefix(java.lang.String namespaceURI)
lookupPrefix in class NodeImplpublic boolean isDefaultNamespace(java.lang.String namespaceURI)
isDefaultNamespace in class NodeImplpublic java.lang.String lookupNamespaceURI(java.lang.String prefix)
lookupNamespaceURI in class NodeImplpublic 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,
UserDataHandler handler)
setUserData in class NodeImplpublic 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 | |||||||||