Uses of Class
org.w3c.dom.DOMException
-
Packages that use DOMException Package Description javax.imageio.metadata A package of the Java Image I/O API dealing with reading and writing metadata.org.w3c.dom Provides the interfaces for the Document Object Model (DOM).org.w3c.dom.css Provides interfaces for DOM Level 2 Style Specification.org.w3c.dom.events Provides interfaces for DOM Level 2 Events.org.w3c.dom.html Provides interfaces for DOM Level 2 HTML Specification.org.w3c.dom.ls Provides interfaces for DOM Level 3 Load and Save.org.w3c.dom.ranges Provides interfaces for DOM Level 2 Range.org.w3c.dom.stylesheets Provides interfaces for DOM Level 2 Style Specification.org.w3c.dom.traversal Provides interfaces for DOM Level 2 Traversal.org.w3c.dom.xpath Provides interfaces for DOM Level 3 XPath Specification. -
-
Uses of DOMException in javax.imageio.metadata
Methods in javax.imageio.metadata that throw DOMException Modifier and Type Method Description shortIIOMetadataNode. compareDocumentPosition(Node other)This DOM Level 3 method is not supported forIIOMetadataNodeand will throw aDOMException.StringIIOMetadataNode. getBaseURI()This DOM Level 3 method is not supported forIIOMetadataNodeand will throw aDOMException.ObjectIIOMetadataNode. getFeature(String feature, String version)This DOM Level 3 method is not supported forIIOMetadataNodeand will throw aDOMException.StringIIOMetadataNode. getNamespaceURI()Returnsnull, since namespaces are not supported.TypeInfoIIOMetadataNode. getSchemaTypeInfo()This DOM Level 3 method is not supported forIIOMetadataNodeand will throw aDOMException.StringIIOMetadataNode. getTextContent()This DOM Level 3 method is not supported forIIOMetadataNodeand will throw aDOMException.ObjectIIOMetadataNode. getUserData(String key)This DOM Level 3 method is not supported forIIOMetadataNodeand will throw aDOMException.booleanIIOMetadataNode. isDefaultNamespace(String namespaceURI)This DOM Level 3 method is not supported forIIOMetadataNodeand will throw aDOMException.booleanIIOMetadataNode. isEqualNode(Node node)This DOM Level 3 method is not supported forIIOMetadataNodeand will throw aDOMException.booleanIIOMetadataNode. isSameNode(Node node)This DOM Level 3 method is not supported forIIOMetadataNodeand will throw aDOMException.StringIIOMetadataNode. lookupNamespaceURI(String prefix)This DOM Level 3 method is not supported forIIOMetadataNodeand will throw aDOMException.StringIIOMetadataNode. lookupPrefix(String namespaceURI)This DOM Level 3 method is not supported forIIOMetadataNodeand will throw aDOMException.voidIIOMetadataNode. setIdAttribute(String name, boolean isId)This DOM Level 3 method is not supported forIIOMetadataNodeand will throw aDOMException.voidIIOMetadataNode. setIdAttributeNode(Attr idAttr, boolean isId)This DOM Level 3 method is not supported forIIOMetadataNodeand will throw aDOMException.voidIIOMetadataNode. setIdAttributeNS(String namespaceURI, String localName, boolean isId)This DOM Level 3 method is not supported forIIOMetadataNodeand will throw aDOMException.voidIIOMetadataNode. setTextContent(String textContent)This DOM Level 3 method is not supported forIIOMetadataNodeand will throw aDOMException.ObjectIIOMetadataNode. setUserData(String key, Object data, UserDataHandler handler)This DOM Level 3 method is not supported forIIOMetadataNodeand will throw aDOMException. -
Uses of DOMException in org.w3c.dom
Methods in org.w3c.dom that throw DOMException Modifier and Type Method Description NodeDocument. adoptNode(Node source)Attempts to adopt a node from another document to this document.NodeNode. appendChild(Node newChild)Adds the nodenewChildto the end of the list of children of this node.voidCharacterData. appendData(String arg)Append the string to the end of the character data of the node.shortNode. 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.AttrDocument. createAttribute(String name)Creates anAttrof the given name.AttrDocument. createAttributeNS(String namespaceURI, String qualifiedName)Creates an attribute of the given qualified name and namespace URI.CDATASectionDocument. createCDATASection(String data)Creates aCDATASectionnode whose value is the specified string.DocumentDOMImplementation. createDocument(String namespaceURI, String qualifiedName, DocumentType doctype)Creates a DOM Document object of the specified type with its document element.DocumentTypeDOMImplementation. createDocumentType(String qualifiedName, String publicId, String systemId)Creates an emptyDocumentTypenode.ElementDocument. createElement(String tagName)Creates an element of the type specified.ElementDocument. createElementNS(String namespaceURI, String qualifiedName)Creates an element of the given qualified name and namespace URI.EntityReferenceDocument. createEntityReference(String name)Creates anEntityReferenceobject.ProcessingInstructionDocument. createProcessingInstruction(String target, String data)Creates aProcessingInstructionnode given the specified name and data strings.voidCharacterData. deleteData(int offset, int count)Remove a range of 16-bit units from the node.AttrElement. getAttributeNodeNS(String namespaceURI, String localName)Retrieves anAttrnode by local name and namespace URI.StringElement. getAttributeNS(String namespaceURI, String localName)Retrieves an attribute value by local name and namespace URI.StringCharacterData. getData()The character data of the node that implements this interface.NodeListElement. getElementsByTagNameNS(String namespaceURI, String localName)Returns aNodeListof all the descendantElementswith a given local name and namespace URI in document order.NodeNamedNodeMap. getNamedItemNS(String namespaceURI, String localName)Retrieves a node specified by local name and namespace URI.StringNode. getNodeValue()The value of this node, depending on its type; see the table above.ObjectDOMConfiguration. getParameter(String name)Return the value of a parameter if known.StringNode. getTextContent()This attribute returns the text content of this node and its descendants.booleanElement. hasAttributeNS(String namespaceURI, String localName)Returnstruewhen an attribute with a given local name and namespace URI is specified on this element or has a default value,falseotherwise.NodeDocument. 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.NodeNode. insertBefore(Node newChild, Node refChild)Inserts the nodenewChildbefore the existing child noderefChild.voidCharacterData. insertData(int offset, String arg)Insert a string at the specified 16-bit unit offset.voidElement. removeAttribute(String name)Removes an attribute by name.AttrElement. removeAttributeNode(Attr oldAttr)Removes the specified attribute node.voidElement. removeAttributeNS(String namespaceURI, String localName)Removes an attribute by local name and namespace URI.NodeNode. removeChild(Node oldChild)Removes the child node indicated byoldChildfrom the list of children, and returns it.NodeNamedNodeMap. removeNamedItem(String name)Removes a node specified by name.NodeNamedNodeMap. removeNamedItemNS(String namespaceURI, String localName)Removes a node specified by local name and namespace URI.NodeDocument. renameNode(Node n, String namespaceURI, String qualifiedName)Rename an existing node of typeELEMENT_NODEorATTRIBUTE_NODE.NodeNode. replaceChild(Node newChild, Node oldChild)Replaces the child nodeoldChildwithnewChildin the list of children, and returns theoldChildnode.voidCharacterData. replaceData(int offset, int count, String arg)Replace the characters starting at the specified 16-bit unit offset with the specified string.TextText. replaceWholeText(String content)Replaces the text of the current node and all logically-adjacent text nodes with the specified text.voidElement. setAttribute(String name, String value)Adds a new attribute.AttrElement. setAttributeNode(Attr newAttr)Adds a new attribute node.AttrElement. setAttributeNodeNS(Attr newAttr)Adds a new attribute.voidElement. setAttributeNS(String namespaceURI, String qualifiedName, String value)Adds a new attribute.voidCharacterData. setData(String data)The character data of the node that implements this interface.voidProcessingInstruction. setData(String data)The content of this processing instruction.voidElement. setIdAttribute(String name, boolean isId)If the parameterisIdistrue, this method declares the specified attribute to be a user-determined ID attribute .voidElement. setIdAttributeNode(Attr idAttr, boolean isId)If the parameterisIdistrue, this method declares the specified attribute to be a user-determined ID attribute .voidElement. setIdAttributeNS(String namespaceURI, String localName, boolean isId)If the parameterisIdistrue, this method declares the specified attribute to be a user-determined ID attribute .NodeNamedNodeMap. setNamedItem(Node arg)Adds a node using itsnodeNameattribute.NodeNamedNodeMap. setNamedItemNS(Node arg)Adds a node using itsnamespaceURIandlocalName.voidNode. setNodeValue(String nodeValue)The value of this node, depending on its type; see the table above.voidDOMConfiguration. setParameter(String name, Object value)Set the value of a parameter.voidNode. setPrefix(String prefix)The namespace prefix of this node, ornullif it is unspecified.voidNode. setTextContent(String textContent)This attribute returns the text content of this node and its descendants.voidAttr. setValue(String value)On retrieval, the value of the attribute is returned as a string.voidDocument. setXmlStandalone(boolean xmlStandalone)An attribute specifying, as part of the XML declaration, whether this document is standalone.voidDocument. setXmlVersion(String xmlVersion)An attribute specifying, as part of the XML declaration, the version number of this document.TextText. splitText(int offset)Breaks this node into two nodes at the specifiedoffset, keeping both in the tree as siblings.StringCharacterData. substringData(int offset, int count)Extracts a range of data from the node. -
Uses of DOMException in org.w3c.dom.css
Methods in org.w3c.dom.css that throw DOMException Modifier and Type Method Description CSSStyleSheetDOMImplementationCSS. createCSSStyleSheet(String title, String media)Creates a newCSSStyleSheet.voidCSSMediaRule. deleteRule(int index)Used to delete a rule from the media block.voidCSSStyleSheet. deleteRule(int index)Used to delete a rule from the style sheet.CounterCSSPrimitiveValue. getCounterValue()This method is used to get the Counter value.floatCSSPrimitiveValue. getFloatValue(short unitType)This method is used to get a float value in a specified unit.RectCSSPrimitiveValue. getRectValue()This method is used to get the Rect value.RGBColorCSSPrimitiveValue. getRGBColorValue()This method is used to get the RGB color.StringCSSPrimitiveValue. getStringValue()This method is used to get the string value.intCSSMediaRule. insertRule(String rule, int index)Used to insert a new rule into the media block.intCSSStyleSheet. insertRule(String rule, int index)Used to insert a new rule into the style sheet.StringCSSStyleDeclaration. removeProperty(String propertyName)Used to remove a CSS property if it has been explicitly set within this declaration block.voidCSS2Properties. setAzimuth(String azimuth)See the azimuth property definition in CSS2.voidCSS2Properties. setBackground(String background)See the background property definition in CSS2.voidCSS2Properties. setBackgroundAttachment(String backgroundAttachment)See the background-attachment property definition in CSS2.voidCSS2Properties. setBackgroundColor(String backgroundColor)See the background-color property definition in CSS2.voidCSS2Properties. setBackgroundImage(String backgroundImage)See the background-image property definition in CSS2.voidCSS2Properties. setBackgroundPosition(String backgroundPosition)See the background-position property definition in CSS2.voidCSS2Properties. setBackgroundRepeat(String backgroundRepeat)See the background-repeat property definition in CSS2.voidCSS2Properties. setBorder(String border)See the border property definition in CSS2.voidCSS2Properties. setBorderBottom(String borderBottom)See the border-bottom property definition in CSS2.voidCSS2Properties. setBorderBottomColor(String borderBottomColor)See the border-bottom-color property definition in CSS2.voidCSS2Properties. setBorderBottomStyle(String borderBottomStyle)See the border-bottom-style property definition in CSS2.voidCSS2Properties. setBorderBottomWidth(String borderBottomWidth)See the border-bottom-width property definition in CSS2.voidCSS2Properties. setBorderCollapse(String borderCollapse)See the border-collapse property definition in CSS2.voidCSS2Properties. setBorderColor(String borderColor)See the border-color property definition in CSS2.voidCSS2Properties. setBorderLeft(String borderLeft)See the border-left property definition in CSS2.voidCSS2Properties. setBorderLeftColor(String borderLeftColor)See the border-left-color property definition in CSS2.voidCSS2Properties. setBorderLeftStyle(String borderLeftStyle)See the border-left-style property definition in CSS2.voidCSS2Properties. setBorderLeftWidth(String borderLeftWidth)See the border-left-width property definition in CSS2.voidCSS2Properties. setBorderRight(String borderRight)See the border-right property definition in CSS2.voidCSS2Properties. setBorderRightColor(String borderRightColor)See the border-right-color property definition in CSS2.voidCSS2Properties. setBorderRightStyle(String borderRightStyle)See the border-right-style property definition in CSS2.voidCSS2Properties. setBorderRightWidth(String borderRightWidth)See the border-right-width property definition in CSS2.voidCSS2Properties. setBorderSpacing(String borderSpacing)See the border-spacing property definition in CSS2.voidCSS2Properties. setBorderStyle(String borderStyle)See the border-style property definition in CSS2.voidCSS2Properties. setBorderTop(String borderTop)See the border-top property definition in CSS2.voidCSS2Properties. setBorderTopColor(String borderTopColor)See the border-top-color property definition in CSS2.voidCSS2Properties. setBorderTopStyle(String borderTopStyle)See the border-top-style property definition in CSS2.voidCSS2Properties. setBorderTopWidth(String borderTopWidth)See the border-top-width property definition in CSS2.voidCSS2Properties. setBorderWidth(String borderWidth)See the border-width property definition in CSS2.voidCSS2Properties. setBottom(String bottom)See the bottom property definition in CSS2.voidCSS2Properties. setCaptionSide(String captionSide)See the caption-side property definition in CSS2.voidCSS2Properties. setClear(String clear)See the clear property definition in CSS2.voidCSS2Properties. setClip(String clip)See the clip property definition in CSS2.voidCSS2Properties. setColor(String color)See the color property definition in CSS2.voidCSS2Properties. setContent(String content)See the content property definition in CSS2.voidCSS2Properties. setCounterIncrement(String counterIncrement)See the counter-increment property definition in CSS2.voidCSS2Properties. setCounterReset(String counterReset)See the counter-reset property definition in CSS2.voidCSS2Properties. setCssFloat(String cssFloat)See the float property definition in CSS2.voidCSSRule. setCssText(String cssText)The parsable textual representation of the rule.voidCSSStyleDeclaration. setCssText(String cssText)The parsable textual representation of the declaration block (excluding the surrounding curly braces).voidCSSValue. setCssText(String cssText)A string representation of the current value.voidCSS2Properties. setCue(String cue)See the cue property definition in CSS2.voidCSS2Properties. setCueAfter(String cueAfter)See the cue-after property definition in CSS2.voidCSS2Properties. setCueBefore(String cueBefore)See the cue-before property definition in CSS2.voidCSS2Properties. setCursor(String cursor)See the cursor property definition in CSS2.voidCSS2Properties. setDirection(String direction)See the direction property definition in CSS2.voidCSS2Properties. setDisplay(String display)See the display property definition in CSS2.voidCSS2Properties. setElevation(String elevation)See the elevation property definition in CSS2.voidCSS2Properties. setEmptyCells(String emptyCells)See the empty-cells property definition in CSS2.voidCSSCharsetRule. setEncoding(String encoding)The encoding information used in this@charsetrule.voidCSSPrimitiveValue. setFloatValue(short unitType, float floatValue)A method to set the float value with a specified unit.voidCSS2Properties. setFont(String font)See the font property definition in CSS2.voidCSS2Properties. setFontFamily(String fontFamily)See the font-family property definition in CSS2.voidCSS2Properties. setFontSize(String fontSize)See the font-size property definition in CSS2.voidCSS2Properties. setFontSizeAdjust(String fontSizeAdjust)See the font-size-adjust property definition in CSS2.voidCSS2Properties. setFontStretch(String fontStretch)See the font-stretch property definition in CSS2.voidCSS2Properties. setFontStyle(String fontStyle)See the font-style property definition in CSS2.voidCSS2Properties. setFontVariant(String fontVariant)See the font-variant property definition in CSS2.voidCSS2Properties. setFontWeight(String fontWeight)See the font-weight property definition in CSS2.voidCSS2Properties. setHeight(String height)See the height property definition in CSS2.voidCSS2Properties. setLeft(String left)See the left property definition in CSS2.voidCSS2Properties. setLetterSpacing(String letterSpacing)See the letter-spacing property definition in CSS2.voidCSS2Properties. setLineHeight(String lineHeight)See the line-height property definition in CSS2.voidCSS2Properties. setListStyle(String listStyle)See the list-style property definition in CSS2.voidCSS2Properties. setListStyleImage(String listStyleImage)See the list-style-image property definition in CSS2.voidCSS2Properties. setListStylePosition(String listStylePosition)See the list-style-position property definition in CSS2.voidCSS2Properties. setListStyleType(String listStyleType)See the list-style-type property definition in CSS2.voidCSS2Properties. setMargin(String margin)See the margin property definition in CSS2.voidCSS2Properties. setMarginBottom(String marginBottom)See the margin-bottom property definition in CSS2.voidCSS2Properties. setMarginLeft(String marginLeft)See the margin-left property definition in CSS2.voidCSS2Properties. setMarginRight(String marginRight)See the margin-right property definition in CSS2.voidCSS2Properties. setMarginTop(String marginTop)See the margin-top property definition in CSS2.voidCSS2Properties. setMarkerOffset(String markerOffset)See the marker-offset property definition in CSS2.voidCSS2Properties. setMarks(String marks)See the marks property definition in CSS2.voidCSS2Properties. setMaxHeight(String maxHeight)See the max-height property definition in CSS2.voidCSS2Properties. setMaxWidth(String maxWidth)See the max-width property definition in CSS2.voidCSS2Properties. setMinHeight(String minHeight)See the min-height property definition in CSS2.voidCSS2Properties. setMinWidth(String minWidth)See the min-width property definition in CSS2.voidCSS2Properties. setOrphans(String orphans)See the orphans property definition in CSS2.voidCSS2Properties. setOutline(String outline)See the outline property definition in CSS2.voidCSS2Properties. setOutlineColor(String outlineColor)See the outline-color property definition in CSS2.voidCSS2Properties. setOutlineStyle(String outlineStyle)See the outline-style property definition in CSS2.voidCSS2Properties. setOutlineWidth(String outlineWidth)See the outline-width property definition in CSS2.voidCSS2Properties. setOverflow(String overflow)See the overflow property definition in CSS2.voidCSS2Properties. setPadding(String padding)See the padding property definition in CSS2.voidCSS2Properties. setPaddingBottom(String paddingBottom)See the padding-bottom property definition in CSS2.voidCSS2Properties. setPaddingLeft(String paddingLeft)See the padding-left property definition in CSS2.voidCSS2Properties. setPaddingRight(String paddingRight)See the padding-right property definition in CSS2.voidCSS2Properties. setPaddingTop(String paddingTop)See the padding-top property definition in CSS2.voidCSS2Properties. setPage(String page)See the page property definition in CSS2.voidCSS2Properties. setPageBreakAfter(String pageBreakAfter)See the page-break-after property definition in CSS2.voidCSS2Properties. setPageBreakBefore(String pageBreakBefore)See the page-break-before property definition in CSS2.voidCSS2Properties. setPageBreakInside(String pageBreakInside)See the page-break-inside property definition in CSS2.voidCSS2Properties. setPause(String pause)See the pause property definition in CSS2.voidCSS2Properties. setPauseAfter(String pauseAfter)See the pause-after property definition in CSS2.voidCSS2Properties. setPauseBefore(String pauseBefore)See the pause-before property definition in CSS2.voidCSS2Properties. setPitch(String pitch)See the pitch property definition in CSS2.voidCSS2Properties. setPitchRange(String pitchRange)See the pitch-range property definition in CSS2.voidCSS2Properties. setPlayDuring(String playDuring)See the play-during property definition in CSS2.voidCSS2Properties. setPosition(String position)See the position property definition in CSS2.voidCSSStyleDeclaration. setProperty(String propertyName, String value, String priority)Used to set a property value and priority within this declaration block.voidCSS2Properties. setQuotes(String quotes)See the quotes property definition in CSS2.voidCSS2Properties. setRichness(String richness)See the richness property definition in CSS2.voidCSS2Properties. setRight(String right)See the right property definition in CSS2.voidCSSPageRule. setSelectorText(String selectorText)The parsable textual representation of the page selector for the rule.voidCSSStyleRule. setSelectorText(String selectorText)The textual representation of the selector for the rule set.voidCSS2Properties. setSize(String size)See the size property definition in CSS2.voidCSS2Properties. setSpeak(String speak)See the speak property definition in CSS2.voidCSS2Properties. setSpeakHeader(String speakHeader)See the speak-header property definition in CSS2.voidCSS2Properties. setSpeakNumeral(String speakNumeral)See the speak-numeral property definition in CSS2.voidCSS2Properties. setSpeakPunctuation(String speakPunctuation)See the speak-punctuation property definition in CSS2.voidCSS2Properties. setSpeechRate(String speechRate)See the speech-rate property definition in CSS2.voidCSS2Properties. setStress(String stress)See the stress property definition in CSS2.voidCSSPrimitiveValue. setStringValue(short stringType, String stringValue)A method to set the string value with the specified unit.voidCSS2Properties. setTableLayout(String tableLayout)See the table-layout property definition in CSS2.voidCSS2Properties. setTextAlign(String textAlign)See the text-align property definition in CSS2.voidCSS2Properties. setTextDecoration(String textDecoration)See the text-decoration property definition in CSS2.voidCSS2Properties. setTextIndent(String textIndent)See the text-indent property definition in CSS2.voidCSS2Properties. setTextShadow(String textShadow)See the text-shadow property definition in CSS2.voidCSS2Properties. setTextTransform(String textTransform)See the text-transform property definition in CSS2.voidCSS2Properties. setTop(String top)See the top property definition in CSS2.voidCSS2Properties. setUnicodeBidi(String unicodeBidi)See the unicode-bidi property definition in CSS2.voidCSS2Properties. setVerticalAlign(String verticalAlign)See the vertical-align property definition in CSS2.voidCSS2Properties. setVisibility(String visibility)See the visibility property definition in CSS2.voidCSS2Properties. setVoiceFamily(String voiceFamily)See the voice-family property definition in CSS2.voidCSS2Properties. setVolume(String volume)See the volume property definition in CSS2.voidCSS2Properties. setWhiteSpace(String whiteSpace)See the white-space property definition in CSS2.voidCSS2Properties. setWidows(String widows)See the widows property definition in CSS2.voidCSS2Properties. setWidth(String width)See the width property definition in CSS2.voidCSS2Properties. setWordSpacing(String wordSpacing)See the word-spacing property definition in CSS2.voidCSS2Properties. setZIndex(String zIndex)See the z-index property definition in CSS2. -
Uses of DOMException in org.w3c.dom.events
Methods in org.w3c.dom.events that throw DOMException Modifier and Type Method Description EventDocumentEvent. createEvent(String eventType) -
Uses of DOMException in org.w3c.dom.html
Methods in org.w3c.dom.html that throw DOMException Modifier and Type Method Description voidHTMLSelectElement. add(HTMLElement element, HTMLElement before)Add a new element to the collection ofOPTIONelements for thisSELECT.voidHTMLTableRowElement. deleteCell(int index)Delete a cell from the current row.voidHTMLTableElement. deleteRow(int index)Delete a table row.voidHTMLTableSectionElement. deleteRow(int index)Delete a row from this section.HTMLElementHTMLTableRowElement. insertCell(int index)Insert an emptyTDcell into this row.HTMLElementHTMLTableElement. insertRow(int index)Insert a new empty row in the table.HTMLElementHTMLTableSectionElement. insertRow(int index)Insert a row into this section. -
Uses of DOMException in org.w3c.dom.ls
Methods in org.w3c.dom.ls that throw DOMException Modifier and Type Method Description LSParserDOMImplementationLS. createLSParser(short mode, String schemaType)Create a newLSParser.DocumentLSParser. parse(LSInput input)Parse an XML document from a resource identified by aLSInput.DocumentLSParser. parseURI(String uri)Parse an XML document from a location identified by a URI reference [IETF RFC 2396].NodeLSParser. parseWithContext(LSInput input, Node contextArg, short action)Parse an XML fragment from a resource identified by aLSInputand insert the content into an existing document at the position specified with thecontextandactionarguments.StringLSSerializer. writeToString(Node nodeArg)Serialize the specified node as described above in the general description of theLSSerializerinterface. -
Uses of DOMException in org.w3c.dom.ranges
Methods in org.w3c.dom.ranges that throw DOMException Modifier and Type Method Description DocumentFragmentRange. cloneContents()Duplicates the contents of a RangeRangeRange. cloneRange()Produces a new Range whose boundary-points are equal to the boundary-points of the Range.voidRange. collapse(boolean toStart)Collapse a Range onto one of its boundary-pointsshortRange. compareBoundaryPoints(short how, Range sourceRange)Compare the boundary-points of two Ranges in a document.voidRange. deleteContents()Removes the contents of a Range from the containing document or document fragment without returning a reference to the removed content.voidRange. detach()Called to indicate that the Range is no longer in use and that the implementation may relinquish any resources associated with this Range.DocumentFragmentRange. extractContents()Moves the contents of a Range from the containing document or document fragment to a new DocumentFragment.booleanRange. getCollapsed()TRUE if the Range is collapsedNodeRange. getCommonAncestorContainer()The deepest common ancestor container of the Range's two boundary-points.NodeRange. getEndContainer()Node within which the Range endsintRange. getEndOffset()Offset within the ending node of the Range.NodeRange. getStartContainer()Node within which the Range beginsintRange. getStartOffset()Offset within the starting node of the Range.voidRange. insertNode(Node newNode)Inserts a node into the Document or DocumentFragment at the start of the Range.voidRange. selectNode(Node refNode)Select a node and its contentsvoidRange. selectNodeContents(Node refNode)Select the contents within a nodevoidRange. setEnd(Node refNode, int offset)Sets the attributes describing the end of a Range.voidRange. setEndAfter(Node refNode)Sets the end of a Range to be after a nodevoidRange. setEndBefore(Node refNode)Sets the end position to be before a node.voidRange. setStart(Node refNode, int offset)Sets the attributes describing the start of the Range.voidRange. setStartAfter(Node refNode)Sets the start position to be after a nodevoidRange. setStartBefore(Node refNode)Sets the start position to be before a nodevoidRange. 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.StringRange. toString()Returns the contents of a Range as a string. -
Uses of DOMException in org.w3c.dom.stylesheets
Methods in org.w3c.dom.stylesheets that throw DOMException Modifier and Type Method Description voidMediaList. appendMedium(String newMedium)Adds the mediumnewMediumto the end of the list.voidMediaList. deleteMedium(String oldMedium)Deletes the medium indicated byoldMediumfrom the list.voidMediaList. setMediaText(String mediaText)The parsable textual representation of the media list. -
Uses of DOMException in org.w3c.dom.traversal
Methods in org.w3c.dom.traversal that throw DOMException Modifier and Type Method Description NodeIteratorDocumentTraversal. createNodeIterator(Node root, int whatToShow, NodeFilter filter, boolean entityReferenceExpansion)Create a newNodeIteratorover the subtree rooted at the specified node.TreeWalkerDocumentTraversal. createTreeWalker(Node root, int whatToShow, NodeFilter filter, boolean entityReferenceExpansion)Create a newTreeWalkerover the subtree rooted at the specified node.NodeNodeIterator. nextNode()Returns the next node in the set and advances the position of theNodeIteratorin the set.NodeNodeIterator. previousNode()Returns the previous node in the set and moves the position of theNodeIteratorbackwards in the set.voidTreeWalker. setCurrentNode(Node currentNode)The node at which theTreeWalkeris currently positioned. -
Uses of DOMException in org.w3c.dom.xpath
Methods in org.w3c.dom.xpath that throw DOMException Modifier and Type Method Description XPathExpressionXPathEvaluator. createExpression(String expression, XPathNSResolver resolver)Creates a parsed XPath expression with resolved namespaces.ObjectXPathEvaluator. 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.ObjectXPathExpression. evaluate(Node contextNode, short type, Object result)Evaluates this XPath expression and returns a result.NodeXPathResult. iterateNext()Iterates and returns the next node from the node set ornullif there are no more nodes.
-