|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.gargoylesoftware.htmlunit.html.DomNode
com.gargoylesoftware.htmlunit.html.DomNamespaceNode
com.gargoylesoftware.htmlunit.html.DomAttr
public class DomAttr
An attribute of an element. Attributes are stored in HtmlElement,
but the XPath engine expects attributes to be in a DomNode.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.gargoylesoftware.htmlunit.html.DomNode |
|---|
DomNode.ChildIterator, DomNode.DescendantElementsIterator |
| Field Summary |
|---|
| Fields inherited from class com.gargoylesoftware.htmlunit.html.DomNode |
|---|
AS_TEXT_BLANK, AS_TEXT_BLOCK_SEPARATOR, AS_TEXT_NEW_LINE, AS_TEXT_TAB, PROPERTY_ELEMENT, READY_STATE_COMPLETE, READY_STATE_INTERACTIVE, READY_STATE_LOADED, READY_STATE_LOADING, READY_STATE_UNINITIALIZED |
| Fields inherited from interface org.w3c.dom.Node |
|---|
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE |
| Constructor Summary | |
|---|---|
DomAttr(SgmlPage page,
java.lang.String namespaceURI,
java.lang.String qualifiedName,
java.lang.String value)
Instantiate a new attribute. |
|
| Method Summary | |
|---|---|
java.lang.String |
getName()
|
java.lang.String |
getNodeName()
Returns this node's node name. |
short |
getNodeType()
Returns this node's node type. |
java.lang.String |
getNodeValue()
|
org.w3c.dom.Element |
getOwnerElement()
|
org.w3c.dom.TypeInfo |
getSchemaTypeInfo()
Not yet implemented. |
boolean |
getSpecified()
Not yet implemented. |
java.lang.String |
getValue()
|
boolean |
isId()
|
void |
setValue(java.lang.String value)
Sets this attribute's value. |
java.lang.String |
toString()
|
| Methods inherited from class com.gargoylesoftware.htmlunit.html.DomNamespaceNode |
|---|
getLocalName, getNamespaceURI, getPrefix, getQualifiedName, setPrefix |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.w3c.dom.Node |
|---|
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData |
| Constructor Detail |
|---|
public DomAttr(SgmlPage page,
java.lang.String namespaceURI,
java.lang.String qualifiedName,
java.lang.String value)
page - the page that the attribute belongs tonamespaceURI - the namespace that defines the attribute name (may be null)qualifiedName - the name of the attributevalue - the value of the attribute| Method Detail |
|---|
public short getNodeType()
getNodeType in interface org.w3c.dom.NodegetNodeType in class DomNodepublic java.lang.String getNodeName()
getNodeName in interface org.w3c.dom.NodegetNodeName in class DomNodepublic java.lang.String getNodeValue()
getNodeValue in interface org.w3c.dom.NodegetNodeValue in class DomNodepublic java.lang.String getName()
getName in interface org.w3c.dom.Attrpublic java.lang.String getValue()
getValue in interface org.w3c.dom.Attrpublic void setValue(java.lang.String value)
setValue in interface org.w3c.dom.Attrvalue - the attribute's new valuepublic org.w3c.dom.Element getOwnerElement()
getOwnerElement in interface org.w3c.dom.Attrpublic boolean getSpecified()
getSpecified in interface org.w3c.dom.Attrpublic org.w3c.dom.TypeInfo getSchemaTypeInfo()
getSchemaTypeInfo in interface org.w3c.dom.Attrpublic boolean isId()
isId in interface org.w3c.dom.Attrpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||