Developer Resources

WebDOMAttr

Overview

The WebDOMAttr class represents a DOM attribute node.

Base Class

WebDOMNode

Constructor

WebDOMAttr()

Methods

WebDOMAttr.getName
Gets the name of this attribute node.
WebDOMAttr.getOwnerElement
Gets the element to which the node belongs.
WebDOMAttr.getSpecified
WebDOMAttr.getValue
Gets the value of this attribute node.

Inherited Methods

WebDOMNode.appendChild
Appends a child node to this node.
WebDOMNode.cloneNode
Clones this node.
WebDOMNode.getAttributes
Gets the attributes of this node.
WebDOMNode.getChildNodes
Gets the child nodes of this node.
WebDOMNode.getFirstChild
Gets the first child node of this node.
WebDOMNode.getLastChild
Gets the last child node of this node.
WebDOMNode.getLocalName
Returns the local name
WebDOMNode.getNamespaceURI
Returns the namespace URI
WebDOMNode.getNextSibling
Gets the next sibling node of this node.
WebDOMNode.getNodeName
Gets the name of this node.
WebDOMNode.getNodeType
Gets the type of this node.
WebDOMNode.getNodeValue
Gets the value of this node.
WebDOMNode.getOwnerDocument
Gets the document to which the node belongs.
WebDOMNode.getParentNode
Gets the parent node of this node.
WebDOMNode.getPrefix
Returns the prefix
WebDOMNode.getPreviousSibling
Gets the previous sibling node of this node.
WebDOMNode.hasAttributes
Returns true if this node has attributes, and false otherwise.
WebDOMNode.hasChildNodes
Returns true if this node has child nodes, and false otherwise.
WebDOMNode.insertBefore
Inserts a child node before another child node within this node's children.
WebDOMNode.isSupported
Determines if a feature in a particular version is supported.
WebDOMNode.normalize
Removes all empty text nodes and consolidates adjacent text nodes into a single node.
WebDOMNode.removeChild
Removes a child node from this node.
WebDOMNode.replaceChild
Replaces a child node of this node with another node.
WebDOMNode.setNodeValue
Sets the value of this node.
WebDOMNode.setPrefix
Sets the prefix

WebDOMAttr.getName

WebDOMAttr.getName() : String

Returns

Returns the name of this attribute node.

Description

Returns the name of this attribute node.

WebDOMAttr.getOwnerElement

WebDOMAttr.getOwnerElement() : wxDOMElement

Returns

A WebDOMElement object that represents the element to which the node belongs.

Description

Returns a WebDOMElement object that represents the element to which the node belongs.

WebDOMAttr.getSpecified

WebDOMAttr.getSpecified() : Boolean

WebDOMAttr.getValue

WebDOMAttr.getValue() : String

Returns

Returns the value of this attribute node.

Description

Returns the value of this attribute node.