|
Oracle Fusion Middleware Javascript API Reference for Oracle ADF Faces 11g Release 2 (11.1.2.1.0) E17489-02 |
||||||||
PREV NEXT | FRAMES NO FRAMES Warning: private items are visible |
org.ecmascript.object.Object | +--org.w3c.dom.core.Node | +--org.w3c.dom.core.Attr
public abstract class Attr extends Node
Element
object. Typically the allowable values for the attribute are defined in a document type definition.Node.nodeValue
attribute on the Attr
instance can also be used to retrieve the string version of the attribute's value(s).Attr
objects inherit the Node
interface, they are not considered part of the document tree and hence the Node
attributes Node.parentNode
, Node.previousSibling
, and Node.nextSibling
have a null value for them.Attr
node may be either Text
or EntityReference
nodes. Because the DOM Core is not aware of attribute types, it treats all attribute values as simple strings, even if the DTD or schema declares them as having tokenized types.
Field Summary |
|
---|---|
public String |
|
public Element |
|
public Boolean |
|
public String |
|
Fields inherited from org.w3c.dom.core.Node |
ATTRIBUTE_NODE, attributes, CDATA_SECTION_NODE, childNodes, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, firstChild, lastChild, localName, namespaceURI, nextSibling, nodeName, nodeType, nodeValue, NOTATION_NODE, ownerDocument, parentNode, prefix, previousSibling, PROCESSING_INSTRUCTION_NODE, TEXT_NODE |
Fields inherited from org.ecmascript.object.Object |
constructor, prototype |
Method Summary |
---|
Methods inherited from org.w3c.dom.core.Node |
appendChild, cloneNode, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild |
Field Detail |
---|
public String name
JavaScript Code Example:
public Element ownerElement
JavaScript Code Example:
public Boolean specified
specified
is true
, and the value is the assigned value.specified
is false
, and the value is the default value in the DTD.ownerElement
attribute is null
(i.e. because it was just created or was set to null
by the various removal and cloning operations) specified
is true
.public String value
Element.getAttribute(String)
on the Element
interface.Text
node with the unparsed contents of the string. I.e. any characters that an XML processor would recognize as markup are instead treated as literal text. See also the method Element.setAttribute(String, String)
on the Element
interface.JavaScript Code Example:
Method Detail |
---|
|
Oracle Fusion Middleware Javascript API Reference for Oracle ADF Faces 11g Release 2 (11.1.2.1.0) E17489-02 |
||||||||
PREV NEXT | FRAMES NO FRAMES Warning: private items are visible |