|
|||||||
| 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)
|
static String |
getAttributeType(int type)
|
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, getParentStoredNode, 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 NamedNodepublic 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 Attrpublic int getType()
public void setType(int type)
public static String getAttributeType(int type)
public String getValue()
getValue in interface Attrpublic String getNodeValue()
getNodeValue in interface NodegetNodeValue in class NodeImplNode.getNodeValue()
public void setValue(String str)
throws DOMException
setValue in interface AttrDOMExceptionpublic Element getOwnerElement()
getOwnerElement in interface Attrpublic boolean getSpecified()
getSpecified in interface Attrpublic String toString()
toString in class StoredNodepublic String toString(boolean top)
toString in class StoredNodepublic 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()public TypeInfo getSchemaTypeInfo()
getSchemaTypeInfo in interface Attrpublic boolean isId()
isId in interface Attrpublic String getBaseURI()
getBaseURI in interface NodegetBaseURI in class NodeImpl
public short compareDocumentPosition(Node other)
throws DOMException
compareDocumentPosition in interface NodecompareDocumentPosition in class NodeImplDOMException
public String getTextContent()
throws DOMException
getTextContent in interface NodegetTextContent in class NodeImplDOMException
public void setTextContent(String textContent)
throws DOMException
setTextContent in interface NodesetTextContent in class NodeImplDOMExceptionpublic boolean isSameNode(Node other)
isSameNode in interface NodeisSameNode in class NodeImplpublic String lookupPrefix(String namespaceURI)
lookupPrefix in interface NodelookupPrefix in class NodeImplpublic boolean isDefaultNamespace(String namespaceURI)
isDefaultNamespace in interface NodeisDefaultNamespace in class NodeImplpublic String lookupNamespaceURI(String prefix)
lookupNamespaceURI in interface NodelookupNamespaceURI in class NodeImplpublic boolean isEqualNode(Node arg)
isEqualNode in interface NodeisEqualNode in class NodeImpl
public Object getFeature(String feature,
String version)
getFeature in interface NodegetFeature in class NodeImpl
public Object setUserData(String key,
Object data,
UserDataHandler handler)
setUserData in interface NodesetUserData in class NodeImplpublic Object getUserData(String key)
getUserData in interface NodegetUserData in class NodeImpl
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||