|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of DOMException in org.apache.html.dom |
Methods in org.apache.html.dom that throw DOMException | |
HTMLDocument |
HTMLDOMImplementationImpl.createHTMLDocument(java.lang.String title)
Create a new HTML document of the specified TITLE text. |
Element |
HTMLDocumentImpl.createElement(java.lang.String tagName)
|
Attr |
HTMLDocumentImpl.createAttribute(java.lang.String name)
Creates an Attribute having this Document as its OwnerDoc. |
Uses of DOMException in org.apache.xerces.dom |
Subclasses of DOMException in org.apache.xerces.dom | |
interface |
DOMExceptionImpl
DOMExceptions are thrown when one of the DOM implementation classes discovers an error condition. |
Methods in org.apache.xerces.dom that throw DOMException | |
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 |
NodeContainer.appendChild(Node newChild)
Adds a child node to the end of the list of children for this node. |
Node |
NodeContainer.insertBefore(Node newChild,
Node refChild)
Move one or more node(s) to our list of children. |
Node |
NodeContainer.removeChild(Node oldChild)
Remove a child from this Node. |
Node |
NodeContainer.replaceChild(Node newChild,
Node oldChild)
Make newChild occupy the location that oldChild used to have. |
void |
DocumentFragmentImpl.setNodeValue(java.lang.String x)
DocumentFragments never have a nodeValue. |
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. |
void |
NotationImpl.setNodeValue(java.lang.String value)
Notations never have a nodeValue. |
void |
EntityReferenceImpl.setNodeValue(java.lang.String x)
EntityReferences never have a nodeValue. |
void |
EntityImpl.setNodeValue(java.lang.String value)
EntityReferences never have a nodeValue. |
Text |
TextImpl.splitText(int offset)
Break a text node into two sibling nodes. |
void |
ElementImpl.setNodeValue(java.lang.String value)
Elements never have a nodeValue. |
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. |
void |
ElementNSImpl.setPrefix(java.lang.String prefix)
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. |
void |
DocumentTypeImpl.setNodeValue(java.lang.String value)
DocumentTypes never have a nodeValue. |
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)
|
Document |
DOMImplementationImpl.createDocument(java.lang.String namespaceURI,
java.lang.String qualifiedName,
DocumentType doctype)
Introduced in DOM Level 2. |
void |
AttrNSImpl.setPrefix(java.lang.String prefix)
Introduced in DOM Level 2. |
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 |
DocumentImpl.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 |
DocumentImpl.removeChild(Node oldChild)
Since insertBefore caches the docElement (and, currently, docType), removeChild has to know how to undo the cache |
void |
DocumentImpl.setNodeValue(java.lang.String x)
Documents never have a nodeValue. |
Attr |
DocumentImpl.createAttribute(java.lang.String name)
Factory method; creates an Attribute having this Document as its OwnerDoc. |
CDATASection |
DocumentImpl.createCDATASection(java.lang.String data)
Factory method; creates a CDATASection having this Document as its OwnerDoc. |
Element |
DocumentImpl.createElement(java.lang.String tagName)
Factory method; creates an Element having this Document as its OwnerDoc. |
EntityReference |
DocumentImpl.createEntityReference(java.lang.String name)
Factory method; creates an EntityReference having this Document as its OwnerDoc. |
ProcessingInstruction |
DocumentImpl.createProcessingInstruction(java.lang.String target,
java.lang.String data)
Factory method; creates a ProcessingInstruction having this Document as its OwnerDoc. |
DocumentType |
DocumentImpl.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 |
DocumentImpl.createEntity(java.lang.String name)
NON-DOM Factory method; creates an Entity having this Document as its OwnerDoc. |
Notation |
DocumentImpl.createNotation(java.lang.String name)
NON-DOM Factory method; creates a Notation having this Document as its OwnerDoc. |
ElementDefinitionImpl |
DocumentImpl.createElementDefinition(java.lang.String name)
NON-DOM Factory method: creates an element definition. |
Node |
DocumentImpl.importNode(Node source,
boolean deep)
Copies data from the source node. |
Element |
DocumentImpl.createElementNS(java.lang.String namespaceURI,
java.lang.String qualifiedName)
Introduced in DOM Level 2. |
Attr |
DocumentImpl.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. |
Constructors in org.apache.xerces.dom that throw DOMException | |
ElementNSImpl.ElementNSImpl(DocumentImpl ownerDocument,
java.lang.String namespaceURI,
java.lang.String qualifiedName)
DOM2: Constructor for Namespace implementation. |
Uses of DOMException in org.apache.xerces.domx |
Subclasses of DOMException in org.apache.xerces.domx | |
interface |
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). |
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 | |
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 |
Attr.setValue(java.lang.String value)
|
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)
|
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. |
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. |
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. |
Text |
Text.splitText(int offset)
Breaks this node into two nodes at the specified offset
, keeping both in the tree as siblings. |
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 character 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. |
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 |
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 . |
HTMLElement |
HTMLTableElement.insertRow(int index)
Insert a new empty row in the table. |
void |
HTMLTableElement.deleteRow(int index)
Delete a table row. |
Uses of DOMException in org.w3c.dom.range |
Methods in org.w3c.dom.range 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 document fragment 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 | |
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 iterator backwards in the set. |
TreeWalker |
DocumentTraversal.createTreeWalker(Node root,
int whatToShow,
NodeFilter filter,
boolean entityReferenceExpansion)
Create a new TreeWalker over the subtree rooted at the specified node. |
void |
TreeWalker.setCurrentNode(Node currentNode)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |