|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Node | |
---|---|
javax.xml.transform.dom | This package implements DOM-specific transformation APIs. |
org.w3c.dom | |
org.w3c.dom.events | |
org.w3c.dom.ls | |
org.w3c.dom.ranges | |
org.w3c.dom.traversal |
Uses of Node in javax.xml.transform.dom |
---|
Methods in javax.xml.transform.dom that return Node | |
---|---|
Node |
DOMResult.getNextSibling()
Get the child node before which the result nodes will be inserted. |
Node |
DOMResult.getNode()
Get the node that will contain the result DOM tree. |
Node |
DOMSource.getNode()
Get the node that represents a Source DOM tree. |
Node |
DOMLocator.getOriginatingNode()
Return the node where the event occurred. |
Methods in javax.xml.transform.dom with parameters of type Node | |
---|---|
void |
DOMResult.setNextSibling(Node nextSibling)
Set the child node before which the result nodes will be inserted. |
void |
DOMResult.setNode(Node node)
Set the node that will contain the result DOM tree. |
void |
DOMSource.setNode(Node node)
Set the node that will represents a Source DOM tree. |
Constructors in javax.xml.transform.dom with parameters of type Node | |
---|---|
DOMResult(Node node)
Use a DOM node to create a new output target. |
|
DOMResult(Node node,
Node nextSibling)
Use a DOM node to create a new output target specifying the child node where the result nodes should be inserted before. |
|
DOMResult(Node node,
Node nextSibling,
java.lang.String systemId)
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. |
|
DOMResult(Node node,
java.lang.String systemId)
Use a DOM node to create a new output target with the specified System ID. |
|
DOMSource(Node n)
Create a new input source with a DOM node. |
|
DOMSource(Node node,
java.lang.String systemID)
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 org.w3c.dom |
---|
Subinterfaces of Node in org.w3c.dom | |
---|---|
interface |
Attr
The Attr interface represents an attribute in an
Element object. |
interface |
CDATASection
CDATA sections are used to escape blocks of text containing characters that would otherwise be regarded as markup. |
interface |
CharacterData
The CharacterData interface extends Node with a set of
attributes and methods for accessing character data in the DOM. |
interface |
Comment
This interface inherits from CharacterData and represents the
content of a comment, i.e., all the characters between the starting '
<! |
interface |
Document
The Document interface represents the entire HTML or XML
document. |
interface |
DocumentFragment
DocumentFragment is a "lightweight" or "minimal"
Document object. |
interface |
DocumentType
Each Document has a doctype attribute whose value
is either null or a DocumentType object. |
interface |
Element
The Element interface represents an element in an HTML or XML
document. |
interface |
Entity
This interface represents a known entity, either parsed or unparsed, in an XML document. |
interface |
EntityReference
EntityReference nodes may be used to represent an entity
reference in the tree. |
interface |
Notation
This interface represents a notation declared in the DTD. |
interface |
ProcessingInstruction
The ProcessingInstruction interface represents a "processing
instruction", used in XML as a way to keep processor-specific information
in the text of the document. |
interface |
Text
The Text interface inherits from CharacterData
and represents the textual content (termed character data in XML) of an Element or Attr . |
Methods in org.w3c.dom that return Node | |
---|---|
Node |
Document.adoptNode(Node source)
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. |
Node |
Node.cloneNode(boolean deep)
Returns a duplicate of this node, i.e., serves as a generic copy constructor for nodes. |
Node |
Node.getFirstChild()
The first child of this node. |
Node |
Node.getLastChild()
The last child of this node. |
Node |
NamedNodeMap.getNamedItem(java.lang.String name)
Retrieves a node specified by name. |
Node |
NamedNodeMap.getNamedItemNS(java.lang.String namespaceURI,
java.lang.String localName)
Retrieves a node specified by local name and namespace URI. |
Node |
Node.getNextSibling()
The node immediately following this node. |
Node |
Node.getParentNode()
The parent of this node. |
Node |
Node.getPreviousSibling()
The node immediately preceding this node. |
Node |
DOMLocator.getRelatedNode()
The node this locator is pointing to, or null if no node
is available. |
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 . |
Node |
NamedNodeMap.item(int index)
Returns the index th item in the map. |
Node |
NodeList.item(int index)
Returns the index th item in the collection. |
Node |
Node.removeChild(Node oldChild)
Removes the child node indicated by oldChild from the list
of children, and returns it. |
Node |
NamedNodeMap.removeNamedItem(java.lang.String name)
Removes a node specified by name. |
Node |
NamedNodeMap.removeNamedItemNS(java.lang.String namespaceURI,
java.lang.String localName)
Removes a node specified by local name and namespace URI. |
Node |
Document.renameNode(Node n,
java.lang.String namespaceURI,
java.lang.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. |
Node |
NamedNodeMap.setNamedItem(Node arg)
Adds a node using its nodeName attribute. |
Node |
NamedNodeMap.setNamedItemNS(Node arg)
Adds a node using its namespaceURI and
localName . |
Methods in org.w3c.dom with parameters of type Node | |
---|---|
Node |
Document.adoptNode(Node source)
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. |
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. |
void |
UserDataHandler.handle(short operation,
java.lang.String key,
java.lang.Object data,
Node src,
Node dst)
This method is called whenever the node for which this handler is registered is imported or cloned. |
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 . |
boolean |
Node.isEqualNode(Node arg)
Tests whether two nodes are equal. |
boolean |
Node.isSameNode(Node other)
Returns whether this node is the same node as the given one. |
Node |
Node.removeChild(Node oldChild)
Removes the child node indicated by oldChild from the list
of children, and returns it. |
Node |
Document.renameNode(Node n,
java.lang.String namespaceURI,
java.lang.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. |
Node |
NamedNodeMap.setNamedItem(Node arg)
Adds a node using its nodeName attribute. |
Node |
NamedNodeMap.setNamedItemNS(Node arg)
Adds a node using its namespaceURI and
localName . |
Uses of Node in org.w3c.dom.events |
---|
Methods in org.w3c.dom.events that return Node | |
---|---|
Node |
MutationEvent.getRelatedNode()
relatedNode is used to identify a secondary node related
to a mutation event. |
Methods in org.w3c.dom.events with parameters of type Node | |
---|---|
void |
MutationEvent.initMutationEvent(java.lang.String typeArg,
boolean canBubbleArg,
boolean cancelableArg,
Node relatedNodeArg,
java.lang.String prevValueArg,
java.lang.String newValueArg,
java.lang.String attrNameArg,
short attrChangeArg)
The initMutationEvent method is used to initialize the
value of a MutationEvent created through the
DocumentEvent interface. |
Uses of Node in org.w3c.dom.ls |
---|
Methods in org.w3c.dom.ls that return Node | |
---|---|
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. |
Methods in org.w3c.dom.ls with parameters of type Node | |
---|---|
short |
LSParserFilter.acceptNode(Node nodeArg)
This method will be called by the parser at the completion of the parsing of each node. |
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. |
boolean |
LSSerializer.write(Node nodeArg,
LSOutput destination)
Serialize the specified node as described above in the general description of the LSSerializer interface. |
java.lang.String |
LSSerializer.writeToString(Node nodeArg)
Serialize the specified node as described above in the general description of the LSSerializer interface. |
boolean |
LSSerializer.writeToURI(Node nodeArg,
java.lang.String uri)
A convenience method that acts as if LSSerializer.write
was called with a LSOutput with no encoding specified
and LSOutput.systemId set to the uri
argument. |
Uses of Node in org.w3c.dom.ranges |
---|
Methods in org.w3c.dom.ranges that return Node | |
---|---|
Node |
Range.getCommonAncestorContainer()
The deepest common ancestor container of the Range's two boundary-points. |
Node |
Range.getEndContainer()
Node within which the Range ends |
Node |
Range.getStartContainer()
Node within which the Range begins |
Methods in org.w3c.dom.ranges with parameters of type Node | |
---|---|
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 contents |
void |
Range.selectNodeContents(Node refNode)
Select the contents within a node |
void |
Range.setEnd(Node refNode,
int offset)
Sets the attributes describing the end of a Range. |
void |
Range.setEndAfter(Node refNode)
Sets the end of a Range to be after a node |
void |
Range.setEndBefore(Node refNode)
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 |
Range.setStartAfter(Node refNode)
Sets the start position to be after a node |
void |
Range.setStartBefore(Node refNode)
Sets the start position to be before a node |
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. |
Uses of Node in org.w3c.dom.traversal |
---|
Methods in org.w3c.dom.traversal that return Node | |
---|---|
Node |
TreeWalker.firstChild()
Moves the TreeWalker to the first visible child of the
current node, and returns the new node. |
Node |
TreeWalker.getCurrentNode()
The node at which the TreeWalker is currently positioned. |
Node |
NodeIterator.getRoot()
The root node of the NodeIterator , as specified when it
was created. |
Node |
TreeWalker.getRoot()
The root node of the TreeWalker , as specified
when it was created. |
Node |
TreeWalker.lastChild()
Moves the TreeWalker to the last visible child of the
current node, and returns the new node. |
Node |
NodeIterator.nextNode()
Returns the next node in the set and advances the position of the NodeIterator in the set. |
Node |
TreeWalker.nextNode()
Moves the TreeWalker to the next visible node in document
order relative to the current node, and returns the new node. |
Node |
TreeWalker.nextSibling()
Moves the TreeWalker to the next sibling of the current
node, and returns the new node. |
Node |
TreeWalker.parentNode()
Moves to and returns the closest visible ancestor node of the current node. |
Node |
NodeIterator.previousNode()
Returns the previous node in the set and moves the position of the NodeIterator backwards in the set. |
Node |
TreeWalker.previousNode()
Moves the TreeWalker to the previous visible node in
document order relative to the current node, and returns the new
node. |
Node |
TreeWalker.previousSibling()
Moves the TreeWalker to the previous sibling of the
current node, and returns the new node. |
Methods in org.w3c.dom.traversal with parameters of type Node | |
---|---|
short |
NodeFilter.acceptNode(Node n)
Test whether a specified node is visible in the logical view of a TreeWalker or NodeIterator . |
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. |
void |
TreeWalker.setCurrentNode(Node currentNode)
The node at which the TreeWalker is currently positioned. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |