Uses of Interface
org.w3c.dom.Node
Packages that use Node
Package
Description
A package of the Java Image I/O API dealing with reading and writing
metadata.
Public classes used by the built-in TIFF plug-ins.
DOM-specific classes for the
javax.xml.crypto package.DOM-specific classes for the
javax.xml.crypto.dsig package.Provides DOM specific transformation classes.
Provides an object-model neutral API for the
evaluation of XPath expressions and access to the evaluation
environment.
Provides the interfaces for the Document Object Model (DOM).
Provides interfaces for DOM Level 2 Events.
Provides interfaces for DOM Level 2 HTML Specification.
Provides interfaces for DOM Level 3 Load and Save.
Provides interfaces for DOM Level 2 Range.
Provides interfaces for DOM Level 2 Style Specification.
Provides interfaces for DOM Level 2 Traversal.
Provides interfaces for DOM Level 3 XPath Specification.
-
Uses of Node in javax.imageio.metadata
Classes in javax.imageio.metadata that implement NodeModifier and TypeClassDescriptionclassA class representing a node in a meta-data tree, which implements theorg.w3c.dom.Elementinterface and additionally allows for the storage of non-textual objects via thegetUserObjectandsetUserObjectmethods.Fields in javax.imageio.metadata declared as NodeModifier and TypeFieldDescriptionprotected NodeIIOInvalidTreeException.offendingNodeTheNodethat led to the parsing error, ornull.Methods in javax.imageio.metadata that return NodeModifier and TypeMethodDescriptionIIOMetadataNode.appendChild(Node newChild) Adds the nodenewChildto the end of the list of children of this node.IIOMetadataNode.cloneNode(boolean deep) Returns a duplicate of this node.abstract NodeReturns an XML DOMNodeobject that represents the root of a tree of metadata contained within this object according to the conventions defined by a given metadata format.IIOMetadataNode.getFirstChild()Returns the first child of this node, ornullif the node has no children.IIOMetadataNode.getLastChild()Returns the last child of this node, ornullif the node has no children.IIOMetadataNode.getNextSibling()Returns the next sibling of this node, ornullif the node has no next sibling.IIOInvalidTreeException.getOffendingNode()Returns theNodethat caused the error in parsing.IIOMetadataNode.getParentNode()Returns the parent of this node.IIOMetadataNode.getPreviousSibling()Returns the previous sibling of this node, ornullif this node has no previous sibling.IIOMetadataNode.insertBefore(Node newChild, Node refChild) Inserts the nodenewChildbefore the existing child noderefChild.IIOMetadataNode.item(int index) IIOMetadataNode.removeChild(Node oldChild) Removes the child node indicated byoldChildfrom the list of children, and returns it.IIOMetadataNode.replaceChild(Node newChild, Node oldChild) Replaces the child nodeoldChildwithnewChildin the list of children, and returns theoldChildnode.Methods in javax.imageio.metadata with parameters of type NodeModifier and TypeMethodDescriptionIIOMetadataNode.appendChild(Node newChild) Adds the nodenewChildto the end of the list of children of this node.shortIIOMetadataNode.compareDocumentPosition(Node other) This DOM Level 3 method is not supported forIIOMetadataNodeand will throw aDOMException.IIOMetadataNode.insertBefore(Node newChild, Node refChild) Inserts the nodenewChildbefore the existing child noderefChild.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.abstract voidAlters the internal state of thisIIOMetadataobject from a tree of XML DOMNodes whose syntax is defined by the given metadata format.IIOMetadataNode.removeChild(Node oldChild) Removes the child node indicated byoldChildfrom the list of children, and returns it.IIOMetadataNode.replaceChild(Node newChild, Node oldChild) Replaces the child nodeoldChildwithnewChildin the list of children, and returns theoldChildnode.voidIIOMetadata.setFromTree(String formatName, Node root) Sets the internal state of thisIIOMetadataobject from a tree of XML DOMNodes whose syntax is defined by the given metadata format.Constructors in javax.imageio.metadata with parameters of type NodeModifierConstructorDescriptionIIOInvalidTreeException(String message, Throwable cause, Node offendingNode) Constructs anIIOInvalidTreeExceptionwith a message string, a reference to an exception that caused this exception, and a reference to theNodethat caused the parsing error.IIOInvalidTreeException(String message, Node offendingNode) Constructs anIIOInvalidTreeExceptionwith a message string and a reference to theNodethat caused the parsing error. -
Uses of Node in javax.imageio.plugins.tiff
Methods in javax.imageio.plugins.tiff that return NodeModifier and TypeMethodDescriptionTIFFField.getAsNativeNode()Returns theTIFFFieldas a node named either"TIFFField"or"TIFFIFD"as described in the TIFF native image metadata specification.Methods in javax.imageio.plugins.tiff with parameters of type NodeModifier and TypeMethodDescriptionstatic TIFFFieldTIFFField.createFromMetadataNode(TIFFTagSet tagSet, Node node) Creates aTIFFFieldfrom a TIFF native image metadata node. -
Uses of Node in javax.xml.crypto.dom
Methods in javax.xml.crypto.dom that return NodeModifier and TypeMethodDescriptionDOMURIReference.getHere()Returns the here node.DOMStructure.getNode()Returns the node contained in thisDOMStructure.Constructors in javax.xml.crypto.dom with parameters of type NodeModifierConstructorDescriptionDOMStructure(Node node) Creates aDOMStructurecontaining the specified node. -
Uses of Node in javax.xml.crypto.dsig.dom
Methods in javax.xml.crypto.dsig.dom that return NodeModifier and TypeMethodDescriptionDOMSignContext.getNextSibling()Returns the nextSibling node.DOMValidateContext.getNode()Returns the node.DOMSignContext.getParent()Returns the parent node.Methods in javax.xml.crypto.dsig.dom with parameters of type NodeModifier and TypeMethodDescriptionvoidDOMSignContext.setNextSibling(Node nextSibling) Sets the next sibling node.voidSets the node.voidSets the parent node.Constructors in javax.xml.crypto.dsig.dom with parameters of type NodeModifierConstructorDescriptionDOMSignContext(Key signingKey, Node parent) Creates aDOMSignContextwith the specified signing key and parent node.DOMSignContext(Key signingKey, Node parent, Node nextSibling) Creates aDOMSignContextwith the specified signing key, parent and next sibling nodes.DOMSignContext(KeySelector ks, Node parent) Creates aDOMSignContextwith the specified key selector and parent node.DOMSignContext(KeySelector ks, Node parent, Node nextSibling) Creates aDOMSignContextwith the specified key selector, parent and next sibling nodes.DOMValidateContext(Key validatingKey, Node node) Creates aDOMValidateContextcontaining the specified key and node.DOMValidateContext(KeySelector ks, Node node) Creates aDOMValidateContextcontaining the specified key selector and node. -
Uses of Node in javax.xml.transform.dom
Methods in javax.xml.transform.dom that return NodeModifier and TypeMethodDescriptionDOMResult.getNextSibling()Get the child node before which the result nodes will be inserted.DOMResult.getNode()Get the node that will contain the result DOM tree.DOMSource.getNode()Get the node that represents a Source DOM tree.DOMLocator.getOriginatingNode()Return the node where the event occurred.Methods in javax.xml.transform.dom with parameters of type NodeModifier and TypeMethodDescriptionvoidDOMResult.setNextSibling(Node nextSibling) Set the child node before which the result nodes will be inserted.voidSet the node that will contain the result DOM tree.voidSet the node that will represents a Source DOM tree.Constructors in javax.xml.transform.dom with parameters of type NodeModifierConstructorDescriptionUse a DOM node to create a new output target.Use a DOM node to create a new output target with the specified System ID.Use a DOM node to create a new output target specifying the child node where the result nodes should be inserted before.Use a DOM node to create a new output target specifying the child node where the result nodes should be inserted before and the specified System ID.Create a new input source with a DOM node.Create a new input source with a DOM node, and with the system ID also passed in as the base URI. -
Uses of Node in javax.xml.xpath
Methods in javax.xml.xpath that return NodeModifier and TypeMethodDescriptionXPathNodes.get(int index) Returns a Node at the specified positionMethods in javax.xml.xpath that return types with arguments of type Node -
Uses of Node in org.w3c.dom
Subinterfaces of Node in org.w3c.domModifier and TypeInterfaceDescriptioninterfaceTheAttrinterface represents an attribute in anElementobject.interfaceCDATA sections are used to escape blocks of text containing characters that would otherwise be regarded as markup.interfaceTheCharacterDatainterface extends Node with a set of attributes and methods for accessing character data in the DOM.interfaceThis interface inherits fromCharacterDataand represents the content of a comment, i.e., all the characters between the starting '<!--' and ending '-->'.interfaceTheDocumentinterface represents the entire HTML or XML document.interfaceDocumentFragmentis a "lightweight" or "minimal"Documentobject.interfaceEachDocumenthas adoctypeattribute whose value is eithernullor aDocumentTypeobject.interfaceTheElementinterface represents an element in an HTML or XML document.interfaceThis interface represents a known entity, either parsed or unparsed, in an XML document.interfaceEntityReferencenodes may be used to represent an entity reference in the tree.interfaceThis interface represents a notation declared in the DTD.interfaceTheProcessingInstructioninterface represents a "processing instruction", used in XML as a way to keep processor-specific information in the text of the document.interfaceTheTextinterface inherits fromCharacterDataand represents the textual content (termed character data in XML) of anElementorAttr.Methods in org.w3c.dom that return NodeModifier and TypeMethodDescriptionAttempts to adopt a node from another document to this document.Node.appendChild(Node newChild) Adds the nodenewChildto the end of the list of children of this node.Node.cloneNode(boolean deep) Returns a duplicate of this node, i.e., serves as a generic copy constructor for nodes.Node.getFirstChild()The first child of this node.Node.getLastChild()The last child of this node.NamedNodeMap.getNamedItem(String name) Retrieves a node specified by name.NamedNodeMap.getNamedItemNS(String namespaceURI, String localName) Retrieves a node specified by local name and namespace URI.Node.getNextSibling()The node immediately following this node.Node.getParentNode()The parent of this node.Node.getPreviousSibling()The node immediately preceding this node.DOMLocator.getRelatedNode()The node this locator is pointing to, ornullif no node is available.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 nodenewChildbefore the existing child noderefChild.NamedNodeMap.item(int index) Returns theindexth item in the map.NodeList.item(int index) Returns theindexth item in the collection.Node.removeChild(Node oldChild) Removes the child node indicated byoldChildfrom 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_NODEorATTRIBUTE_NODE.Node.replaceChild(Node newChild, Node oldChild) Replaces the child nodeoldChildwithnewChildin the list of children, and returns theoldChildnode.NamedNodeMap.setNamedItem(Node arg) Adds a node using itsnodeNameattribute.NamedNodeMap.setNamedItemNS(Node arg) Adds a node using itsnamespaceURIandlocalName.Methods in org.w3c.dom with parameters of type NodeModifier and TypeMethodDescriptionAttempts to adopt a node from another document to this document.Node.appendChild(Node newChild) Adds the nodenewChildto the end of the list of children of this 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.voidThis method is called whenever the node for which this handler is registered is imported or cloned.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 nodenewChildbefore the existing child noderefChild.booleanNode.isEqualNode(Node arg) Tests whether two nodes are equal.booleanNode.isSameNode(Node other) Returns whether this node is the same node as the given one.Node.removeChild(Node oldChild) Removes the child node indicated byoldChildfrom the list of children, and returns it.Document.renameNode(Node n, String namespaceURI, String qualifiedName) Rename an existing node of typeELEMENT_NODEorATTRIBUTE_NODE.Node.replaceChild(Node newChild, Node oldChild) Replaces the child nodeoldChildwithnewChildin the list of children, and returns theoldChildnode.NamedNodeMap.setNamedItem(Node arg) Adds a node using itsnodeNameattribute.NamedNodeMap.setNamedItemNS(Node arg) Adds a node using itsnamespaceURIandlocalName. -
Uses of Node in org.w3c.dom.events
Methods in org.w3c.dom.events that return NodeModifier and TypeMethodDescriptionMutationEvent.getRelatedNode()relatedNodeis used to identify a secondary node related to a mutation event.Methods in org.w3c.dom.events with parameters of type NodeModifier and TypeMethodDescriptionvoidMutationEvent.initMutationEvent(String typeArg, boolean canBubbleArg, boolean cancelableArg, Node relatedNodeArg, String prevValueArg, String newValueArg, String attrNameArg, short attrChangeArg) TheinitMutationEventmethod is used to initialize the value of aMutationEventcreated through theDocumentEventinterface. -
Uses of Node in org.w3c.dom.html
Subinterfaces of Node in org.w3c.dom.htmlModifier and TypeInterfaceDescriptioninterfaceThe anchor element.interfaceAn embedded Java applet.interfaceClient-side image map area definition.interfaceDocument base URI.interfaceBase font.interfaceThe HTML document body.interfaceForce a line break.interfacePush button.interfaceDirectory list.interfaceGeneric block container.interfaceDefinition list.interfaceAnHTMLDocumentis the root of the HTML hierarchy and holds the entire content.interfaceAll HTML element interfaces derive from this class.interfaceOrganizes form controls into logical groups.interfaceLocal change to font.interfaceTheFORMelement encompasses behavior similar to a collection and an element.interfaceCreate a frame.interfaceCreate a grid of frames.interfaceDocument head information.interfaceFor theH1toH6elements.interfaceCreate a horizontal rule.interfaceRoot of an HTML document.interfaceInline subwindows.interfaceEmbedded image.interfaceForm control.interfaceThis element is used for single-line text input.interfaceForm field label text.interfaceProvides a caption for aFIELDSETgrouping.interfaceList item.interfaceTheLINKelement specifies a link to an external resource, and defines this document's relationship to that resource (or vice versa).interfaceClient-side image map.interfaceMenu list.interfaceThis contains generic meta-information about the document.interfaceNotice of modification to part of a document.interfaceGeneric embedded object.interfaceOrdered list.interfaceGroup options together in logical subdivisions.interfaceA selectable choice.interfaceParagraphs.interfaceParameters fed to theOBJECTelement.interfacePreformatted text.interfaceFor theQandBLOCKQUOTEelements.interfaceScript statements.interfaceThe select element allows the selection of an option.interfaceStyle information.interfaceTable caption See the CAPTION element definition in HTML 4.0.interfaceThe object used to represent theTHandTDelements.interfaceRegroups theCOLandCOLGROUPelements.interfaceThe create* and delete* methods on the table allow authors to construct and modify tables.interfaceA row in a table.interfaceTheTHEAD,TFOOT, andTBODYelements.interfaceMulti-line text field.interfaceThe document title.interfaceUnordered list.Methods in org.w3c.dom.html that return Node -
Uses of Node in org.w3c.dom.ls
Methods in org.w3c.dom.ls that return NodeModifier and TypeMethodDescriptionLSParser.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.Methods in org.w3c.dom.ls with parameters of type NodeModifier and TypeMethodDescriptionshortLSParserFilter.acceptNode(Node nodeArg) This method will be called by the parser at the completion of the parsing of each node.LSParser.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.booleanSerialize the specified node as described above in the general description of theLSSerializerinterface.LSSerializer.writeToString(Node nodeArg) Serialize the specified node as described above in the general description of theLSSerializerinterface.booleanLSSerializer.writeToURI(Node nodeArg, String uri) A convenience method that acts as ifLSSerializer.writewas called with aLSOutputwith no encoding specified andLSOutput.systemIdset to theuriargument. -
Uses of Node in org.w3c.dom.ranges
Methods in org.w3c.dom.ranges that return NodeModifier and TypeMethodDescriptionRange.getCommonAncestorContainer()The deepest common ancestor container of the Range's two boundary-points.Range.getEndContainer()Node within which the Range endsRange.getStartContainer()Node within which the Range beginsMethods in org.w3c.dom.ranges with parameters of type NodeModifier and TypeMethodDescriptionvoidRange.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 nodevoidSets 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.voidSets 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. -
Uses of Node in org.w3c.dom.stylesheets
Methods in org.w3c.dom.stylesheets that return NodeModifier and TypeMethodDescriptionStyleSheet.getOwnerNode()The node that associates this style sheet with the document. -
Uses of Node in org.w3c.dom.traversal
Methods in org.w3c.dom.traversal that return NodeModifier and TypeMethodDescriptionTreeWalker.firstChild()Moves theTreeWalkerto the first visible child of the current node, and returns the new node.TreeWalker.getCurrentNode()The node at which theTreeWalkeris currently positioned.NodeIterator.getRoot()The root node of theNodeIterator, as specified when it was created.TreeWalker.getRoot()Therootnode of theTreeWalker, as specified when it was created.TreeWalker.lastChild()Moves theTreeWalkerto the last visible child of the current node, and returns the new node.NodeIterator.nextNode()Returns the next node in the set and advances the position of theNodeIteratorin the set.TreeWalker.nextNode()Moves theTreeWalkerto the next visible node in document order relative to the current node, and returns the new node.TreeWalker.nextSibling()Moves theTreeWalkerto the next sibling of the current node, and returns the new node.TreeWalker.parentNode()Moves to and returns the closest visible ancestor node of the current node.NodeIterator.previousNode()Returns the previous node in the set and moves the position of theNodeIteratorbackwards in the set.TreeWalker.previousNode()Moves theTreeWalkerto the previous visible node in document order relative to the current node, and returns the new node.TreeWalker.previousSibling()Moves theTreeWalkerto the previous sibling of the current node, and returns the new node.Methods in org.w3c.dom.traversal with parameters of type NodeModifier and TypeMethodDescriptionshortNodeFilter.acceptNode(Node n) Test whether a specified node is visible in the logical view of aTreeWalkerorNodeIterator.DocumentTraversal.createNodeIterator(Node root, int whatToShow, NodeFilter filter, boolean entityReferenceExpansion) Create a newNodeIteratorover the subtree rooted at the specified node.DocumentTraversal.createTreeWalker(Node root, int whatToShow, NodeFilter filter, boolean entityReferenceExpansion) Create a newTreeWalkerover the subtree rooted at the specified node.voidTreeWalker.setCurrentNode(Node currentNode) The node at which theTreeWalkeris currently positioned. -
Uses of Node in org.w3c.dom.xpath
Subinterfaces of Node in org.w3c.dom.xpathModifier and TypeInterfaceDescriptioninterfaceTheXPathNamespaceinterface is returned byXPathResultinterfaces to represent the XPath namespace node type that DOM lacks.Methods in org.w3c.dom.xpath that return NodeModifier and TypeMethodDescriptionXPathResult.getSingleNodeValue()The value of this single node result, which may benull.XPathResult.iterateNext()Iterates and returns the next node from the node set ornullif there are no more nodes.XPathResult.snapshotItem(int index) Returns theindexth item in the snapshot collection.Methods in org.w3c.dom.xpath with parameters of type NodeModifier and TypeMethodDescriptionXPathEvaluator.createNSResolver(Node nodeResolver) Adapts any DOM node to resolve namespaces so that an XPath expression can be easily evaluated relative to the context of the node where it appeared within the document.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.Evaluates this XPath expression and returns a result.