Uses of Class org.w3c.dom.DOMException

Uses in package org.w3c.dom.html2

Methods which throw type org.w3c.dom.DOMException

void
Add a new element to the collection of OPTION elements for this SELECT.
void
Delete a cell from the current row.
void
Delete a table row.
void
Delete a row from this section.
HTMLElement
Insert an empty TD cell into this row.
HTMLElement
Insert a new empty row in the table.
HTMLElement
Insert a row into this section.
void
Returns the table's CAPTION, or void if none exists.
void
This mutable string attribute denotes persistent state information that (1) is associated with the current frame or document and (2) is composed of information described by the cookies non-terminal of [IETF RFC 2965], Section 4.2.2.
void
This attribute specifies the length or size of the list.
void
The number of options in this SELECT.
void
Returns the table's TFOOT, or null if none exists.
void
Returns the table's THEAD, or null if none exists.

Uses in package org.w3c.dom.ranges

Methods which throw type org.w3c.dom.DOMException

DocumentFragment
Duplicates the contents of a Range
Range
Produces a new Range whose boundary-points are equal to the boundary-points of the Range.
void
Range.collapse(boolean toStart)
Collapse a Range onto one of its boundary-points
short
Range.compareBoundaryPoints(short how, Range sourceRange)
Compare the boundary-points of two Ranges in a document.
void
Removes the contents of a Range from the containing document or document fragment without returning a reference to the removed content.
void
Called to indicate that the Range is no longer in use and that the implementation may relinquish any resources associated with this Range.
DocumentFragment
Moves the contents of a Range from the containing document or document fragment to a new DocumentFragment.
boolean
TRUE if the Range is collapsed
Node
The deepest common ancestor container of the Range's two boundary-points.
Node
Node within which the Range ends
int
Offset within the ending node of the Range.
Node
Node within which the Range begins
int
Offset within the starting node of the Range.
void
Inserts a node into the Document or DocumentFragment at the start of the Range.
void
Select a node and its contents
void
Select the contents within a node
void
Range.setEnd(Node refNode, int offset)
Sets the attributes describing the end of a Range.
void
Sets the end of a Range to be after a node
void
Sets the end position to be before a node.
void
Range.setStart(Node refNode, int offset)
Sets the attributes describing the start of the Range.
void
Sets the start position to be after a node
void
Sets the start position to be before a node
void
Reparents the contents of the Range to the given node and inserts the node at the position of the start of the Range.
String
Returns the contents of a Range as a string.

Uses in package org.w3c.dom.xpath

Methods which throw type org.w3c.dom.DOMException

XPathExpression
Creates a parsed XPath expression with resolved namespaces.
Object
XPathEvaluator.evaluate(String expression, Node contextNode, XPathNSResolver resolver, short type, Object result)
Evaluates an XPath expression string and returns a result of the specified type if possible.
Object
XPathExpression.evaluate(Node contextNode, short type, Object result)
Evaluates this XPath expression and returns a result.
Node
Iterates and returns the next node from the node set or nullif there are no more nodes.

Uses in package javax.imageio.metadata

Methods which throw type org.w3c.dom.DOMException

short
String
void
IIOMetadataNode.setIdAttribute(String name, boolean isId)
If the parameter isId is true, this method declares the specified attribute to be a user-determined ID attribute .
void
IIOMetadataNode.setIdAttributeNS(String namespaceURI, String localName, boolean isId)
If the parameter isId is true, this method declares the specified attribute to be a user-determined ID attribute .
void
IIOMetadataNode.setIdAttributeNode(Attr idAttr, boolean isId)
If the parameter isId is true, this method declares the specified attribute to be a user-determined ID attribute .
void
void

Uses in package org.w3c.dom.traversal

Methods which throw type org.w3c.dom.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
Returns the next node in the set and advances the position of the NodeIterator in the set.
Node
Returns the previous node in the set and moves the position of the NodeIterator backwards in the set.
void
The node at which the TreeWalker is currently positioned.

Uses in package org.w3c.dom.stylesheets

Methods which throw type org.w3c.dom.DOMException

void
Adds the medium newMedium to the end of the list.
void
Deletes the medium indicated by oldMedium from the list.
void
The parsable textual representation of the media list.

