|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Node | |
gnu.xml.dom | This is a Free Software DOM Level 2 implementation, supporting these features: "XML", "Events", "MutationEvents", "HTMLEvents" (won't generate them though), "UIEvents" (also won't generate them), "USER-Events" (a conformant extension), and "Traversal" (optional; no TreeWalker yet). |
gnu.xml.pipeline | This package exposes a kind of XML processing pipeline, based on sending SAX events, which can be used as components of application architectures. |
gnu.xml.util | This package contains XML utilities, including SAX2 XML writers and a parser of DOM trees, plus a command line driver. |
javax.xml.transform.dom | Support for DOM inputs and outputs to transformers. |
org.w3c.dom | Contains the core and "XML" feature set of the DOM Level 2 Recommendation. |
org.w3c.dom.events | Supports the optional "Events", "UIEvents", "MouseEvents", "MutationEvents", and "HTMLEvents" features of the DOM Level 2 Recommendation. |
Uses of Node in gnu.xml.dom |
Classes in gnu.xml.dom that implement Node | |
class |
DomAttr
"Attr" implementation. |
class |
DomCDATA
"CDATASection" implementation. |
class |
DomCharacterData
Abstract "CharacterData" implementation. |
class |
DomComment
"Comment" implementation. |
class |
DomDoctype
"DocumentType" implementation (with no extensions for supporting any document typing information). |
class |
DomDocument
"Document" and "DocumentTraversal" implementation. |
class |
DomElement
"Element" implementation. |
class |
DomEntity
"Entity" implementation. |
class |
DomEntityReference
"EntityReference" implementation (reference to parsed entity). |
class |
DomExtern
Abstract implemention of nodes describing external DTD-related objects. |
class |
DomFragment
"DocumentFragment" implementation. |
class |
DomNode
"Node", "EventTarget", and "DocumentEvent" implementation. |
class |
DomNotation
"Notation" implementation. |
class |
DomNsNode
Abstract implemention of namespace support. |
class |
DomPI
"ProcessingInstruction" (PI) implementation. |
class |
DomText
"Text" implementation. |
Methods in gnu.xml.dom that return Node | |
Node |
DomNode.getFirstChild()
DOM L1 Returns the first child of this node, or null if there are none. |
Node |
DomNode.getLastChild()
DOM L1 Returns the last child of this node, or null if there are none. |
Node |
DomNode.appendChild(Node newChild)
DOM L1 Appends the specified node to this node's list of children. |
Node |
DomNode.insertBefore(Node newChild,
Node refChild)
DOM L1 Inserts the specified node in this node's list of children. |
Node |
DomNode.replaceChild(Node newChild,
Node refChild)
DOM L1 Replaces the specified node in this node's list of children. |
Node |
DomNode.removeChild(Node refChild)
DOM L1 Removes the specified child from this node's list of children, or else reports an exception. |
Node |
DomNode.item(int index)
DOM L1 (NodeList) Returns the item with the specified index in this NodeList, else null. |
Node |
DomNode.getNextSibling()
DOM L1 Returns the previous sibling, if one is known. |
Node |
DomNode.getPreviousSibling()
DOM L1 Returns the previous sibling, if one is known. |
Node |
DomNode.getParentNode()
DOM L1 Returns the parent node, if one is known. |
Node |
DomNode.cloneNode(boolean deep)
DOM L1 Returns a clone of this node which optionally includes cloned versions of child nodes. |
Node |
DomIterator.getRoot()
DOM L2 Returns the root of the tree this is iterating through. |
Node |
DomIterator.nextNode()
DOM L2 Returns the next node in a forward iteration, masked and filtered. |
Node |
DomIterator.previousNode()
DOM L2 Returns the next node in a backward iteration, masked and filtered. |
Node |
DomNamedNodeMap.getNamedItem(java.lang.String name)
DOM L1 Returns the named item from the map, or null; names are just the nodeName property. |
Node |
DomNamedNodeMap.getNamedItemNS(java.lang.String namespaceURI,
java.lang.String localName)
DOM L2 Returns the named item from the map, or null; names are the localName and namespaceURI properties, ignoring any prefix. |
Node |
DomNamedNodeMap.setNamedItem(Node arg)
DOM L1 Stores the named item into the map, optionally overwriting any existing node with that name. |
Node |
DomNamedNodeMap.setNamedItemNS(Node arg)
DOM L2 Stores the named item into the map, optionally overwriting any existing node with that fully qualified name. |
Node |
DomNamedNodeMap.removeNamedItem(java.lang.String name)
DOM L1 Removes the named item from the map, or reports an exception; names are just the nodeName property. |
Node |
DomNamedNodeMap.removeNamedItemNS(java.lang.String namespaceURI,
java.lang.String localName)
DOM L2 Removes the named item from the map, or reports an exception; names are the localName and namespaceURI properties. |
Node |
DomNamedNodeMap.item(int index)
DOM L1 Returns the indexed item from the map, or null. |
Node |
DomEvent.DomMutationEvent.getRelatedNode()
Returns any "related" node provided by this type of event |
Node |
DomEx.getNode()
Returns the node to which the diagnotic applies, or null. |
Node |
DomDocument.appendChild(Node newChild)
DOM L1 Appends the specified node to this node's list of children, enforcing the constraints that there be only one root element and one document type child. |
Node |
DomDocument.insertBefore(Node newChild,
Node refChild)
DOM L1 Inserts the specified node in this node's list of children, enforcing the constraints that there be only one root element and one document type child. |
Node |
DomDocument.replaceChild(Node newChild,
Node refChild)
DOM L1 Replaces the specified node in this node's list of children, enforcing the constraints that there be only one root element and one document type child. |
Node |
DomDocument.importNode(Node copiedNode,
boolean deep)
DOM L2 Makes a copy of the specified node, with all nodes "owned" by this document and with children optionally copied. |
Methods in gnu.xml.dom with parameters of type Node | |
Node |
DomNode.appendChild(Node newChild)
DOM L1 Appends the specified node to this node's list of children. |
Node |
DomNode.insertBefore(Node newChild,
Node refChild)
DOM L1 Inserts the specified node in this node's list of children. |
Node |
DomNode.replaceChild(Node newChild,
Node refChild)
DOM L1 Replaces the specified node in this node's list of children. |
Node |
DomNode.removeChild(Node refChild)
DOM L1 Removes the specified child from this node's list of children, or else reports an exception. |
boolean |
DomNode.nameAndTypeEquals(Node other)
Returns true iff node types match, and either (a) both nodes have no namespace and their getNodeName() values are the same, or (b) both nodes have the same getNamespaceURI() and same getLocalName() values. |
Node |
DomNamedNodeMap.setNamedItem(Node arg)
DOM L1 Stores the named item into the map, optionally overwriting any existing node with that name. |
Node |
DomNamedNodeMap.setNamedItemNS(Node arg)
DOM L2 Stores the named item into the map, optionally overwriting any existing node with that fully qualified name. |
void |
DomEvent.DomMutationEvent.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)
Initializes a mutation event |
Node |
DomDocument.appendChild(Node newChild)
DOM L1 Appends the specified node to this node's list of children, enforcing the constraints that there be only one root element and one document type child. |
Node |
DomDocument.insertBefore(Node newChild,
Node refChild)
DOM L1 Inserts the specified node in this node's list of children, enforcing the constraints that there be only one root element and one document type child. |
Node |
DomDocument.replaceChild(Node newChild,
Node refChild)
DOM L1 Replaces the specified node in this node's list of children, enforcing the constraints that there be only one root element and one document type child. |
Node |
DomDocument.importNode(Node copiedNode,
boolean deep)
DOM L2 Makes a copy of the specified node, with all nodes "owned" by this document and with children optionally copied. |
org.w3c.dom.traversal.NodeIterator |
DomDocument.createNodeIterator(Node root,
int whatToShow,
org.w3c.dom.traversal.NodeFilter filter,
boolean expandEntities)
DOM L2 (Traversal) Returns a newly created node iterator. |
org.w3c.dom.traversal.TreeWalker |
DomDocument.createTreeWalker(Node root,
int whatToShow,
org.w3c.dom.traversal.NodeFilter filter,
boolean entityReferenceExpansion)
|
Constructors in gnu.xml.dom with parameters of type Node | |
DomIterator(Node root,
int whatToShow,
org.w3c.dom.traversal.NodeFilter filter,
boolean entityReferenceExpansion)
Constructs and initializes an iterator. |
|
DomEx(short code,
java.lang.String data,
Node node,
int value)
Constructs an exception, with the diagnostic message corresponding to the specified code and additional information as provided. |
Uses of Node in gnu.xml.pipeline |
Methods in gnu.xml.pipeline that return Node | |
protected Node |
DomConsumer.Handler.getTop()
Returns the current node being populated. |
Uses of Node in gnu.xml.util |
Constructors in gnu.xml.util with parameters of type Node | |
DomParser(Node node)
Constructs an SAX2 parser initialized to traverse the specified DOM tree. |
Uses of Node in javax.xml.transform.dom |
Methods in javax.xml.transform.dom that return Node | |
Node |
DOMSource.getNode()
|
Node |
DOMResult.getNode()
|
Node |
DOMLocator.getOriginatingNode()
|
Methods in javax.xml.transform.dom with parameters of type Node | |
void |
DOMSource.setNode(Node node)
|
void |
DOMResult.setNode(Node node)
|
Constructors in javax.xml.transform.dom with parameters of type Node | |
DOMSource(Node node)
|
|
DOMSource(Node node,
java.lang.String systemID)
|
|
DOMResult(Node node)
|
|
DOMResult(Node node,
java.lang.String systemID)
|
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 '
<!-- ' and ending '--> '. |
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 an entity, either parsed or unparsed, in an XML document. |
interface |
EntityReference
EntityReference objects may be inserted into the structure
model when an entity reference is in the source document, or when the
user wishes to insert an entity reference. |
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 |
NodeList.item(int index)
Returns the index th item in the collection. |
Node |
NamedNodeMap.getNamedItem(java.lang.String name)
Retrieves a node specified by name. |
Node |
NamedNodeMap.setNamedItem(Node arg)
Adds a node using its nodeName attribute. |
Node |
NamedNodeMap.removeNamedItem(java.lang.String name)
Removes a node specified by name. |
Node |
NamedNodeMap.item(int index)
Returns the index th item in the map. |
Node |
NamedNodeMap.getNamedItemNS(java.lang.String namespaceURI,
java.lang.String localName)
Retrieves a node specified by local name and namespace URI. |
Node |
NamedNodeMap.setNamedItemNS(Node arg)
Adds a node using its namespaceURI and
localName . |
Node |
NamedNodeMap.removeNamedItemNS(java.lang.String namespaceURI,
java.lang.String localName)
Removes a node specified by local name and namespace URI. |
Node |
Node.getParentNode()
The parent of this node. |
Node |
Node.getFirstChild()
The first child of this node. |
Node |
Node.getLastChild()
The last child of this node. |
Node |
Node.getPreviousSibling()
The node immediately preceding this node. |
Node |
Node.getNextSibling()
The node immediately following this node. |
Node |
Node.insertBefore(Node newChild,
Node refChild)
Inserts the node newChild before the existing child node
refChild . |
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 |
Node.removeChild(Node oldChild)
Removes the child node indicated by oldChild from the list
of children, and returns it. |
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 |
Document.importNode(Node importedNode,
boolean deep)
Imports a node from another document to this document. |
Methods in org.w3c.dom with parameters of type 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 . |
Node |
Node.insertBefore(Node newChild,
Node refChild)
Inserts the node newChild before the existing child node
refChild . |
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 |
Node.removeChild(Node oldChild)
Removes the child node indicated by oldChild from the list
of children, and returns it. |
Node |
Node.appendChild(Node newChild)
Adds the node newChild to the end of the list of children
of this node. |
Node |
Document.importNode(Node importedNode,
boolean deep)
Imports a node from another document to this document. |
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. |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Source code is under GPL (with library exception) in the JAXP project at http://www.gnu.org/software/classpathx/jaxp
This documentation was derived from that source code on 2001-11-20.