|
|||||||
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
public class AttrImpl
Field Summary | |
---|---|
static int |
CDATA
|
static int |
DEFAULT_ATTRIBUTE_TYPE
|
static int |
ID
|
static int |
IDREF
|
static int |
IDREFS
|
static int |
LENGTH_NS_ID
|
static int |
LENGTH_PREFIX_LENGTH
|
Fields inherited from class org.exist.dom.StoredNode |
---|
LENGTH_SIGNATURE_LENGTH, UNKNOWN_NODE_IMPL_ADDRESS |
Constructor Summary | |
---|---|
AttrImpl()
|
|
AttrImpl(AttrImpl other)
|
|
AttrImpl(QName name)
|
|
AttrImpl(QName name,
String str)
|
|
AttrImpl(QName name,
XMLString value)
|
Method Summary | |
---|---|
static void |
addToList(DBBroker broker,
byte[] data,
int start,
int len,
AttrList list)
|
void |
clear()
Reset this object to its initial state. |
short |
compareDocumentPosition(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)
|
String |
getBaseURI()
? @see org.w3c.dom.Node#getBaseURI() |
int |
getChildCount()
|
Object |
getFeature(String feature,
String version)
? @see org.w3c.dom.Node#getFeature(java.lang.String, java.lang.String) |
Node |
getFirstChild()
|
String |
getName()
|
String |
getNodeValue()
|
Element |
getOwnerElement()
|
TypeInfo |
getSchemaTypeInfo()
? @see org.w3c.dom.Attr#getSchemaTypeInfo() |
boolean |
getSpecified()
|
String |
getTextContent()
? @see org.w3c.dom.Node#getTextContent() |
int |
getType()
|
Object |
getUserData(String key)
? @see org.w3c.dom.Node#getUserData(java.lang.String) |
String |
getValue()
|
boolean |
hasChildNodes()
|
boolean |
isDefaultNamespace(String namespaceURI)
? @see org.w3c.dom.Node#isDefaultNamespace(java.lang.String) |
boolean |
isEqualNode(Node arg)
? @see org.w3c.dom.Node#isEqualNode(org.w3c.dom.Node) |
boolean |
isId()
? @see org.w3c.dom.Attr#isId() |
boolean |
isSameNode(Node other)
? @see org.w3c.dom.Node#isSameNode(org.w3c.dom.Node) |
String |
lookupNamespaceURI(String prefix)
? @see org.w3c.dom.Node#lookupNamespaceURI(java.lang.String) |
String |
lookupPrefix(String namespaceURI)
? @see org.w3c.dom.Node#lookupPrefix(java.lang.String) |
byte[] |
serialize()
|
void |
setTextContent(String textContent)
? @see org.w3c.dom.Node#setTextContent(java.lang.String) |
void |
setType(int type)
|
Object |
setUserData(String key,
Object data,
UserDataHandler handler)
? @see org.w3c.dom.Node#setUserData(java.lang.String, java.lang.Object, org.w3c.dom.UserDataHandler) |
void |
setValue(String str)
|
String |
toString()
|
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, getDocId, getDocument, getInternalAddress, getNextSibling, getNodeId, getNodeType, getOwnerDocument, getParentNode, getPath, getPath, getPreviousSibling, isDirty, release, setDirty, 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 LENGTH_NS_ID
public static final int LENGTH_PREFIX_LENGTH
public static final int CDATA
public static final int ID
public static final int IDREF
public static final int IDREFS
public static final int DEFAULT_ATTRIBUTE_TYPE
Constructor Detail |
---|
public AttrImpl()
public AttrImpl(QName name)
public AttrImpl(QName name, XMLString value)
public AttrImpl(QName name, String str)
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)
public static void addToList(DBBroker broker, byte[] data, int start, int len, AttrList list)
public String getName()
getName
in interface Attr
public int getType()
public void setType(int type)
public String getValue()
getValue
in interface Attr
public String getNodeValue()
getNodeValue
in interface Node
getNodeValue
in class NodeImpl
Node.getNodeValue()
public void setValue(String str) throws DOMException
setValue
in interface Attr
DOMException
public Element getOwnerElement()
getOwnerElement
in interface Attr
public boolean getSpecified()
getSpecified
in interface Attr
public String toString()
toString
in class StoredNode
public String toString(boolean top)
toString
in class StoredNode
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()
public TypeInfo getSchemaTypeInfo()
getSchemaTypeInfo
in interface Attr
public boolean isId()
isId
in interface Attr
public String getBaseURI()
getBaseURI
in interface Node
getBaseURI
in class NodeImpl
public short compareDocumentPosition(Node other) throws DOMException
compareDocumentPosition
in interface Node
compareDocumentPosition
in class NodeImpl
DOMException
public String getTextContent() throws DOMException
getTextContent
in interface Node
getTextContent
in class NodeImpl
DOMException
public void setTextContent(String textContent) throws DOMException
setTextContent
in interface Node
setTextContent
in class NodeImpl
DOMException
public boolean isSameNode(Node other)
isSameNode
in interface Node
isSameNode
in class NodeImpl
public String lookupPrefix(String namespaceURI)
lookupPrefix
in interface Node
lookupPrefix
in class NodeImpl
public boolean isDefaultNamespace(String namespaceURI)
isDefaultNamespace
in interface Node
isDefaultNamespace
in class NodeImpl
public String lookupNamespaceURI(String prefix)
lookupNamespaceURI
in interface Node
lookupNamespaceURI
in class NodeImpl
public boolean isEqualNode(Node arg)
isEqualNode
in interface Node
isEqualNode
in class NodeImpl
public Object getFeature(String feature, String version)
getFeature
in interface Node
getFeature
in class NodeImpl
public Object setUserData(String key, Object data, UserDataHandler handler)
setUserData
in interface Node
setUserData
in class NodeImpl
public Object getUserData(String key)
getUserData
in interface Node
getUserData
in class NodeImpl
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |