|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
newChild
to the end of the list of children
of this node.
Attr
interface represents an attribute in an
Element
object.Attr
.
CDATASection
.
CharacterData
interface extends Node with a set of
attributes and methods for accessing character data in the DOM.CharacterData
and represents the
content of a comment, i.e., all the characters between the starting '
<!--
' and ending '-->
'.Comment
.
DOMStringList
.
NameList
.
NameList
.
Attr
of the given name.
CDATASection
node whose value is the specified
string.
Comment
node given the specified string.
DocumentFragment
object.
DocumentType
node.
EntityReference
object.
ProcessingInstruction
node given the specified
name and data strings.
Text
node given the specified string.
Document
interface represents the entire HTML or XML
document.DocumentFragment
.
Document
.
DocumentType
.
DocumentFragment
is a "lightweight" or "minimal"
Document
object.Document
has a doctype
attribute whose value
is either null
or a DocumentType
object.DOMConfiguration
interface represents the configuration
of a document and maintains a table of recognized parameters.DOMError
is an interface that describes an error.DOMErrorHandler
is a callback interface that the DOM
implementation can call when reporting errors that happens while
processing XML data, or when doing some other processing (e.g.DOMImplementation
interface provides a number of methods
for performing operations that are independent of any particular instance
of the document object model.DOMImplementationList
interface provides the abstraction
of an ordered collection of DOM implementations, without defining or
constraining how this collection is implemented.DOMLocator
is an interface that describes a location (e.g.DOMString
.
DOMStringList
interface provides the abstraction of an
ordered collection of DOMString
values, without defining or
constraining how this collection is implemented.Element
interface represents an element in an HTML or XML
document.Element
.
Entity
.
EntityReference
.
EntityReference
nodes may be used to represent an entity
reference in the tree.Attr
node by local name and namespace URI.
NamedNodeMap
containing the attributes of this node (if
it is an Element
) or null
otherwise.
null
if the
implementation wasn't able to obtain an absolute URI.
-1
if there is no byte offset available.
NodeList
that contains all children of this node.
-1
if
there is no column number available.
Condition
.
DocumentType
)
associated with this document.
null
if undefined or if
the Document
was created using
DOMImplementation.createDocument
.
Document.normalizeDocument()
is invoked.
Element
that has an ID attribute with the
given value.
NodeList
of all the Elements
in
document order with a given tag name and are contained in the
document.
NodeList
of all descendant Elements
with a given tag name, in document order.
NodeList
of all the Elements
with a
given local name and namespace URI in document order.
NodeList
of all the descendant
Elements
with a given local name and namespace URI in
document order.
NamedNodeMap
containing the general entities, both
external and internal, declared in the DTD.
DOMImplementation
object that handles this document.
null
if there is none.
data
and the substringData
method below.
DOMImplementation
s in the list.
DOMString
s in the list.
LexicalUnit
.
-1
if
there is no column number available.
null
if media are currently unknown.
DOCTYPE
keyword.
index
th name item in the collection.
index
th namespaceURI item in the collection.
null
if it is
unspecified (see ).
null
if any.
NamedNodeMap
containing the notations declared in the
DTD.
Document
object associated with this node.
Element
node this attribute is attached to or
null
if this attribute is not in use.
DOMConfiguration
object and for which at least one value
can be set by the application.
null
if it is
unspecified.
null
if any.
null
otherwise.
DOMError.type
dependent data if any.
null
if no node
is available.
Selector
SEVERITY_WARNING
,
SEVERITY_ERROR
, or SEVERITY_FATAL_ERROR
.
true
if the attribute must have an explicit value
in the original document, false
otherwise.
True
if this attribute was explicitly given a value in
the instance document, false
otherwise.
null
otherwise.
true
if the node should have the same node type (for
element, same namespaceURI and same localName).
DOMString
indicating which related data is expected in
relatedData
.
null
if unknown.
null
if the element does not have
declaration or if no namespace information is available.
true
if the child node list only shows nodes of the same
type of the selector (only elements, only PIS, ...)
null
if no URI is
available.
-1
if there is no UTF-16 offset available.
Text
nodes logically-adjacent text
nodes to this node, concatenated in document order.
true
when an attribute with a given name is
specified on this element or has a default value, false
otherwise.
true
when an attribute with a given local name and
namespace URI is specified on this element or has a default value,
false
otherwise.
Node
is inserted somewhere it doesn't belong.
newChild
before the existing child node
refChild
.
namespaceURI
is the
default namespace or not.
null
if this
is not a valid index.
null
if this
is not a valid index.
index
th item in the collection.
index
th item in the collection.
index
th item in the map.
index
th item in the collection.
NamedNodeMap
interface are used to
represent collections of nodes that can be accessed by name.NameList
interface provides the abstraction of an ordered
collection of parallel pairs of name and namespace values (which could be
null values), without defining or constraining how this collection is
implemented.Node
which does not support
data.
Node
interface is the primary datatype for the entire
Document Object Model.Document.adoptNode()
.
Node.cloneNode()
.
Document.importNode()
.
Document.renameNode()
.
NodeList
interface provides the abstraction of an ordered
collection of nodes, without defining or constraining how this collection
is implemented.Text
nodes in the full depth of the sub-tree
underneath this Node
, including attribute nodes, into a
"normal" form where only structure (e.g., elements, comments,
processing instructions, CDATA sections, and entity references)
separates Text
nodes, i.e., there are neither adjacent
Text
nodes nor empty Text
nodes.
Node
in a context
where it does not exist.
Notation
.
ProcessingInstruction
.
ProcessingInstruction
interface represents a "processing
instruction", used in XML as a way to keep processor-specific information
in the text of the document.oldChild
from the list
of children, and returns it.
ELEMENT_NODE
or
ATTRIBUTE_NODE
.
oldChild
with newChild
in the list of children, and returns the oldChild
node.
attr(...)
.
cm
.
counter
.
counters
.
deg
.
em
.
ex
.
grad
.
Hz
.
inherit
.
in
.
inherit
.
kHz
.
mm
.
ms
.
[values~="10"]
pc
.
px
.
pt
.
rad
.
rect
.
s
.
(a)
(a + b)
(normal/none)
uri(...)
.
null
if undefined or if
the Document
was created using
DOMImplementation.createDocument
.
isId
is true
, this method
declares the specified attribute to be a user-determined ID attribute
.
isId
is true
, this method
declares the specified attribute to be a user-determined ID attribute
.
isId
is true
, this method
declares the specified attribute to be a user-determined ID attribute
.
nodeName
attribute.
namespaceURI
and
localName
.
null
if it is
unspecified.
DOMError
is
error.
DOMError
is
fatal error.
DOMError
is
warning.
offset
,
keeping both in the tree as siblings.
Text
interface inherits from CharacterData
and represents the textual content (termed character data in XML) of an Element
or Attr
.Text
node.
TypeInfo
interface represents a type referenced from
Element
or Attr
nodes, specified in the schemas
associated with the document.Node.setUserData()
the application can provide a handler
that gets called when the node the object is associated to is being
cloned, imported, or renamed.insertBefore
or
removeChild
would make the Node
invalid
with respect to "partial validity", this exception would be raised
and the operation would not be done.
Node
is used in a different document than the one
that created it (that doesn't support it).
XMLConstants.XMLNS_ATTRIBUTE
, Namespace name URI.
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |