Package org.loboevolution.html.node
Interface Attr
- All Superinterfaces:
EventTarget
,Node
- All Known Implementing Classes:
AttrImpl
,DOM2DTMdefaultNamespaceDeclarationNode
,DTMNodeProxy
A DOM element's attribute as an object. In most DOM methods, you will
probably directly retrieve the attribute as a string (e.g.,
Element.getAttribute(), but certain functions (e.g.,
Element.getAttributeNode()) or means of iterating give Attr types.
-
Field Summary
Fields inherited from interface org.loboevolution.html.node.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, NONE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
-
Method Summary
Modifier and TypeMethodDescriptiongetLocalName.getName()
getName.getNamespaceURI.getOwnerElement.getPrefix.getCurrentNode.getValue()
getValue.boolean
isId()
isId.boolean
isSpecified.void
setOwnerElement
(Node element) setOwnerElement.void
setValue.Methods inherited from interface org.loboevolution.events.EventTarget
addEventListener, addEventListener, dispatchEvent, dispatchEvent, removeEventListener, removeEventListener
Methods inherited from interface org.loboevolution.html.node.Node
appendChild, cloneNode, cloneNode, compareDocumentPosition, contains, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentElement, getParentNode, getPreviousSibling, getRootNode, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isIsConnected, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, prepend, prependChild, removeChild, replaceChild, setNodeValue, setOwnerDocument, setPrefix, setTextContent, setUserData
-
Method Details
-
getLocalName
String getLocalName()getLocalName.
- Specified by:
getLocalName
in interfaceNode
- Returns:
- a
String
object.
-
getName
String getName()getName.
- Returns:
- a
String
object.
-
getNamespaceURI
String getNamespaceURI()getNamespaceURI.
- Specified by:
getNamespaceURI
in interfaceNode
- Returns:
- a
String
object.
-
getOwnerElement
Node getOwnerElement()getOwnerElement.
- Returns:
- a
Node
object.
-
getPrefix
String getPrefix()getPrefix.
-
getSchemaTypeInfo
TypeInfo getSchemaTypeInfo()getCurrentNode.
- Returns:
- a
TypeInfo
object.
-
isSpecified
boolean isSpecified()isSpecified.
- Returns:
- a boolean.
-
getValue
String getValue()getValue.
- Returns:
- a
String
object.
-
setValue
setValue.
- Parameters:
value
- aString
object.
-
setOwnerElement
setOwnerElement.
- Parameters:
element
- aNode
object.
-
isId
boolean isId()isId.
- Returns:
- a boolean.
-