Uses in package org.w3c.dom

Methods which throw type org.w3c.dom.DOMException

Node
Attempts to adopt a node from another document to this document.
Node
Node.appendChild(Node newChild)
Adds the node newChild to the end of the list of children of this node.
void
Append the string to the end of the character data of the node.
short
Compares the reference node, i.e. the node on which this method is being called, with a node, i.e. the one passed as a parameter, with regard to their position in the document and according to the document order.
Attr
Creates an Attr of the given name.
Attr
Document.createAttributeNS(String namespaceURI, String qualifiedName)
Creates an attribute of the given qualified name and namespace URI.
CDATASection
Creates a CDATASection node whose value is the specified string.
Document
DOMImplementation.createDocument(String namespaceURI, String qualifiedName, DocumentType doctype)
Creates a DOM Document object of the specified type with its document element.
DocumentType
DOMImplementation.createDocumentType(String qualifiedName, String publicId, String systemId)
Creates an empty DocumentType node.
Element
Creates an element of the type specified.
Element
Document.createElementNS(String namespaceURI, String qualifiedName)
Creates an element of the given qualified name and namespace URI.
EntityReference
Creates an EntityReference object.
ProcessingInstruction
Creates a ProcessingInstruction node given the specified name and data strings.
void
CharacterData.deleteData(int offset, int count)
Remove a range of 16-bit units from the node.
String
Element.getAttributeNS(String namespaceURI, String localName)
Retrieves an attribute value by local name and namespace URI.
Attr
Element.getAttributeNodeNS(String namespaceURI, String localName)
Retrieves an Attr node by local name and namespace URI.
String
The character data of the node that implements this interface.
NodeList
Element.getElementsByTagNameNS(String namespaceURI, String localName)
Returns a NodeList of all the descendant Elements with a given local name and namespace URI in document order.
Node
NamedNodeMap.getNamedItemNS(String namespaceURI, String localName)
Retrieves a node specified by local name and namespace URI.
String
The value of this node, depending on its type; see the table above.
Object
Return the value of a parameter if known.
String
This attribute returns the text content of this node and its descendants.
boolean
Element.hasAttributeNS(String namespaceURI, String localName)
Returns 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
Document.importNode(Node importedNode, boolean deep)
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.
Node
Node.insertBefore(Node newChild, Node refChild)
Inserts the node newChild before the existing child node refChild.
void
CharacterData.insertData(int offset, String arg)
Insert a string at the specified 16-bit unit offset.
void
Removes an attribute by name.
void
Element.removeAttributeNS(String namespaceURI, String localName)
Removes an attribute by local name and namespace URI.
Attr
Removes the specified attribute node.
Node
Node.removeChild(Node oldChild)
Removes the child node indicated by oldChild from the list of children, and returns it.
Node
Removes a node specified by name.
Node
NamedNodeMap.removeNamedItemNS(String namespaceURI, String localName)
Removes a node specified by local name and namespace URI.
Node
Document.renameNode(Node n, String namespaceURI, String qualifiedName)
Rename an existing node of type ELEMENT_NODE or ATTRIBUTE_NODE.
Node
Node.replaceChild(Node newChild, Node oldChild)
Replaces the child node oldChild with newChild in the list of children, and returns the oldChild node.
void
CharacterData.replaceData(int offset, int count, String arg)
Replace the characters starting at the specified 16-bit unit offset with the specified string.
Text
Replaces the text of the current node and all logically-adjacent text nodes with the specified text.
void
Adds a new attribute.
void
Element.setAttributeNS(String namespaceURI, String qualifiedName, String value)
Adds a new attribute.
Attr
Adds a new attribute node.
Attr
Adds a new attribute.
void
The character data of the node that implements this interface.
void
The content of this processing instruction.
void
Element.setIdAttribute(String name, boolean isId)
If the parameter isId is true, this method declares the specified attribute to be a user-determined ID attribute .
void
Element.setIdAttributeNS(String namespaceURI, String localName, boolean isId)
If the parameter isId is true, this method declares the specified attribute to be a user-determined ID attribute .
void
Element.setIdAttributeNode(Attr idAttr, boolean isId)
If the parameter isId is true, this method declares the specified attribute to be a user-determined ID attribute .
Node
Adds a node using its nodeName attribute.
Node
Adds a node using its namespaceURI and localName.
void
The value of this node, depending on its type; see the table above.
void
Set the value of a parameter.
void
The namespace prefix of this node, or null if it is unspecified.
void
Node.setTextContent(String textContent)
This attribute returns the text content of this node and its descendants.
void
On retrieval, the value of the attribute is returned as a string.
void
Document.setXmlStandalone(boolean xmlStandalone)
An attribute specifying, as part of the XML declaration, whether this document is standalone.
void
An attribute specifying, as part of the XML declaration, the version number of this document.
Text
Text.splitText(int offset)
Breaks this node into two nodes at the specified offset, keeping both in the tree as siblings.
String
CharacterData.substringData(int offset, int count)
Extracts a range of data from the node.

