|
||||||||||
| 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 |
| Constructor Summary | |
|---|---|
DomAttr(SgmlPage page,
String namespaceURI,
String qualifiedName,
String value)
Instantiate a new attribute. |
|
| Method Summary | |
|---|---|
String |
getName()
|
String |
getNodeName()
Returns this node's node name. |
short |
getNodeType()
Returns this node's node type. |
String |
getNodeValue()
|
Element |
getOwnerElement()
|
TypeInfo |
getSchemaTypeInfo()
Not yet implemented. |
boolean |
getSpecified()
Not yet implemented. |
String |
getValue()
|
boolean |
isId()
|
void |
setValue(String value)
Sets this attribute's value. |
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,
String namespaceURI,
String qualifiedName,
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 NodegetNodeType in class DomNodepublic String getNodeName()
getNodeName in interface NodegetNodeName in class DomNodepublic String getNodeValue()
getNodeValue in interface NodegetNodeValue in class DomNodepublic String getName()
getName in interface Attrpublic String getValue()
getValue in interface Attrpublic void setValue(String value)
setValue in interface Attrvalue - the attribute's new valuepublic Element getOwnerElement()
getOwnerElement in interface Attrpublic boolean getSpecified()
getSpecified in interface Attrpublic TypeInfo getSchemaTypeInfo()
getSchemaTypeInfo in interface Attrpublic boolean isId()
isId in interface Attrpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||