|
|||||||||
| Home >> All >> org >> w3c >> [ dom overview ] | PREV NEXT | ||||||||
A
- ATTRIBUTE_NODE - Static variable in interface org.w3c.dom.Node
- The node is an
Attr. - Attr - interface org.w3c.dom.Attr.
- The
Attrinterface represents an attribute in anElementobject. - adoptNode(Node) - Method in interface org.w3c.dom.Document
- Attempts to adopt a node from another document to this document.
- appendChild(Node) - Method in interface org.w3c.dom.Node
- Adds the node
newChildto the end of the list of children of this node. - appendData(String) - Method in interface org.w3c.dom.CharacterData
- Append the string to the end of the character data of the node.
C
- CDATASection - interface org.w3c.dom.CDATASection.
- CDATA sections are used to escape blocks of text containing characters that would otherwise be regarded as markup.
- CDATA_SECTION_NODE - Static variable in interface org.w3c.dom.Node
- The node is a
CDATASection. - COMMENT_NODE - Static variable in interface org.w3c.dom.Node
- The node is a
Comment. - CharacterData - interface org.w3c.dom.CharacterData.
- The
CharacterDatainterface extends Node with a set of attributes and methods for accessing character data in the DOM. - Comment - interface org.w3c.dom.Comment.
- This interface inherits from
CharacterDataand represents the content of a comment, i.e., all the characters between the starting '<!--' and ending '-->'. - canSetParameter(String, Object) - Method in interface org.w3c.dom.DOMConfiguration
- Check if setting a parameter to a specific value is supported.
- cloneNode(boolean) - Method in interface org.w3c.dom.Node
- Returns a duplicate of this node, i.e., serves as a generic copy constructor for nodes.
- code - Variable in class org.w3c.dom.DOMException
- compareDocumentPosition(Node) - Method in interface org.w3c.dom.Node
- Compares the reference node, i.e.
- contains(String) - Method in interface org.w3c.dom.DOMStringList
- Test if a string is part of this
DOMStringList. - contains(String) - Method in interface org.w3c.dom.NameList
- Test if a name is part of this
NameList. - containsNS(String, String) - Method in interface org.w3c.dom.NameList
- Test if the pair namespaceURI/name is part of this
NameList. - createAttribute(String) - Method in interface org.w3c.dom.Document
- Creates an
Attrof the given name. - createAttributeNS(String, String) - Method in interface org.w3c.dom.Document
- Creates an attribute of the given qualified name and namespace URI.
- createCDATASection(String) - Method in interface org.w3c.dom.Document
- Creates a
CDATASectionnode whose value is the specified string. - createComment(String) - Method in interface org.w3c.dom.Document
- Creates a
Commentnode given the specified string. - createDocument(String, String, DocumentType) - Method in interface org.w3c.dom.DOMImplementation
- Creates a DOM Document object of the specified type with its document element.
- createDocumentFragment() - Method in interface org.w3c.dom.Document
- Creates an empty
DocumentFragmentobject. - createDocumentType(String, String, String) - Method in interface org.w3c.dom.DOMImplementation
- Creates an empty
DocumentTypenode. - createElement(String) - Method in interface org.w3c.dom.Document
- Creates an element of the type specified.
- createElementNS(String, String) - Method in interface org.w3c.dom.Document
- Creates an element of the given qualified name and namespace URI.
- createEntityReference(String) - Method in interface org.w3c.dom.Document
- Creates an
EntityReferenceobject. - createProcessingInstruction(String, String) - Method in interface org.w3c.dom.Document
- Creates a
ProcessingInstructionnode given the specified name and data strings. - createTextNode(String) - Method in interface org.w3c.dom.Document
- Creates a
Textnode given the specified string.
D
- DERIVATION_EXTENSION - Static variable in interface org.w3c.dom.TypeInfo
- If the document's schema is an XML Schema [XML Schema Part 1] , this constant represents the derivation by extension.
- DERIVATION_LIST - Static variable in interface org.w3c.dom.TypeInfo
- If the document's schema is an XML Schema [XML Schema Part 1] , this constant represents the list.
- DERIVATION_RESTRICTION - Static variable in interface org.w3c.dom.TypeInfo
- If the document's schema is an XML Schema [XML Schema Part 1] , this constant represents the derivation by restriction if complex types are involved, or a restriction if simple types are involved.
- DERIVATION_UNION - Static variable in interface org.w3c.dom.TypeInfo
- If the document's schema is an XML Schema [XML Schema Part 1] , this constant represents the union if simple types are involved.
- DOCUMENT_FRAGMENT_NODE - Static variable in interface org.w3c.dom.Node
- The node is a
DocumentFragment. - DOCUMENT_NODE - Static variable in interface org.w3c.dom.Node
- The node is a
Document. - DOCUMENT_POSITION_CONTAINED_BY - Static variable in interface org.w3c.dom.Node
- The node is contained by the reference node.
- DOCUMENT_POSITION_CONTAINS - Static variable in interface org.w3c.dom.Node
- The node contains the reference node.
- DOCUMENT_POSITION_DISCONNECTED - Static variable in interface org.w3c.dom.Node
- The two nodes are disconnected.
- DOCUMENT_POSITION_FOLLOWING - Static variable in interface org.w3c.dom.Node
- The node follows the reference node.
- DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC - Static variable in interface org.w3c.dom.Node
- The determination of preceding versus following is implementation-specific.
- DOCUMENT_POSITION_PRECEDING - Static variable in interface org.w3c.dom.Node
- The second node precedes the reference node.
- DOCUMENT_TYPE_NODE - Static variable in interface org.w3c.dom.Node
- The node is a
DocumentType. - DOMConfiguration - interface org.w3c.dom.DOMConfiguration.
- The
DOMConfigurationinterface represents the configuration of a document and maintains a table of recognized parameters. - DOMError - interface org.w3c.dom.DOMError.
DOMErroris an interface that describes an error.- DOMErrorHandler - interface org.w3c.dom.DOMErrorHandler.
DOMErrorHandleris 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.- DOMException - exception org.w3c.dom.DOMException.
- DOM operations only raise exceptions in "exceptional" circumstances, i.e., when an operation is impossible to perform (either for logical reasons, because data is lost, or because the implementation has become unstable).
- DOMException(short, String) - Constructor for class org.w3c.dom.DOMException
- DOMImplementation - interface org.w3c.dom.DOMImplementation.
- The
DOMImplementationinterface provides a number of methods for performing operations that are independent of any particular instance of the document object model. - DOMImplementationList - interface org.w3c.dom.DOMImplementationList.
- The
DOMImplementationListinterface provides the abstraction of an ordered collection of DOM implementations, without defining or constraining how this collection is implemented. - DOMImplementationSource - interface org.w3c.dom.DOMImplementationSource.
- This interface permits a DOM implementer to supply one or more implementations, based upon requested features and versions, as specified in .
- DOMLocator - interface org.w3c.dom.DOMLocator.
DOMLocatoris an interface that describes a location (e.g.- DOMSTRING_SIZE_ERR - Static variable in class org.w3c.dom.DOMException
- If the specified range of text does not fit into a
DOMString. - DOMStringList - interface org.w3c.dom.DOMStringList.
- The
DOMStringListinterface provides the abstraction of an ordered collection ofDOMStringvalues, without defining or constraining how this collection is implemented. - Document - interface org.w3c.dom.Document.
- The
Documentinterface represents the entire HTML or XML document. - DocumentFragment - interface org.w3c.dom.DocumentFragment.
DocumentFragmentis a "lightweight" or "minimal"Documentobject.- DocumentType - interface org.w3c.dom.DocumentType.
- Each
Documenthas adoctypeattribute whose value is eithernullor aDocumentTypeobject. - deleteData(int, int) - Method in interface org.w3c.dom.CharacterData
- Remove a range of 16-bit units from the node.
E
- ELEMENT_NODE - Static variable in interface org.w3c.dom.Node
- The node is an
Element. - ENTITY_NODE - Static variable in interface org.w3c.dom.Node
- The node is an
Entity. - ENTITY_REFERENCE_NODE - Static variable in interface org.w3c.dom.Node
- The node is an
EntityReference. - Element - interface org.w3c.dom.Element.
- The
Elementinterface represents an element in an HTML or XML document. - Entity - interface org.w3c.dom.Entity.
- This interface represents a known entity, either parsed or unparsed, in an XML document.
- EntityReference - interface org.w3c.dom.EntityReference.
EntityReferencenodes may be used to represent an entity reference in the tree.
G
- getAttribute(String) - Method in interface org.w3c.dom.Element
- Retrieves an attribute value by name.
- getAttributeNS(String, String) - Method in interface org.w3c.dom.Element
- Retrieves an attribute value by local name and namespace URI.
- getAttributeNode(String) - Method in interface org.w3c.dom.Element
- Retrieves an attribute node by name.
- getAttributeNodeNS(String, String) - Method in interface org.w3c.dom.Element
- Retrieves an
Attrnode by local name and namespace URI. - getAttributes() - Method in interface org.w3c.dom.Node
- A
NamedNodeMapcontaining the attributes of this node (if it is anElement) ornullotherwise. - getBaseURI() - Method in interface org.w3c.dom.Node
- The absolute base URI of this node or
nullif the implementation wasn't able to obtain an absolute URI. - getByteOffset() - Method in interface org.w3c.dom.DOMLocator
- The byte offset into the input source this locator is pointing to or
-1if there is no byte offset available. - getChildNodes() - Method in interface org.w3c.dom.Node
- A
NodeListthat contains all children of this node. - getColumnNumber() - Method in interface org.w3c.dom.DOMLocator
- The column number this locator is pointing to, or
-1if there is no column number available. - getDOMImplementation(String) - Method in interface org.w3c.dom.DOMImplementationSource
- A method to request the first DOM implementation that supports the specified features.
- getDOMImplementationList(String) - Method in interface org.w3c.dom.DOMImplementationSource
- A method to request a list of DOM implementations that support the specified features and versions, as specified in .
- getData() - Method in interface org.w3c.dom.CharacterData
- The character data of the node that implements this interface.
- getData() - Method in interface org.w3c.dom.ProcessingInstruction
- The content of this processing instruction.
- getDoctype() - Method in interface org.w3c.dom.Document
- The Document Type Declaration (see
DocumentType) associated with this document. - getDocumentElement() - Method in interface org.w3c.dom.Document
- This is a convenience attribute that allows direct access to the child node that is the document element of the document.
- getDocumentURI() - Method in interface org.w3c.dom.Document
- The location of the document or
nullif undefined or if theDocumentwas created usingDOMImplementation.createDocument. - getDomConfig() - Method in interface org.w3c.dom.Document
- The configuration used when
Document.normalizeDocument()is invoked. - getElementById(String) - Method in interface org.w3c.dom.Document
- Returns the
Elementthat has an ID attribute with the given value. - getElementsByTagName(String) - Method in interface org.w3c.dom.Document
- Returns a
NodeListof all theElementsin document order with a given tag name and are contained in the document. - getElementsByTagName(String) - Method in interface org.w3c.dom.Element
- Returns a
NodeListof all descendantElementswith a given tag name, in document order. - getElementsByTagNameNS(String, String) - Method in interface org.w3c.dom.Document
- Returns a
NodeListof all theElementswith a given local name and namespace URI in document order. - getElementsByTagNameNS(String, String) - Method in interface org.w3c.dom.Element
- Returns a
NodeListof all the descendantElementswith a given local name and namespace URI in document order. - getEntities() - Method in interface org.w3c.dom.DocumentType
- A
NamedNodeMapcontaining the general entities, both external and internal, declared in the DTD. - getFeature(String, String) - Method in interface org.w3c.dom.DOMImplementation
- This method returns a specialized object which implements the specialized APIs of the specified feature and version, as specified in .
- getFeature(String, String) - Method in interface org.w3c.dom.Node
- This method returns a specialized object which implements the specialized APIs of the specified feature and version, as specified in .
- getFirstChild() - Method in interface org.w3c.dom.Node
- The first child of this node.
- getImplementation() - Method in interface org.w3c.dom.Document
- The
DOMImplementationobject that handles this document. - getInputEncoding() - Method in interface org.w3c.dom.Document
- An attribute specifying the encoding used for this document at the time of the parsing.
- getInputEncoding() - Method in interface org.w3c.dom.Entity
- An attribute specifying the encoding used for this entity at the time of parsing, when it is an external parsed entity.
- getInternalSubset() - Method in interface org.w3c.dom.DocumentType
- The internal subset as a string, or
nullif there is none. - getLastChild() - Method in interface org.w3c.dom.Node
- The last child of this node.
- getLength() - Method in interface org.w3c.dom.CharacterData
- The number of 16-bit units that are available through
dataand thesubstringDatamethod below. - getLength() - Method in interface org.w3c.dom.DOMImplementationList
- The number of
DOMImplementations in the list. - getLength() - Method in interface org.w3c.dom.DOMStringList
- The number of
DOMStrings in the list. - getLength() - Method in interface org.w3c.dom.NameList
- The number of pairs (name and namespaceURI) in the list.
- getLength() - Method in interface org.w3c.dom.NamedNodeMap
- The number of nodes in this map.
- getLength() - Method in interface org.w3c.dom.NodeList
- The number of nodes in the list.
- getLineNumber() - Method in interface org.w3c.dom.DOMLocator
- The line number this locator is pointing to, or
-1if there is no column number available. - getLocalName() - Method in interface org.w3c.dom.Node
- Returns the local part of the qualified name of this node.
- getLocation() - Method in interface org.w3c.dom.DOMError
- The location of the error.
- getMessage() - Method in interface org.w3c.dom.DOMError
- An implementation specific string describing the error that occurred.
- getName() - Method in interface org.w3c.dom.Attr
- Returns the name of this attribute.
- getName() - Method in interface org.w3c.dom.DocumentType
- The name of DTD; i.e., the name immediately following the
DOCTYPEkeyword. - getName(int) - Method in interface org.w3c.dom.NameList
- Returns the
indexth name item in the collection. - getNamedItem(String) - Method in interface org.w3c.dom.NamedNodeMap
- Retrieves a node specified by name.
- getNamedItemNS(String, String) - Method in interface org.w3c.dom.NamedNodeMap
- Retrieves a node specified by local name and namespace URI.
- getNamespaceURI(int) - Method in interface org.w3c.dom.NameList
- Returns the
indexth namespaceURI item in the collection. - getNamespaceURI() - Method in interface org.w3c.dom.Node
- The namespace URI of this node, or
nullif it is unspecified (see ). - getNextSibling() - Method in interface org.w3c.dom.Node
- The node immediately following this node.
- getNodeName() - Method in interface org.w3c.dom.Node
- The name of this node, depending on its type; see the table above.
- getNodeType() - Method in interface org.w3c.dom.Node
- A code representing the type of the underlying object, as defined above.
- getNodeValue() - Method in interface org.w3c.dom.Node
- The value of this node, depending on its type; see the table above.
- getNotationName() - Method in interface org.w3c.dom.Entity
- For unparsed entities, the name of the notation for the entity.
- getNotations() - Method in interface org.w3c.dom.DocumentType
- A
NamedNodeMapcontaining the notations declared in the DTD. - getOwnerDocument() - Method in interface org.w3c.dom.Node
- The
Documentobject associated with this node. - getOwnerElement() - Method in interface org.w3c.dom.Attr
- The
Elementnode this attribute is attached to ornullif this attribute is not in use. - getParameter(String) - Method in interface org.w3c.dom.DOMConfiguration
- Return the value of a parameter if known.
- getParameterNames() - Method in interface org.w3c.dom.DOMConfiguration
- The list of the parameters supported by this
DOMConfigurationobject and for which at least one value can be set by the application. - getParentNode() - Method in interface org.w3c.dom.Node
- The parent of this node.
- getPrefix() - Method in interface org.w3c.dom.Node
- The namespace prefix of this node, or
nullif it is unspecified. - getPreviousSibling() - Method in interface org.w3c.dom.Node
- The node immediately preceding this node.
- getPublicId() - Method in interface org.w3c.dom.DocumentType
- The public identifier of the external subset.
- getPublicId() - Method in interface org.w3c.dom.Entity
- The public identifier associated with the entity if specified, and
nullotherwise. - getPublicId() - Method in interface org.w3c.dom.Notation
- The public identifier of this notation.
- getRelatedData() - Method in interface org.w3c.dom.DOMError
- The related
DOMError.typedependent data if any. - getRelatedException() - Method in interface org.w3c.dom.DOMError
- The related platform dependent exception if any.
- getRelatedNode() - Method in interface org.w3c.dom.DOMLocator
- The node this locator is pointing to, or
nullif no node is available. - getSchemaTypeInfo() - Method in interface org.w3c.dom.Attr
- The type information associated with this attribute.
- getSchemaTypeInfo() - Method in interface org.w3c.dom.Element
- The type information associated with this element.
- getSeverity() - Method in interface org.w3c.dom.DOMError
- The severity of the error, either
SEVERITY_WARNING,SEVERITY_ERROR, orSEVERITY_FATAL_ERROR. - getSpecified() - Method in interface org.w3c.dom.Attr
Trueif this attribute was explicitly given a value in the instance document,falseotherwise.- getStrictErrorChecking() - Method in interface org.w3c.dom.Document
- An attribute specifying whether error checking is enforced or not.
- getSystemId() - Method in interface org.w3c.dom.DocumentType
- The system identifier of the external subset.
- getSystemId() - Method in interface org.w3c.dom.Entity
- The system identifier associated with the entity if specified, and
nullotherwise. - getSystemId() - Method in interface org.w3c.dom.Notation
- The system identifier of this notation.
- getTagName() - Method in interface org.w3c.dom.Element
- The name of the element.
- getTarget() - Method in interface org.w3c.dom.ProcessingInstruction
- The target of this processing instruction.
- getTextContent() - Method in interface org.w3c.dom.Node
- This attribute returns the text content of this node and its descendants.
- getType() - Method in interface org.w3c.dom.DOMError
- A
DOMStringindicating which related data is expected inrelatedData. - getTypeName() - Method in interface org.w3c.dom.TypeInfo
- The name of a type declared for the associated element or attribute,
or
nullif unknown. - getTypeNamespace() - Method in interface org.w3c.dom.TypeInfo
- The namespace of the type declared for the associated element or
attribute or
nullif the element does not have declaration or if no namespace information is available. - getUri() - Method in interface org.w3c.dom.DOMLocator
- The URI this locator is pointing to, or
nullif no URI is available. - getUserData(String) - Method in interface org.w3c.dom.Node
- Retrieves the object associated to a key on a this node.
- getUtf16Offset() - Method in interface org.w3c.dom.DOMLocator
- The UTF-16, as defined in [Unicode] and Amendment 1 of [ISO/IEC 10646], offset into the input source this locator is pointing to or
-1if there is no UTF-16 offset available. - getValue() - Method in interface org.w3c.dom.Attr
- On retrieval, the value of the attribute is returned as a string.
- getWholeText() - Method in interface org.w3c.dom.Text
- Returns all text of
Textnodes logically-adjacent text nodes to this node, concatenated in document order. - getXmlEncoding() - Method in interface org.w3c.dom.Document
- An attribute specifying, as part of the XML declaration, the encoding of this document.
- getXmlEncoding() - Method in interface org.w3c.dom.Entity
- An attribute specifying, as part of the text declaration, the encoding of this entity, when it is an external parsed entity.
- getXmlStandalone() - Method in interface org.w3c.dom.Document
- An attribute specifying, as part of the XML declaration, whether this document is standalone.
- getXmlVersion() - Method in interface org.w3c.dom.Document
- An attribute specifying, as part of the XML declaration, the version number of this document.
- getXmlVersion() - Method in interface org.w3c.dom.Entity
- An attribute specifying, as part of the text declaration, the version number of this entity, when it is an external parsed entity.
H
- HIERARCHY_REQUEST_ERR - Static variable in class org.w3c.dom.DOMException
- If any
Nodeis inserted somewhere it doesn't belong. - handle(short, String, Object, Node, Node) - Method in interface org.w3c.dom.UserDataHandler
- This method is called whenever the node for which this handler is registered is imported or cloned.
- handleError(DOMError) - Method in interface org.w3c.dom.DOMErrorHandler
- This method is called on the error handler when an error occurs.
- hasAttribute(String) - Method in interface org.w3c.dom.Element
- Returns
truewhen an attribute with a given name is specified on this element or has a default value,falseotherwise. - hasAttributeNS(String, String) - Method in interface org.w3c.dom.Element
- Returns
truewhen an attribute with a given local name and namespace URI is specified on this element or has a default value,falseotherwise. - hasAttributes() - Method in interface org.w3c.dom.Node
- Returns whether this node (if it is an element) has any attributes.
- hasChildNodes() - Method in interface org.w3c.dom.Node
- Returns whether this node has any children.
- hasFeature(String, String) - Method in interface org.w3c.dom.DOMImplementation
- Test if the DOM implementation implements a specific feature and version, as specified in .
I
- INDEX_SIZE_ERR - Static variable in class org.w3c.dom.DOMException
- If index or size is negative, or greater than the allowed value.
- INUSE_ATTRIBUTE_ERR - Static variable in class org.w3c.dom.DOMException
- If an attempt is made to add an attribute that is already in use elsewhere.
- INVALID_ACCESS_ERR - Static variable in class org.w3c.dom.DOMException
- If a parameter or an operation is not supported by the underlying object.
- INVALID_CHARACTER_ERR - Static variable in class org.w3c.dom.DOMException
- If an invalid or illegal character is specified, such as in an XML name.
- INVALID_MODIFICATION_ERR - Static variable in class org.w3c.dom.DOMException
- If an attempt is made to modify the type of the underlying object.
- INVALID_STATE_ERR - Static variable in class org.w3c.dom.DOMException
- If an attempt is made to use an object that is not, or is no longer, usable.
- importNode(Node, boolean) - Method in interface org.w3c.dom.Document
- Imports a node from another document to this document, without altering or removing the source node from the original document; this method creates a new copy of the source node.
- insertBefore(Node, Node) - Method in interface org.w3c.dom.Node
- Inserts the node
newChildbefore the existing child noderefChild. - insertData(int, String) - Method in interface org.w3c.dom.CharacterData
- Insert a string at the specified 16-bit unit offset.
- isDefaultNamespace(String) - Method in interface org.w3c.dom.Node
- This method checks if the specified
namespaceURIis the default namespace or not. - isDerivedFrom(String, String, int) - Method in interface org.w3c.dom.TypeInfo
- This method returns if there is a derivation between the reference type definition, i.e.
- isElementContentWhitespace() - Method in interface org.w3c.dom.Text
- Returns whether this text node contains element content whitespace, often abusively called "ignorable whitespace".
- isEqualNode(Node) - Method in interface org.w3c.dom.Node
- Tests whether two nodes are equal.
- isId() - Method in interface org.w3c.dom.Attr
- Returns whether this attribute is known to be of type ID (i.e.
- isSameNode(Node) - Method in interface org.w3c.dom.Node
- Returns whether this node is the same node as the given one.
- isSupported(String, String) - Method in interface org.w3c.dom.Node
- Tests whether the DOM implementation implements a specific feature and that feature is supported by this node, as specified in .
- item(int) - Method in interface org.w3c.dom.DOMImplementationList
- Returns the
indexth item in the collection. - item(int) - Method in interface org.w3c.dom.DOMStringList
- Returns the
indexth item in the collection. - item(int) - Method in interface org.w3c.dom.NamedNodeMap
- Returns the
indexth item in the map. - item(int) - Method in interface org.w3c.dom.NodeList
- Returns the
indexth item in the collection.
L
- lookupNamespaceURI(String) - Method in interface org.w3c.dom.Node
- Look up the namespace URI associated to the given prefix, starting from this node.
- lookupPrefix(String) - Method in interface org.w3c.dom.Node
- Look up the prefix associated to the given namespace URI, starting from this node.
N
- NAMESPACE_ERR - Static variable in class org.w3c.dom.DOMException
- If an attempt is made to create or change an object in a way which is incorrect with regard to namespaces.
- NODE_ADOPTED - Static variable in interface org.w3c.dom.UserDataHandler
- The node is adopted, using
Document.adoptNode(). - NODE_CLONED - Static variable in interface org.w3c.dom.UserDataHandler
- The node is cloned, using
Node.cloneNode(). - NODE_DELETED - Static variable in interface org.w3c.dom.UserDataHandler
- The node is deleted.
- NODE_IMPORTED - Static variable in interface org.w3c.dom.UserDataHandler
- The node is imported, using
Document.importNode(). - NODE_RENAMED - Static variable in interface org.w3c.dom.UserDataHandler
- The node is renamed, using
Document.renameNode(). - NOTATION_NODE - Static variable in interface org.w3c.dom.Node
- The node is a
Notation. - NOT_FOUND_ERR - Static variable in class org.w3c.dom.DOMException
- If an attempt is made to reference a
Nodein a context where it does not exist. - NOT_SUPPORTED_ERR - Static variable in class org.w3c.dom.DOMException
- If the implementation does not support the requested type of object or operation.
- NO_DATA_ALLOWED_ERR - Static variable in class org.w3c.dom.DOMException
- If data is specified for a
Nodewhich does not support data. - NO_MODIFICATION_ALLOWED_ERR - Static variable in class org.w3c.dom.DOMException
- If an attempt is made to modify an object where modifications are not allowed.
- NameList - interface org.w3c.dom.NameList.
- The
NameListinterface 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. - NamedNodeMap - interface org.w3c.dom.NamedNodeMap.
- Objects implementing the
NamedNodeMapinterface are used to represent collections of nodes that can be accessed by name. - Node - interface org.w3c.dom.Node.
- The
Nodeinterface is the primary datatype for the entire Document Object Model. - NodeList - interface org.w3c.dom.NodeList.
- The
NodeListinterface provides the abstraction of an ordered collection of nodes, without defining or constraining how this collection is implemented. - Notation - interface org.w3c.dom.Notation.
- This interface represents a notation declared in the DTD.
- normalize() - Method in interface org.w3c.dom.Node
- Puts all
Textnodes in the full depth of the sub-tree underneath thisNode, including attribute nodes, into a "normal" form where only structure (e.g., elements, comments, processing instructions, CDATA sections, and entity references) separatesTextnodes, i.e., there are neither adjacentTextnodes nor emptyTextnodes. - normalizeDocument() - Method in interface org.w3c.dom.Document
- This method acts as if the document was going through a save and load cycle, putting the document in a "normal" form.
O
- org.w3c.dom - package org.w3c.dom
P
- PROCESSING_INSTRUCTION_NODE - Static variable in interface org.w3c.dom.Node
- The node is a
ProcessingInstruction. - ProcessingInstruction - interface org.w3c.dom.ProcessingInstruction.
- The
ProcessingInstructioninterface represents a "processing instruction", used in XML as a way to keep processor-specific information in the text of the document.
R
- removeAttribute(String) - Method in interface org.w3c.dom.Element
- Removes an attribute by name.
- removeAttributeNS(String, String) - Method in interface org.w3c.dom.Element
- Removes an attribute by local name and namespace URI.
- removeAttributeNode(Attr) - Method in interface org.w3c.dom.Element
- Removes the specified attribute node.
- removeChild(Node) - Method in interface org.w3c.dom.Node
- Removes the child node indicated by
oldChildfrom the list of children, and returns it. - removeNamedItem(String) - Method in interface org.w3c.dom.NamedNodeMap
- Removes a node specified by name.
- removeNamedItemNS(String, String) - Method in interface org.w3c.dom.NamedNodeMap
- Removes a node specified by local name and namespace URI.
- renameNode(Node, String, String) - Method in interface org.w3c.dom.Document
- Rename an existing node of type
ELEMENT_NODEorATTRIBUTE_NODE. - replaceChild(Node, Node) - Method in interface org.w3c.dom.Node
- Replaces the child node
oldChildwithnewChildin the list of children, and returns theoldChildnode. - replaceData(int, int, String) - Method in interface org.w3c.dom.CharacterData
- Replace the characters starting at the specified 16-bit unit offset with the specified string.
- replaceWholeText(String) - Method in interface org.w3c.dom.Text
- Replaces the text of the current node and all logically-adjacent text nodes with the specified text.
S
- SEVERITY_ERROR - Static variable in interface org.w3c.dom.DOMError
- The severity of the error described by the
DOMErroris error. - SEVERITY_FATAL_ERROR - Static variable in interface org.w3c.dom.DOMError
- The severity of the error described by the
DOMErroris fatal error. - SEVERITY_WARNING - Static variable in interface org.w3c.dom.DOMError
- The severity of the error described by the
DOMErroris warning. - SYNTAX_ERR - Static variable in class org.w3c.dom.DOMException
- If an invalid or illegal string is specified.
- setAttribute(String, String) - Method in interface org.w3c.dom.Element
- Adds a new attribute.
- setAttributeNS(String, String, String) - Method in interface org.w3c.dom.Element
- Adds a new attribute.
- setAttributeNode(Attr) - Method in interface org.w3c.dom.Element
- Adds a new attribute node.
- setAttributeNodeNS(Attr) - Method in interface org.w3c.dom.Element
- Adds a new attribute.
- setData(String) - Method in interface org.w3c.dom.CharacterData
- The character data of the node that implements this interface.
- setData(String) - Method in interface org.w3c.dom.ProcessingInstruction
- The content of this processing instruction.
- setDocumentURI(String) - Method in interface org.w3c.dom.Document
- The location of the document or
nullif undefined or if theDocumentwas created usingDOMImplementation.createDocument. - setIdAttribute(String, boolean) - Method in interface org.w3c.dom.Element
- If the parameter
isIdistrue, this method declares the specified attribute to be a user-determined ID attribute . - setIdAttributeNS(String, String, boolean) - Method in interface org.w3c.dom.Element
- If the parameter
isIdistrue, this method declares the specified attribute to be a user-determined ID attribute . - setIdAttributeNode(Attr, boolean) - Method in interface org.w3c.dom.Element
- If the parameter
isIdistrue, this method declares the specified attribute to be a user-determined ID attribute . - setNamedItem(Node) - Method in interface org.w3c.dom.NamedNodeMap
- Adds a node using its
nodeNameattribute. - setNamedItemNS(Node) - Method in interface org.w3c.dom.NamedNodeMap
- Adds a node using its
namespaceURIandlocalName. - setNodeValue(String) - Method in interface org.w3c.dom.Node
- The value of this node, depending on its type; see the table above.
- setParameter(String, Object) - Method in interface org.w3c.dom.DOMConfiguration
- Set the value of a parameter.
- setPrefix(String) - Method in interface org.w3c.dom.Node
- The namespace prefix of this node, or
nullif it is unspecified. - setStrictErrorChecking(boolean) - Method in interface org.w3c.dom.Document
- An attribute specifying whether error checking is enforced or not.
- setTextContent(String) - Method in interface org.w3c.dom.Node
- This attribute returns the text content of this node and its descendants.
- setUserData(String, Object, UserDataHandler) - Method in interface org.w3c.dom.Node
- Associate an object to a key on this node.
- setValue(String) - Method in interface org.w3c.dom.Attr
- On retrieval, the value of the attribute is returned as a string.
- setXmlStandalone(boolean) - Method in interface org.w3c.dom.Document
- An attribute specifying, as part of the XML declaration, whether this document is standalone.
- setXmlVersion(String) - Method in interface org.w3c.dom.Document
- An attribute specifying, as part of the XML declaration, the version number of this document.
- splitText(int) - Method in interface org.w3c.dom.Text
- Breaks this node into two nodes at the specified
offset, keeping both in the tree as siblings. - substringData(int, int) - Method in interface org.w3c.dom.CharacterData
- Extracts a range of data from the node.
T
- TEXT_NODE - Static variable in interface org.w3c.dom.Node
- The node is a
Textnode. - TYPE_MISMATCH_ERR - Static variable in class org.w3c.dom.DOMException
- If the type of an object is incompatible with the expected type of the parameter associated to the object.
- Text - interface org.w3c.dom.Text.
- The
Textinterface inherits fromCharacterDataand represents the textual content (termed character data in XML) of anElementorAttr. - TypeInfo - interface org.w3c.dom.TypeInfo.
- The
TypeInfointerface represents a type referenced fromElementorAttrnodes, specified in the schemas associated with the document.
U
- UserDataHandler - interface org.w3c.dom.UserDataHandler.
- When associating an object to a key on a node using
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.
V
- VALIDATION_ERR - Static variable in class org.w3c.dom.DOMException
- If a call to a method such as
insertBeforeorremoveChildwould make theNodeinvalid with respect to "partial validity", this exception would be raised and the operation would not be done.
W
- WRONG_DOCUMENT_ERR - Static variable in class org.w3c.dom.DOMException
- If a
Nodeis used in a different document than the one that created it (that doesn't support it).
A C D E G H I L N O P R S T U V W
|
|||||||||
| Home >> All >> org >> w3c >> [ dom overview ] | PREV NEXT | ||||||||