Uses in package org.w3c.dom.events

Methods which throw type org.w3c.dom.DOMException

Event

Uses in package org.w3c.dom.ls

Methods which throw type org.w3c.dom.DOMException

LSParser
DOMImplementationLS.createLSParser(short mode, String schemaType)
Create a new LSParser.
Document
Parse an XML document from a resource identified by a LSInput.
Document
Parse an XML document from a location identified by a URI reference [IETF RFC 2396].
Node
LSParser.parseWithContext(LSInput input, Node contextArg, short action)
Parse an XML fragment from a resource identified by a LSInput and insert the content into an existing document at the position specified with the context and action arguments.
String
Serialize the specified node as described above in the general description of the LSSerializer interface.

Uses in package org.w3c.dom.css

Methods which throw type org.w3c.dom.DOMException

CSSStyleSheet
Creates a new CSSStyleSheet.
void
Used to delete a rule from the media block.
void
Used to delete a rule from the style sheet.
Counter
This method is used to get the Counter value.
float
This method is used to get a float value in a specified unit.
RGBColor
This method is used to get the RGB color.
Rect
This method is used to get the Rect value.
String
This method is used to get the string value.
int
CSSMediaRule.insertRule(String rule, int index)
Used to insert a new rule into the media block.
int
CSSStyleSheet.insertRule(String rule, int index)
Used to insert a new rule into the style sheet.
String
Used to remove a CSS property if it has been explicitly set within this declaration block.
void
See the azimuth property definition in CSS2.
void
See the background property definition in CSS2.
void
See the background-attachment property definition in CSS2.
void
See the background-color property definition in CSS2.
void
See the background-image property definition in CSS2.
void
See the background-position property definition in CSS2.
void
See the background-repeat property definition in CSS2.
void
See the border property definition in CSS2.
void
See the border-bottom property definition in CSS2.
void
See the border-bottom-color property definition in CSS2.
void
See the border-bottom-style property definition in CSS2.
void
See the border-bottom-width property definition in CSS2.
void
See the border-collapse property definition in CSS2.
void
See the border-color property definition in CSS2.
void
See the border-left property definition in CSS2.
void
See the border-left-color property definition in CSS2.
void
See the border-left-style property definition in CSS2.
void
See the border-left-width property definition in CSS2.
void
See the border-right property definition in CSS2.
void
See the border-right-color property definition in CSS2.
void
See the border-right-style property definition in CSS2.
void
See the border-right-width property definition in CSS2.
void
See the border-spacing property definition in CSS2.
void
See the border-style property definition in CSS2.
void
See the border-top property definition in CSS2.
void
See the border-top-color property definition in CSS2.
void
See the border-top-style property definition in CSS2.
void
See the border-top-width property definition in CSS2.
void
See the border-width property definition in CSS2.
void
See the bottom property definition in CSS2.
void
See the caption-side property definition in CSS2.
void
See the clear property definition in CSS2.
void
See the clip property definition in CSS2.
void
See the color property definition in CSS2.
void
See the content property definition in CSS2.
void
See the counter-increment property definition in CSS2.
void
See the counter-reset property definition in CSS2.
void
See the float property definition in CSS2.
void
The parsable textual representation of the rule.
void
The parsable textual representation of the declaration block (excluding the surrounding curly braces).
void
A string representation of the current value.
void
See the cue property definition in CSS2.
void
See the cue-after property definition in CSS2.
void
See the cue-before property definition in CSS2.
void
See the cursor property definition in CSS2.
void
See the direction property definition in CSS2.
void
See the display property definition in CSS2.
void
See the elevation property definition in CSS2.
void
See the empty-cells property definition in CSS2.
void
The encoding information used in this @charset rule.
void
CSSPrimitiveValue.setFloatValue(short unitType, float floatValue)
A method to set the float value with a specified unit.
void
See the font property definition in CSS2.
void
See the font-family property definition in CSS2.
void
See the font-size property definition in CSS2.
void
See the font-size-adjust property definition in CSS2.
void
See the font-stretch property definition in CSS2.
void
See the font-style property definition in CSS2.
void
See the font-variant property definition in CSS2.
void
See the font-weight property definition in CSS2.
void
See the height property definition in CSS2.
void
See the left property definition in CSS2.
void
See the letter-spacing property definition in CSS2.
void
See the line-height property definition in CSS2.
void
See the list-style property definition in CSS2.
void
See the list-style-image property definition in CSS2.
void
See the list-style-position property definition in CSS2.
void
See the list-style-type property definition in CSS2.
void
See the margin property definition in CSS2.
void
See the margin-bottom property definition in CSS2.
void
See the margin-left property definition in CSS2.
void
See the margin-right property definition in CSS2.
void
See the margin-top property definition in CSS2.
void
See the marker-offset property definition in CSS2.
void
See the marks property definition in CSS2.
void
See the max-height property definition in CSS2.
void
See the max-width property definition in CSS2.
void
See the min-height property definition in CSS2.
void
See the min-width property definition in CSS2.
void
See the orphans property definition in CSS2.
void
See the outline property definition in CSS2.
void
See the outline-color property definition in CSS2.
void
See the outline-style property definition in CSS2.
void
See the outline-width property definition in CSS2.
void
See the overflow property definition in CSS2.
void
See the padding property definition in CSS2.
void
See the padding-bottom property definition in CSS2.
void
See the padding-left property definition in CSS2.
void
See the padding-right property definition in CSS2.
void
See the padding-top property definition in CSS2.
void
See the page property definition in CSS2.
void
See the page-break-after property definition in CSS2.
void
See the page-break-before property definition in CSS2.
void
See the page-break-inside property definition in CSS2.
void
See the pause property definition in CSS2.
void
See the pause-after property definition in CSS2.
void
See the pause-before property definition in CSS2.
void
See the pitch property definition in CSS2.
void
See the pitch-range property definition in CSS2.
void
See the play-during property definition in CSS2.
void
See the position property definition in CSS2.
void
CSSStyleDeclaration.setProperty(String propertyName, String value, String priority)
Used to set a property value and priority within this declaration block.
void
See the quotes property definition in CSS2.
void
See the richness property definition in CSS2.
void
See the right property definition in CSS2.
void
The parsable textual representation of the page selector for the rule.
void
The textual representation of the selector for the rule set.
void
See the size property definition in CSS2.
void
See the speak property definition in CSS2.
void
See the speak-header property definition in CSS2.
void
See the speak-numeral property definition in CSS2.
void
See the speak-punctuation property definition in CSS2.
void
See the speech-rate property definition in CSS2.
void
See the stress property definition in CSS2.
void
CSSPrimitiveValue.setStringValue(short stringType, String stringValue)
A method to set the string value with the specified unit.
void
See the table-layout property definition in CSS2.
void
See the text-align property definition in CSS2.
void
See the text-decoration property definition in CSS2.
void
See the text-indent property definition in CSS2.
void
See the text-shadow property definition in CSS2.
void
See the text-transform property definition in CSS2.
void
See the top property definition in CSS2.
void
See the unicode-bidi property definition in CSS2.
void
See the vertical-align property definition in CSS2.
void
See the visibility property definition in CSS2.
void
See the voice-family property definition in CSS2.
void
See the volume property definition in CSS2.
void
See the white-space property definition in CSS2.
void
See the widows property definition in CSS2.
void
See the width property definition in CSS2.
void
See the word-spacing property definition in CSS2.
void
See the z-index property definition in CSS2.