|
||||||||
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.AttrImpl
Description of the Class
Field Summary | |
protected int |
attributeType
|
static int |
CDATA
|
static int |
ID
|
protected ElementImpl |
ownerElement
|
protected java.lang.String |
value
|
Fields inherited from class org.exist.dom.NodeImpl |
attributes, gid, internalAddress, nodeName, nodeNameRef, nodeType, ownerDocument |
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(long gid)
Constructor for the AttrImpl object |
|
AttrImpl(java.lang.String name,
java.lang.String value)
Constructor for the AttrImpl object |
Method Summary | |
static NodeImpl |
deserialize(byte[] data,
int start,
int len,
DocumentImpl doc)
Description of the Method |
java.lang.String |
getName()
Gets the name attribute of the AttrImpl object |
java.lang.String |
getNodeValue()
Gets the nodeValue attribute of the AttrImpl object |
org.w3c.dom.Element |
getOwnerElement()
Gets the ownerElement attribute of the AttrImpl object |
boolean |
getSpecified()
Gets the specified attribute of the AttrImpl object |
int |
getType()
|
java.lang.String |
getValue()
Gets the value attribute of the AttrImpl object |
byte[] |
serialize()
Description of the Method |
void |
setType(int type)
|
void |
setValue(java.lang.String value)
Sets the value attribute of the AttrImpl object |
void |
toSAX(org.xml.sax.ContentHandler contentHandler,
org.xml.sax.ext.LexicalHandler lexicalHandler,
boolean first,
java.util.ArrayList prefixes)
Description of the Method |
java.lang.String |
toString()
Description of the Method |
java.lang.String |
toString(boolean top)
Description of the Method |
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, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix |
Field Detail |
public static final int CDATA
public static final int ID
protected int attributeType
protected ElementImpl ownerElement
protected java.lang.String value
Constructor Detail |
public AttrImpl(long gid)
gid
- Description of the Parameterpublic AttrImpl(java.lang.String name, java.lang.String value)
name
- Description of the Parametervalue
- Description of the ParameterMethod Detail |
public static NodeImpl deserialize(byte[] data, int start, int len, DocumentImpl doc)
data
- Description of the Parameterdoc
- Description of the Parameter
public java.lang.String getName()
getName
in interface org.w3c.dom.Attr
public int getType()
public void setType(int type)
public java.lang.String getNodeValue()
getNodeValue
in interface org.w3c.dom.Node
getNodeValue
in class NodeImpl
Node.getNodeValue()
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 getValue()
getValue
in interface org.w3c.dom.Attr
public byte[] serialize()
serialize
in class NodeImpl
public void setValue(java.lang.String value) throws org.w3c.dom.DOMException
setValue
in interface org.w3c.dom.Attr
value
- The new value value
org.w3c.dom.DOMException
- Description of the Exceptionpublic void toSAX(org.xml.sax.ContentHandler contentHandler, org.xml.sax.ext.LexicalHandler lexicalHandler, boolean first, java.util.ArrayList prefixes) throws org.xml.sax.SAXException
toSAX
in class NodeImpl
contentHandler
- Description of the ParameterlexicalHandler
- Description of the Parameterfirst
- Description of the Parameterprefixes
- Description of the Parameter
org.xml.sax.SAXException
- Description of the Exceptionpublic java.lang.String toString()
toString
in class NodeImpl
public java.lang.String toString(boolean top)
toString
in class NodeImpl
top
- Description of the Parameter
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |