|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of DOMException in org.apache.html.dom |
Methods in org.apache.html.dom that throw DOMException | |
Element |
HTMLDocumentImpl.createElement(java.lang.String tagName)
|
Attr |
HTMLDocumentImpl.createAttribute(java.lang.String name)
Creates an Attribute having this Document as its OwnerDoc. |
HTMLDocument |
HTMLDOMImplementationImpl.createHTMLDocument(java.lang.String title)
Create a new HTML document of the specified TITLE text. |
Uses of DOMException in org.apache.wml.dom |
Methods in org.apache.wml.dom that throw DOMException | |
Document |
WMLDOMImplementationImpl.createDocument(java.lang.String namespaceURI,
java.lang.String qualifiedName,
DocumentType doctype)
|
Element |
WMLDocumentImpl.createElement(java.lang.String tagName)
|
Uses of DOMException in org.apache.xerces.dom |
Methods in org.apache.xerces.dom that throw DOMException | |
void |
NodeImpl.setNodeValue(java.lang.String x)
Sets the node value. |
Node |
NodeImpl.appendChild(Node newChild)
Adds a child node to the end of the list of children for this node. |
Node |
NodeImpl.insertBefore(Node newChild,
Node refChild)
Move one or more node(s) to our list of children. |
Node |
NodeImpl.removeChild(Node oldChild)
Remove a child from this Node. |
Node |
NodeImpl.replaceChild(Node newChild,
Node oldChild)
Make newChild occupy the location that oldChild used to have. |
void |
NodeImpl.setPrefix(java.lang.String prefix)
Introduced in DOM Level 2. |
Node |
ParentNode.insertBefore(Node newChild,
Node refChild)
Move one or more node(s) to our list of children. |
Node |
ParentNode.removeChild(Node oldChild)
Remove a child from this Node. |
Node |
ParentNode.replaceChild(Node newChild,
Node oldChild)
Make newChild occupy the location that oldChild used to have. |
Attr |
ElementImpl.removeAttributeNode(Attr oldAttr)
Remove the specified attribute/value pair. |
Attr |
ElementImpl.setAttributeNode(Attr newAttr)
Add a new attribute/value pair, or replace the value of the existing attribute with that name. |
Attr |
ElementImpl.setAttributeNodeNS(Attr newAttr)
Introduced in DOM Level 2. |
Node |
CoreDocumentImpl.insertBefore(Node newChild,
Node refChild)
Since a Document may contain at most one top-level Element child, and at most one DocumentType declaraction, we need to subclass our add-children methods to implement this constraint. |
Node |
CoreDocumentImpl.removeChild(Node oldChild)
Since insertBefore caches the docElement (and, currently, docType), removeChild has to know how to undo the cache REVISIT: According to the spec it is not allowed to alter neither the document element nor the document type in any way |
Node |
CoreDocumentImpl.replaceChild(Node newChild,
Node oldChild)
Since we cache the docElement (and, currently, docType), replaceChild has to update the cache REVISIT: According to the spec it is not allowed to alter neither the document element nor the document type in any way |
Attr |
CoreDocumentImpl.createAttribute(java.lang.String name)
Factory method; creates an Attribute having this Document as its OwnerDoc. |
CDATASection |
CoreDocumentImpl.createCDATASection(java.lang.String data)
Factory method; creates a CDATASection having this Document as its OwnerDoc. |
Element |
CoreDocumentImpl.createElement(java.lang.String tagName)
Factory method; creates an Element having this Document as its OwnerDoc. |
EntityReference |
CoreDocumentImpl.createEntityReference(java.lang.String name)
Factory method; creates an EntityReference having this Document as its OwnerDoc. |
ProcessingInstruction |
CoreDocumentImpl.createProcessingInstruction(java.lang.String target,
java.lang.String data)
Factory method; creates a ProcessingInstruction having this Document as its OwnerDoc. |
DocumentType |
CoreDocumentImpl.createDocumentType(java.lang.String qualifiedName,
java.lang.String publicID,
java.lang.String systemID)
NON-DOM Factory method; creates a DocumentType having this Document as its OwnerDoc. |
Entity |
CoreDocumentImpl.createEntity(java.lang.String name)
NON-DOM Factory method; creates an Entity having this Document as its OwnerDoc. |
Notation |
CoreDocumentImpl.createNotation(java.lang.String name)
NON-DOM Factory method; creates a Notation having this Document as its OwnerDoc. |
ElementDefinitionImpl |
CoreDocumentImpl.createElementDefinition(java.lang.String name)
NON-DOM Factory method: creates an element definition. |
Node |
CoreDocumentImpl.importNode(Node source,
boolean deep)
Copies a node from another document to this document. |
Element |
CoreDocumentImpl.createElementNS(java.lang.String namespaceURI,
java.lang.String qualifiedName)
Introduced in DOM Level 2. |
Attr |
CoreDocumentImpl.createAttributeNS(java.lang.String namespaceURI,
java.lang.String qualifiedName)
Introduced in DOM Level 2. |
Event |
DocumentImpl.createEvent(java.lang.String type)
Introduced in DOM Level 2. |
Document |
DOMImplementationImpl.createDocument(java.lang.String namespaceURI,
java.lang.String qualifiedName,
DocumentType doctype)
Introduced in DOM Level 2. |
void |
AttrImpl.setNodeValue(java.lang.String value)
Implicit in the rerouting of getNodeValue to getValue is the need to redefine setNodeValue, for symmetry's sake. |
Node |
AttrImpl.insertBefore(Node newChild,
Node refChild)
Move one or more node(s) to our list of children. |
Node |
AttrImpl.removeChild(Node oldChild)
Remove a child from this Node. |
Node |
AttrImpl.replaceChild(Node newChild,
Node oldChild)
Make newChild occupy the location that oldChild used to have. |
void |
AttrNSImpl.setPrefix(java.lang.String prefix)
Introduced in DOM Level 2. |
void |
CharacterDataImpl.deleteData(int offset,
int count)
Remove a range of characters from the node's value. |
void |
CharacterDataImpl.insertData(int offset,
java.lang.String data)
Insert additional characters into the data stored in this node, at the offset specified. |
void |
CharacterDataImpl.replaceData(int offset,
int count,
java.lang.String data)
Replace a series of characters at the specified (zero-based) offset with a new string, NOT necessarily of the same length. |
void |
CharacterDataImpl.setData(java.lang.String value)
Store character data into this node. |
java.lang.String |
CharacterDataImpl.substringData(int offset,
int count)
Substring is more than a convenience function. |
Document |
CoreDOMImplementationImpl.createDocument(java.lang.String namespaceURI,
java.lang.String qualifiedName,
DocumentType doctype)
Introduced in DOM Level 2. |
void |
ElementNSImpl.setPrefix(java.lang.String prefix)
Introduced in DOM Level 2. |
Text |
TextImpl.splitText(int offset)
Break a text node into two sibling nodes. |
Node |
NamedNodeMapImpl.setNamedItem(Node arg)
Adds a node using its nodeName attribute. |
Node |
NamedNodeMapImpl.setNamedItemNS(Node arg)
Adds a node using its namespaceURI and localName. |
Node |
NamedNodeMapImpl.removeNamedItem(java.lang.String name)
|
Node |
NamedNodeMapImpl.removeNamedItemNS(java.lang.String namespaceURI,
java.lang.String name)
Introduced in DOM Level 2. |
Node |
AttributeMap.setNamedItem(Node arg)
Adds an attribute using its nodeName attribute. |
Node |
AttributeMap.setNamedItemNS(Node arg)
Adds an attribute using its namespaceURI and localName. |
Node |
AttributeMap.removeNamedItem(java.lang.String name)
|
Node |
AttributeMap.removeNamedItemNS(java.lang.String namespaceURI,
java.lang.String name)
Introduced in DOM Level 2. |
void |
RangeImpl.setStart(Node refNode,
int offset)
|
void |
RangeImpl.setEnd(Node refNode,
int offset)
|
short |
RangeImpl.compareBoundaryPoints(short how,
Range sourceRange)
|
void |
RangeImpl.deleteContents()
|
DocumentFragment |
RangeImpl.extractContents()
|
DocumentFragment |
RangeImpl.cloneContents()
|
void |
RangeImpl.insertNode(Node newNode)
|
void |
RangeImpl.surroundContents(Node newParent)
|
Constructors in org.apache.xerces.dom that throw DOMException | |
ElementNSImpl.ElementNSImpl(CoreDocumentImpl ownerDocument,
java.lang.String namespaceURI,
java.lang.String qualifiedName)
DOM2: Constructor for Namespace implementation. |
Uses of DOMException in org.apache.xerces.validators.schema |
Methods in org.apache.xerces.validators.schema that throw DOMException | |
static void |
XUtil.copyInto(Node src,
Node dest)
Copies the source tree into the specified place in a destination tree. |
Uses of DOMException in org.w3c.dom |
Methods in org.w3c.dom that throw DOMException | |
void |
Element.setAttribute(java.lang.String name,
java.lang.String value)
Adds a new attribute. |
void |
Element.removeAttribute(java.lang.String name)
Removes an attribute by name. |
Attr |
Element.setAttributeNode(Attr newAttr)
Adds a new attribute node. |
Attr |
Element.removeAttributeNode(Attr oldAttr)
Removes the specified attribute node. |
void |
Element.setAttributeNS(java.lang.String namespaceURI,
java.lang.String qualifiedName,
java.lang.String value)
Adds a new attribute. |
void |
Element.removeAttributeNS(java.lang.String namespaceURI,
java.lang.String localName)
Removes an attribute by local name and namespace URI. |
Attr |
Element.setAttributeNodeNS(Attr newAttr)
Adds a new attribute. |
Text |
Text.splitText(int offset)
Breaks this node into two nodes at the specified offset ,
keeping both in the tree as siblings. |
void |
Attr.setValue(java.lang.String value)
|
Node |
NamedNodeMap.setNamedItem(Node arg)
Adds a node using its nodeName attribute. |
Node |
NamedNodeMap.removeNamedItem(java.lang.String name)
Removes a node specified by name. |
Node |
NamedNodeMap.setNamedItemNS(Node arg)
Adds a node using its namespaceURI and
localName . |
Node |
NamedNodeMap.removeNamedItemNS(java.lang.String namespaceURI,
java.lang.String localName)
Removes a node specified by local name and namespace URI. |
DocumentType |
DOMImplementation.createDocumentType(java.lang.String qualifiedName,
java.lang.String publicId,
java.lang.String systemId)
Creates an empty DocumentType node. |
Document |
DOMImplementation.createDocument(java.lang.String namespaceURI,
java.lang.String qualifiedName,
DocumentType doctype)
Creates an XML Document object of the specified type with
its document element. |
void |
ProcessingInstruction.setData(java.lang.String data)
|
java.lang.String |
Node.getNodeValue()
The value of this node, depending on its type; see the table above. |
void |
Node.setNodeValue(java.lang.String nodeValue)
|
Node |
Node.insertBefore(Node newChild,
Node refChild)
Inserts the node newChild before the existing child node
refChild . |
Node |
Node.replaceChild(Node newChild,
Node oldChild)
Replaces the child node oldChild with newChild
in the list of children, and returns the oldChild node. |
Node |
Node.removeChild(Node oldChild)
Removes the child node indicated by oldChild from the list
of children, and returns it. |
Node |
Node.appendChild(Node newChild)
Adds the node newChild to the end of the list of children
of this node. |
void |
Node.setPrefix(java.lang.String prefix)
|
java.lang.String |
CharacterData.getData()
The character data of the node that implements this interface. |
void |
CharacterData.setData(java.lang.String data)
|
java.lang.String |
CharacterData.substringData(int offset,
int count)
Extracts a range of data from the node. |
void |
CharacterData.appendData(java.lang.String arg)
Append the string to the end of the character data of the node. |
void |
CharacterData.insertData(int offset,
java.lang.String arg)
Insert a string at the specified 16-bit unit offset. |
void |
CharacterData.deleteData(int offset,
int count)
Remove a range of 16-bit units from the node. |
void |
CharacterData.replaceData(int offset,
int count,
java.lang.String arg)
Replace the characters starting at the specified 16-bit unit offset with the specified string. |
Element |
Document.createElement(java.lang.String tagName)
Creates an element of the type specified. |
CDATASection |
Document.createCDATASection(java.lang.String data)
Creates a CDATASection node whose value is the specified
string. |
ProcessingInstruction |
Document.createProcessingInstruction(java.lang.String target,
java.lang.String data)
Creates a ProcessingInstruction node given the specified
name and data strings. |
Attr |
Document.createAttribute(java.lang.String name)
Creates an Attr of the given name. |
EntityReference |
Document.createEntityReference(java.lang.String name)
Creates an EntityReference object. |
Node |
Document.importNode(Node importedNode,
boolean deep)
Imports a node from another document to this document. |
Element |
Document.createElementNS(java.lang.String namespaceURI,
java.lang.String qualifiedName)
Creates an element of the given qualified name and namespace URI. |
Attr |
Document.createAttributeNS(java.lang.String namespaceURI,
java.lang.String qualifiedName)
Creates an attribute of the given qualified name and namespace URI. |
Node |
Document.adoptNode(Node source)
EXPERIMENTAL! Based on the Document Object Model (DOM) Level 3 Core Working Draft of 5 June 2001.. |
Uses of DOMException in org.w3c.dom.events |
Methods in org.w3c.dom.events that throw DOMException | |
Event |
DocumentEvent.createEvent(java.lang.String eventType)
|
Uses of DOMException in org.w3c.dom.html |
Methods in org.w3c.dom.html that throw DOMException | |
HTMLElement |
HTMLTableSectionElement.insertRow(int index)
Insert a row into this section. |
void |
HTMLTableSectionElement.deleteRow(int index)
Delete a row from this section. |
HTMLElement |
HTMLTableElement.insertRow(int index)
Insert a new empty row in the table. |
void |
HTMLTableElement.deleteRow(int index)
Delete a table row. |
HTMLElement |
HTMLTableRowElement.insertCell(int index)
Insert an empty TD cell into this row. |
void |
HTMLTableRowElement.deleteCell(int index)
Delete a cell from the current row. |
void |
HTMLSelectElement.add(HTMLElement element,
HTMLElement before)
Add a new element to the collection of OPTION elements
for this SELECT . |
Uses of DOMException in org.w3c.dom.ranges |
Methods in org.w3c.dom.ranges that throw DOMException | |
Node |
Range.getStartContainer()
Node within which the Range begins |
int |
Range.getStartOffset()
Offset within the starting node of the Range. |
Node |
Range.getEndContainer()
Node within which the Range ends |
int |
Range.getEndOffset()
Offset within the ending node of the Range. |
boolean |
Range.getCollapsed()
TRUE if the Range is collapsed |
Node |
Range.getCommonAncestorContainer()
The deepest common ancestor container of the Range's two boundary-points. |
void |
Range.setStart(Node refNode,
int offset)
Sets the attributes describing the start of the Range. |
void |
Range.setEnd(Node refNode,
int offset)
Sets the attributes describing the end of a Range. |
void |
Range.setStartBefore(Node refNode)
Sets the start position to be before a node |
void |
Range.setStartAfter(Node refNode)
Sets the start position to be after a node |
void |
Range.setEndBefore(Node refNode)
Sets the end position to be before a node. |
void |
Range.setEndAfter(Node refNode)
Sets the end of a Range to be after a node |
void |
Range.collapse(boolean toStart)
Collapse a Range onto one of its boundary-points |
void |
Range.selectNode(Node refNode)
Select a node and its contents |
void |
Range.selectNodeContents(Node refNode)
Select the contents within a node |
short |
Range.compareBoundaryPoints(short how,
Range sourceRange)
Compare the boundary-points of two Ranges in a document. |
void |
Range.deleteContents()
Removes the contents of a Range from the containing document or document fragment without returning a reference to the removed content. |
DocumentFragment |
Range.extractContents()
Moves the contents of a Range from the containing document or document fragment to a new DocumentFragment. |
DocumentFragment |
Range.cloneContents()
Duplicates the contents of a Range |
void |
Range.insertNode(Node newNode)
Inserts a node into the Document or DocumentFragment at the start of the Range. |
void |
Range.surroundContents(Node newParent)
Reparents the contents of the Range to the given node and inserts the node at the position of the start of the Range. |
Range |
Range.cloneRange()
Produces a new Range whose boundary-points are equal to the boundary-points of the Range. |
java.lang.String |
Range.toString()
Returns the contents of a Range as a string. |
void |
Range.detach()
Called to indicate that the Range is no longer in use and that the implementation may relinquish any resources associated with this Range. |
Uses of DOMException in org.w3c.dom.traversal |
Methods in org.w3c.dom.traversal that throw DOMException | |
NodeIterator |
DocumentTraversal.createNodeIterator(Node root,
int whatToShow,
NodeFilter filter,
boolean entityReferenceExpansion)
Create a new NodeIterator over the subtree rooted at the
specified node. |
TreeWalker |
DocumentTraversal.createTreeWalker(Node root,
int whatToShow,
NodeFilter filter,
boolean entityReferenceExpansion)
Create a new TreeWalker over the subtree rooted at the
specified node. |
Node |
NodeIterator.nextNode()
Returns the next node in the set and advances the position of the iterator in the set. |
Node |
NodeIterator.previousNode()
Returns the previous node in the set and moves the position of the NodeIterator backwards in the set. |
void |
TreeWalker.setCurrentNode(Node currentNode)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |