public class DomAttr extends DomNamespaceNode implements Attr
HtmlElement,
but the XPath engine expects attributes to be in a DomNode.DomNode.ChildIterator, DomNode.DescendantElementsIteratorAS_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_UNINITIALIZEDATTRIBUTE_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 and Description |
|---|
DomAttr(SgmlPage page,
String namespaceURI,
String qualifiedName,
String value)
Instantiate a new attribute.
|
| Modifier and Type | Method and Description |
|---|---|
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() |
getLocalName, getNamespaceURI, getPrefix, getQualifiedName, setPrefixaddDomChangeListener, appendChild, asText, asXml, checkChildHierarchy, cloneNode, compareDocumentPosition, fireNodeAdded, fireNodeDeleted, getAllHtmlChildElements, getAncestors, getAttributes, getBaseURI, getByXPath, getCanonicalXPath, getChildNodes, getChildren, getEndColumnNumber, getEndLineNumber, getFeature, getFirstByXPath, getFirstChild, getLastChild, getNextSibling, getOwnerDocument, getPage, getParentNode, getPreviousSibling, getReadyState, getScriptObject, getStartColumnNumber, getStartLineNumber, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, insertBefore, isAncestorOf, isBlock, isDefaultNamespace, isDisplayed, isEqualNode, isSameNode, isSupported, isTrimmedText, lookupNamespaceURI, lookupPrefix, normalize, notifyIncorrectness, onAddedToPage, onAllChildrenAddedToPage, printChildrenAsXml, printXml, remove, removeAllChildren, removeChild, removeDomChangeListener, replace, replaceChild, selectNodes, selectSingleNode, setNextSibling, setNodeValue, setParentNode, setPreviousSibling, setReadyState, setScriptObject, setTextContent, setUserDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitappendChild, 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, setUserDatapublic 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 attributepublic 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()
public String getValue()
public void setValue(String value)
public Element getOwnerElement()
getOwnerElement in interface Attrpublic boolean getSpecified()
getSpecified in interface Attrpublic TypeInfo getSchemaTypeInfo()
getSchemaTypeInfo in interface AttrCopyright © 2002–2014 Gargoyle Software Inc.. All rights reserved.