Uses of Class
org.w3c.dom.DOMException
Package
Description
A package of the Java Image I/O API dealing with reading and writing
metadata.
Provides the interfaces for the Document Object Model (DOM).
Provides interfaces for DOM Level 2 Events.
Provides interfaces for DOM Level 3 Load and Save.
Provides interfaces for DOM Level 2 Range.
Provides interfaces for DOM Level 2 Traversal.
-
Uses of DOMException in javax.imageio.metadata
Modifier and TypeMethodDescriptionshort
IIOMetadataNode.compareDocumentPosition
(Node other) This DOM Level 3 method is not supported forIIOMetadataNode
and will throw aDOMException
.IIOMetadataNode.getBaseURI()
This DOM Level 3 method is not supported forIIOMetadataNode
and will throw aDOMException
.IIOMetadataNode.getFeature
(String feature, String version) This DOM Level 3 method is not supported forIIOMetadataNode
and will throw aDOMException
.IIOMetadataNode.getNamespaceURI()
Returnsnull
, since namespaces are not supported.IIOMetadataNode.getSchemaTypeInfo()
This DOM Level 3 method is not supported forIIOMetadataNode
and will throw aDOMException
.IIOMetadataNode.getTextContent()
This DOM Level 3 method is not supported forIIOMetadataNode
and will throw aDOMException
.IIOMetadataNode.getUserData
(String key) This DOM Level 3 method is not supported forIIOMetadataNode
and will throw aDOMException
.boolean
IIOMetadataNode.isDefaultNamespace
(String namespaceURI) This DOM Level 3 method is not supported forIIOMetadataNode
and will throw aDOMException
.boolean
IIOMetadataNode.isEqualNode
(Node node) This DOM Level 3 method is not supported forIIOMetadataNode
and will throw aDOMException
.boolean
IIOMetadataNode.isSameNode
(Node node) This DOM Level 3 method is not supported forIIOMetadataNode
and will throw aDOMException
.IIOMetadataNode.lookupNamespaceURI
(String prefix) This DOM Level 3 method is not supported forIIOMetadataNode
and will throw aDOMException
.IIOMetadataNode.lookupPrefix
(String namespaceURI) This DOM Level 3 method is not supported forIIOMetadataNode
and will throw aDOMException
.IIOMetadataNode.setAttributeNode
(Attr newAttr) void
IIOMetadataNode.setIdAttribute
(String name, boolean isId) This DOM Level 3 method is not supported forIIOMetadataNode
and will throw aDOMException
.void
IIOMetadataNode.setIdAttributeNode
(Attr idAttr, boolean isId) This DOM Level 3 method is not supported forIIOMetadataNode
and will throw aDOMException
.void
IIOMetadataNode.setIdAttributeNS
(String namespaceURI, String localName, boolean isId) This DOM Level 3 method is not supported forIIOMetadataNode
and will throw aDOMException
.void
IIOMetadataNode.setTextContent
(String textContent) This DOM Level 3 method is not supported forIIOMetadataNode
and will throw aDOMException
.IIOMetadataNode.setUserData
(String key, Object data, UserDataHandler handler) This DOM Level 3 method is not supported forIIOMetadataNode
and will throw aDOMException
. -
Uses of DOMException in org.w3c.dom
Modifier and TypeMethodDescriptionAttempts to adopt a node from another document to this document.Node.appendChild
(Node newChild) Adds the nodenewChild
to the end of the list of children of this node.void
CharacterData.appendData
(String arg) Append the string to the end of the character data of the node.short
Node.compareDocumentPosition
(Node other) 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.Document.createAttribute
(String name) Creates anAttr
of the given name.Document.createAttributeNS
(String namespaceURI, String qualifiedName) Creates an attribute of the given qualified name and namespace URI.Document.createCDATASection
(String data) Creates aCDATASection
node whose value is the specified string.DOMImplementation.createDocument
(String namespaceURI, String qualifiedName, DocumentType doctype) Creates a DOM Document object of the specified type with its document element.DOMImplementation.createDocumentType
(String qualifiedName, String publicId, String systemId) Creates an emptyDocumentType
node.Document.createElement
(String tagName) Creates an element of the type specified.Document.createElementNS
(String namespaceURI, String qualifiedName) Creates an element of the given qualified name and namespace URI.Document.createEntityReference
(String name) Creates anEntityReference
object.Document.createProcessingInstruction
(String target, String data) Creates aProcessingInstruction
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.Element.getAttributeNodeNS
(String namespaceURI, String localName) Retrieves anAttr
node by local name and namespace URI.Element.getAttributeNS
(String namespaceURI, String localName) Retrieves an attribute value by local name and namespace URI.CharacterData.getData()
The character data of the node that implements this interface.Element.getElementsByTagNameNS
(String namespaceURI, String localName) Returns aNodeList
of all the descendantElements
with a given local name and namespace URI in document order.NamedNodeMap.getNamedItemNS
(String namespaceURI, String localName) Retrieves a node specified by local name and namespace URI.Node.getNodeValue()
The value of this node, depending on its type; see the table above.DOMConfiguration.getParameter
(String name) Return the value of a parameter if known.Node.getTextContent()
This attribute returns the text content of this node and its descendants.boolean
Element.hasAttributeNS
(String namespaceURI, String localName) Returnstrue
when an attribute with a given local name and namespace URI is specified on this element or has a default value,false
otherwise.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.insertBefore
(Node newChild, Node refChild) Inserts the nodenewChild
before the existing child noderefChild
.void
CharacterData.insertData
(int offset, String arg) Insert a string at the specified 16-bit unit offset.void
Element.removeAttribute
(String name) Removes an attribute by name.Element.removeAttributeNode
(Attr oldAttr) Removes the specified attribute node.void
Element.removeAttributeNS
(String namespaceURI, String localName) Removes an attribute by local name and namespace URI.Node.removeChild
(Node oldChild) Removes the child node indicated byoldChild
from the list of children, and returns it.NamedNodeMap.removeNamedItem
(String name) Removes a node specified by name.NamedNodeMap.removeNamedItemNS
(String namespaceURI, String localName) Removes a node specified by local name and namespace URI.Document.renameNode
(Node n, String namespaceURI, String qualifiedName) Rename an existing node of typeELEMENT_NODE
orATTRIBUTE_NODE
.Node.replaceChild
(Node newChild, Node oldChild) Replaces the child nodeoldChild
withnewChild
in the list of children, and returns theoldChild
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.replaceWholeText
(String content) Replaces the text of the current node and all logically-adjacent text nodes with the specified text.void
Element.setAttribute
(String name, String value) Adds a new attribute.Element.setAttributeNode
(Attr newAttr) Adds a new attribute node.Element.setAttributeNodeNS
(Attr newAttr) Adds a new attribute.void
Element.setAttributeNS
(String namespaceURI, String qualifiedName, String value) 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 parameterisId
istrue
, this method declares the specified attribute to be a user-determined ID attribute .void
Element.setIdAttributeNode
(Attr idAttr, boolean isId) If the parameterisId
istrue
, this method declares the specified attribute to be a user-determined ID attribute .void
Element.setIdAttributeNS
(String namespaceURI, String localName, boolean isId) If the parameterisId
istrue
, this method declares the specified attribute to be a user-determined ID attribute .NamedNodeMap.setNamedItem
(Node arg) Adds a node using itsnodeName
attribute.NamedNodeMap.setNamedItemNS
(Node arg) Adds a node using itsnamespaceURI
andlocalName
.void
Node.setNodeValue
(String nodeValue) The value of this node, depending on its type; see the table above.void
DOMConfiguration.setParameter
(String name, Object value) Set the value of a parameter.void
The namespace prefix of this node, ornull
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
Document.setXmlVersion
(String xmlVersion) An attribute specifying, as part of the XML declaration, the version number of this document.Text.splitText
(int offset) Breaks this node into two nodes at the specifiedoffset
, keeping both in the tree as siblings.CharacterData.substringData
(int offset, int count) Extracts a range of data from the node. -
Uses of DOMException in org.w3c.dom.events
-
Uses of DOMException in org.w3c.dom.ls
Modifier and TypeMethodDescriptionDOMImplementationLS.createLSParser
(short mode, String schemaType) Create a newLSParser
.Parse an XML document from a resource identified by aLSInput
.Parse an XML document from a location identified by a URI reference [IETF RFC 2396].LSParser.parseWithContext
(LSInput input, Node contextArg, short action) Parse an XML fragment from a resource identified by aLSInput
and insert the content into an existing document at the position specified with thecontext
andaction
arguments.LSSerializer.writeToString
(Node nodeArg) Serialize the specified node as described above in the general description of theLSSerializer
interface. -
Uses of DOMException in org.w3c.dom.ranges
Modifier and TypeMethodDescriptionRange.cloneContents()
Duplicates the contents of a RangeRange.cloneRange()
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-pointsshort
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.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.Range.extractContents()
Moves the contents of a Range from the containing document or document fragment to a new DocumentFragment.boolean
Range.getCollapsed()
TRUE if the Range is collapsedRange.getCommonAncestorContainer()
The deepest common ancestor container of the Range's two boundary-points.Range.getEndContainer()
Node within which the Range endsint
Range.getEndOffset()
Offset within the ending node of the Range.Range.getStartContainer()
Node within which the Range beginsint
Range.getStartOffset()
Offset within the starting node of the Range.void
Range.insertNode
(Node newNode) Inserts a node into the Document or DocumentFragment at the start of the Range.void
Range.selectNode
(Node refNode) Select a node and its contentsvoid
Range.selectNodeContents
(Node refNode) Select the contents within a nodevoid
Sets the attributes describing the end of a Range.void
Range.setEndAfter
(Node refNode) Sets the end of a Range to be after a nodevoid
Range.setEndBefore
(Node refNode) Sets the end position to be before a node.void
Sets the attributes describing the start of the Range.void
Range.setStartAfter
(Node refNode) Sets the start position to be after a nodevoid
Range.setStartBefore
(Node refNode) Sets the start position to be before a nodevoid
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.toString()
Returns the contents of a Range as a string. -
Uses of DOMException in org.w3c.dom.traversal
Modifier and TypeMethodDescriptionDocumentTraversal.createNodeIterator
(Node root, int whatToShow, NodeFilter filter, boolean entityReferenceExpansion) Create a newNodeIterator
over the subtree rooted at the specified node.DocumentTraversal.createTreeWalker
(Node root, int whatToShow, NodeFilter filter, boolean entityReferenceExpansion) Create a newTreeWalker
over the subtree rooted at the specified node.NodeIterator.nextNode()
Returns the next node in the set and advances the position of theNodeIterator
in the set.NodeIterator.previousNode()
Returns the previous node in the set and moves the position of theNodeIterator
backwards in the set.void
TreeWalker.setCurrentNode
(Node currentNode) The node at which theTreeWalker
is currently positioned.