Uses of Interface
org.w3c.dom.Node
| Package | Description |
|---|---|
| javax.xml.transform.dom | |
| org.apache.harmony.xml.dom | |
| org.apache.xalan.extensions | |
| org.apache.xalan.processor |
Parses an XSLT stylesheet document (which may include and import other stylesheet documents) and produces a StylesheetRoot
(a TRaX Templates object).
|
| org.apache.xalan.templates |
Implements the
Templates interface,
and defines a set of classes that represent an XSLT stylesheet. |
| org.apache.xalan.transformer |
In charge of run-time transformations and the production of result trees.
|
| org.apache.xalan.xslt |
Implementation of Xalan command-line interface.
|
| org.apache.xml.dtm | |
| org.apache.xml.dtm.ref | |
| org.apache.xml.dtm.ref.dom2dtm | |
| org.apache.xml.serializer |
Processes SAX events into streams.
|
| org.apache.xml.serializer.dom3 | |
| org.apache.xml.serializer.utils | |
| org.apache.xml.utils |
Implementation of Xalan utility classes.
|
| org.apache.xpath |
Implementation of XPath; for the most part, only classes meant for public use are
found at this root level of the XPath packages.
|
| org.apache.xpath.axes |
Implementation of XPath LocationPath support -- primary classes are
LocPathIterator and UnionPathIterator.
|
| org.apache.xpath.jaxp | |
| org.apache.xpath.objects |
Implementation of XPath polymorphic type objects -- this package will grow
as XPath objects are expanded to support XML Schema data types.
|
| org.w3c.dom | |
| org.w3c.dom.ls | |
| org.w3c.dom.traversal |
-
Uses of Node in javax.xml.transform.dom
Methods in javax.xml.transform.dom that return Node Modifier and Type Method Description NodeDOMResult. getNextSibling()Get the child node before which the result nodes will be inserted.NodeDOMResult. getNode()Get the node that will contain the result DOM tree.NodeDOMSource. getNode()Get the node that represents a Source DOM tree.NodeDOMLocator. getOriginatingNode()Return the node where the event occurred.Methods in javax.xml.transform.dom with parameters of type Node Modifier and Type Method Description voidDOMResult. setNextSibling(Node nextSibling)Set the child node before which the result nodes will be inserted.voidDOMResult. setNode(Node node)Set the node that will contain the result DOM tree.voidDOMSource. setNode(Node node)Set the node that will represents a Source DOM tree.Constructors in javax.xml.transform.dom with parameters of type Node Constructor Description DOMResult(Node node)Use a DOM node to create a new output target.DOMResult(Node node, String systemId)Use a DOM node to create a new output target with the specified System ID.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, 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.DOMSource(Node n)Create a new input source with a DOM node.DOMSource(Node node, 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.apache.harmony.xml.dom
Classes in org.apache.harmony.xml.dom that implement Node Modifier and Type Class Description classAttrImplProvides a straightforward implementation of the corresponding W3C DOM interface.classCDATASectionImplProvides a straightforward implementation of the corresponding W3C DOM interface.classCharacterDataImplProvides a straightforward implementation of the corresponding W3C DOM interface.classCommentImplProvides a straightforward implementation of the corresponding W3C DOM interface.classDocumentFragmentImplProvides a straightforward implementation of the corresponding W3C DOM interface.classDocumentImplProvides a straightforward implementation of the corresponding W3C DOM interface.classDocumentTypeImplProvides a straightforward implementation of the corresponding W3C DOM interface.classElementImplProvides a straightforward implementation of the corresponding W3C DOM interface.classEntityImplProvides a straightforward implementation of the corresponding W3C DOM interface.classEntityReferenceImplProvides a straightforward implementation of the corresponding W3C DOM interface.classInnerNodeImplProvides a straightforward implementation of the corresponding W3C DOM interface.classLeafNodeImplProvides a straightforward implementation of the corresponding W3C DOM interface.classNodeImplA straightforward implementation of the corresponding W3C DOM node.classNotationImplProvides a straightforward implementation of the corresponding W3C DOM interface.classProcessingInstructionImplProvides a straightforward implementation of the corresponding W3C DOM interface.classTextImplProvides a straightforward implementation of the corresponding W3C DOM interface.Methods in org.apache.harmony.xml.dom that return Node Modifier and Type Method Description NodeDocumentImpl. adoptNode(Node node)Detaches the node from its parent (if any) and changes its document to this document.NodeInnerNodeImpl. appendChild(Node newChild)NodeNodeImpl. appendChild(Node newChild)NodeNodeImpl. cloneNode(boolean deep)NodeInnerNodeImpl. getFirstChild()NodeNodeImpl. getFirstChild()NodeInnerNodeImpl. getLastChild()NodeNodeImpl. getLastChild()NodeElementImpl.ElementAttrNamedNodeMapImpl. getNamedItem(String name)NodeElementImpl.ElementAttrNamedNodeMapImpl. getNamedItemNS(String namespaceURI, String localName)NodeInnerNodeImpl. getNextSibling()NodeLeafNodeImpl. getNextSibling()NodeNodeImpl. getNextSibling()NodeLeafNodeImpl. getParentNode()NodeNodeImpl. getParentNode()NodeLeafNodeImpl. getPreviousSibling()NodeNodeImpl. getPreviousSibling()NodeDocumentImpl. importNode(Node importedNode, boolean deep)NodeInnerNodeImpl. insertBefore(Node newChild, Node refChild)NodeNodeImpl. insertBefore(Node newChild, Node refChild)NodeDocumentImpl. insertChildAt(Node toInsert, int index)Document elements may have at most one root element and at most one DTD element.NodeElementImpl.ElementAttrNamedNodeMapImpl. item(int index)NodeNodeListImpl. item(int index)NodeInnerNodeImpl. removeChild(Node oldChild)NodeNodeImpl. removeChild(Node oldChild)NodeElementImpl.ElementAttrNamedNodeMapImpl. removeNamedItem(String name)NodeElementImpl.ElementAttrNamedNodeMapImpl. removeNamedItemNS(String namespaceURI, String localName)NodeDocumentImpl. renameNode(Node node, String namespaceURI, String qualifiedName)NodeInnerNodeImpl. replaceChild(Node newChild, Node oldChild)RemovesoldChildand addsnewChildin its place.NodeNodeImpl. replaceChild(Node newChild, Node oldChild)NodeElementImpl.ElementAttrNamedNodeMapImpl. setNamedItem(Node arg)NodeElementImpl.ElementAttrNamedNodeMapImpl. setNamedItemNS(Node arg)Methods in org.apache.harmony.xml.dom with parameters of type Node Modifier and Type Method Description NodeDocumentImpl. adoptNode(Node node)Detaches the node from its parent (if any) and changes its document to this document.NodeInnerNodeImpl. appendChild(Node newChild)NodeNodeImpl. appendChild(Node newChild)shortNodeImpl. compareDocumentPosition(Node other)NodeDocumentImpl. importNode(Node importedNode, boolean deep)NodeInnerNodeImpl. insertBefore(Node newChild, Node refChild)NodeNodeImpl. insertBefore(Node newChild, Node refChild)NodeDocumentImpl. insertChildAt(Node toInsert, int index)Document elements may have at most one root element and at most one DTD element.booleanNodeImpl. isEqualNode(Node arg)booleanInnerNodeImpl. isParentOf(Node node)booleanNodeImpl. isSameNode(Node other)voidDOMConfigurationImpl. normalize(Node node)NodeInnerNodeImpl. removeChild(Node oldChild)NodeNodeImpl. removeChild(Node oldChild)NodeDocumentImpl. renameNode(Node node, String namespaceURI, String qualifiedName)NodeInnerNodeImpl. replaceChild(Node newChild, Node oldChild)RemovesoldChildand addsnewChildin its place.NodeNodeImpl. replaceChild(Node newChild, Node oldChild)NodeElementImpl.ElementAttrNamedNodeMapImpl. setNamedItem(Node arg)NodeElementImpl.ElementAttrNamedNodeMapImpl. setNamedItemNS(Node arg) -
Uses of Node in org.apache.xalan.extensions
Methods in org.apache.xalan.extensions that return Node Modifier and Type Method Description NodeExpressionContext. getContextNode()Get the current context node. -
Uses of Node in org.apache.xalan.processor
Classes in org.apache.xalan.processor that implement Node Modifier and Type Class Description classProcessorCharactersThis class processes character events for a XSLT template element.classProcessorExsltFuncResultThis class processes parse events for an exslt func:result element.classProcessorExsltFunctionThis class processes parse events for an exslt func:function element.classProcessorImportThis class processes parse events for an xsl:import element.classProcessorIncludeTransformerFactory class for xsl:include markup.classProcessorLREProcesses an XSLT literal-result-element, or something that looks like one.classProcessorStylesheetDocThis class processes the xsl:stylesheet element.classProcessorStylesheetElementTransformerFactory for xsl:stylesheet or xsl:transform markup.classProcessorTemplateElemThis class processes parse events for an XSLT template element.classProcessorTextProcess xsl:text.classProcessorUnknownThis class processes an unknown template element.classWhitespaceInfoPathsclassXSLTElementProcessorThis class acts as the superclass for all stylesheet element processors, and deals with things that are common to all elements.Fields in org.apache.xalan.processor declared as Node Modifier and Type Field Description protected NodeProcessorCharacters. m_firstBackPointerMethods in org.apache.xalan.processor that return Node Modifier and Type Method Description NodeStylesheetHandler. getOriginatingNode()Set the node that is originating the SAX event.Methods in org.apache.xalan.processor with parameters of type Node Modifier and Type Method Description StringStylesheetHandler. getNamespaceForPrefix(String prefix, Node context)Given a namespace, get the corrisponding prefix.TemplatesTransformerFactoryImpl. processFromNode(Node node)voidStylesheetHandler. setOriginatingNode(Node n)Set the node that is originating the SAX event. -
Uses of Node in org.apache.xalan.templates
Classes in org.apache.xalan.templates that implement Node Modifier and Type Class Description classDecimalFormatPropertiesImplement xsl:decimal-format.classElemApplyImportImplement xsl:apply-imports.classElemApplyTemplatesImplement xsl:apply-templates.classElemAttributeImplement xsl:attribute.classElemAttributeSetImplement xsl:attribute-set.classElemCallTemplateImplement xsl:call-template.classElemChooseImplement xsl:choose.classElemCommentImplement xsl:comment.classElemCopyImplement xsl:copy.classElemCopyOfImplement xsl:copy-of.classElemElementImplement xsl:elementclassElemEmptySimple empty elem to push on the stack when nothing else got pushed, so that pop() works correctly.classElemExsltFuncResultHandles the EXSLT result element within an EXSLT function element.classElemExsltFunctionImplement func:function.classElemExtensionCallImplement an extension element.classElemExtensionDeclImplement the declaration of an extension elementclassElemExtensionScriptImplement Script extension elementclassElemFallbackImplement xsl:fallback.classElemForEachImplement xsl:for-each.classElemIfImplement xsl:if.classElemLiteralResultImplement a Literal Result Element.classElemLiteralResult.AttributeclassElemMessageImplement xsl:message.classElemNumberImplement xsl:number.classElemOtherwiseImplement xsl:otherwise.classElemParamImplement xsl:param.classElemPIImplement xsl:processing-instruction.classElemSortImplement xsl:sort.classElemTemplateImplement xsl:template.classElemTemplateElementAn instance of this class represents an element inside an xsl:template class.classElemTextImplement xsl:template.classElemTextLiteralImplement a text literal.classElemUnknownImplement an unknown elementclassElemUseImplement xsl:use.classElemValueOfImplement xsl:value-of.classElemVariableImplement xsl:variable.classElemVariablePsuedoclassElemWhenImplement xsl:when.classElemWithParamImplement xsl:with-param.classKeyDeclarationHolds the attribute declarations for the xsl:keys element.classNamespaceAliasObject to hold an xsl:namespace element.classOutputPropertiesThis class provides information from xsl:output elements.classStylesheetRepresents a stylesheet element.classStylesheetComposedRepresents a stylesheet that has methods that resolve includes and imports.classStylesheetRootThis class represents the root object of the stylesheet tree.classWhiteSpaceInfoThis is used as a special "fake" template that can be handled by the TemplateList to do pattern matching on nodes.Methods in org.apache.xalan.templates that return Node Modifier and Type Method Description NodeElemLiteralResult.Attribute. appendChild(Node newChild)NodeElemSort. appendChild(Node newChild)Add a child to the child list.NodeElemTemplateElement. appendChild(Node newChild)Add a child to the child list.NodeElemLiteralResult.Attribute. cloneNode(boolean deep)NodeElemTemplateElement. getDOMBackPointer()If this stylesheet was created from a DOM, get the DOM backpointer that this element originated from.NodeElemLiteralResult.Attribute. getFirstChild()NodeElemTemplateElement. getFirstChild()Get the first child as a Node.NodeElemLiteralResult.Attribute. getLastChild()NodeElemTemplateElement. getLastChild()Get the last child.NodeElemLiteralResult.LiteralElementAttributes. getNamedItem(String name)Retrieves a node specified by name.NodeElemLiteralResult.LiteralElementAttributes. getNamedItemNS(String namespaceURI, String localName)Retrieves a node specified by local name and namespace URI.NodeElemLiteralResult.Attribute. getNextSibling()NodeElemTemplateElement. getNextSibling()Get the next sibling (as a Node) or return null.NodeElemLiteralResult.Attribute. getParentNode()NodeElemTemplateElement. getParentNode()Get the parent as a Node.NodeElemLiteralResult.Attribute. getPreviousSibling()NodeElemTemplateElement. getPreviousSibling()Get the previous sibling (as a Node) or return null.NodeElemLiteralResult.Attribute. insertBefore(Node newChild, Node refChild)NodeElemTemplateElement. insertBefore(Node newChild, Node refChild)Unimplemented.NodeElemLiteralResult.LiteralElementAttributes. item(int i)Returns theindexth item in the map.NodeElemTemplateElement. item(int index)NodeList method: Return the Nth immediate child of this node, or null if the index is out of bounds.NodeElemLiteralResult.Attribute. removeChild(Node oldChild)NodeElemLiteralResult.LiteralElementAttributes. removeNamedItem(String name)NodeElemLiteralResult.LiteralElementAttributes. removeNamedItemNS(String namespaceURI, String localName)NodeElemLiteralResult.Attribute. replaceChild(Node newChild, Node oldChild)NodeElemTemplateElement. replaceChild(Node newChild, Node oldChild)Replace the old child with a new child.NodeElemLiteralResult.LiteralElementAttributes. setNamedItem(Node arg)Unimplemented.NodeElemLiteralResult.LiteralElementAttributes. setNamedItemNS(Node arg)Unimplemented.Methods in org.apache.xalan.templates with parameters of type Node Modifier and Type Method Description NodeElemLiteralResult.Attribute. appendChild(Node newChild)NodeElemSort. appendChild(Node newChild)Add a child to the child list.NodeElemTemplateElement. appendChild(Node newChild)Add a child to the child list.shortElemLiteralResult.Attribute. compareDocumentPosition(Node other)StringElemExtensionCall. getAttribute(String rawName, Node sourceNode, TransformerImpl transformer)Return the value of the attribute interpreted as an Attribute Value Template (in other words, you can use curly expressions such as href="http://{website}".StringElemTemplateElement. getNamespaceForPrefix(String prefix, Node context)Fullfill the PrefixResolver interface.NodeElemLiteralResult.Attribute. insertBefore(Node newChild, Node refChild)NodeElemTemplateElement. insertBefore(Node newChild, Node refChild)Unimplemented.booleanElemLiteralResult.Attribute. isEqualNode(Node arg)booleanElemLiteralResult.Attribute. isSameNode(Node other)NodeElemLiteralResult.Attribute. removeChild(Node oldChild)NodeElemLiteralResult.Attribute. replaceChild(Node newChild, Node oldChild)NodeElemTemplateElement. replaceChild(Node newChild, Node oldChild)Replace the old child with a new child.voidElemTemplateElement. setDOMBackPointer(Node n)If this stylesheet was created from a DOM, set the DOM backpointer that this element originated from.NodeElemLiteralResult.LiteralElementAttributes. setNamedItem(Node arg)Unimplemented.NodeElemLiteralResult.LiteralElementAttributes. setNamedItemNS(Node arg)Unimplemented. -
Uses of Node in org.apache.xalan.transformer
Methods in org.apache.xalan.transformer that return Node Modifier and Type Method Description NodeTransformState. getCurrentNode()This method retrieves the current context node in the source tree.NodeXalanTransformState. getCurrentNode()NodeTransformState. getMatchedNode()Retrieves the node in the source tree that matched the template obtained via getMatchedTemplate().NodeXalanTransformState. getMatchedNode()Methods in org.apache.xalan.transformer with parameters of type Node Modifier and Type Method Description voidMsgMgr. error(SourceLocator srcLctr, Node styleNode, Node sourceNode, String msg)Tell the user of an error, and probably throw an exception.voidMsgMgr. error(SourceLocator srcLctr, Node styleNode, Node sourceNode, String msg, Object[] args)Tell the user of an error, and probably throw an exception.voidTransformerImpl. executeChildTemplates(ElemTemplateElement elem, Node context, QName mode, ContentHandler handler)Execute each of the children of a template element.voidXalanTransformState. setCurrentNode(Node n)voidMsgMgr. warn(SourceLocator srcLctr, Node styleNode, Node sourceNode, String msg)Warn the user of a problem.voidMsgMgr. warn(SourceLocator srcLctr, Node styleNode, Node sourceNode, String msg, Object[] args)Warn the user of a problem. -
Uses of Node in org.apache.xalan.xslt
Methods in org.apache.xalan.xslt with parameters of type Node Modifier and Type Method Description voidEnvironmentCheck. appendEnvironmentReport(Node container, Document factory, Hashtable h)Stylesheet extension entrypoint: Dump a basic Xalan environment report from getEnvironmentHash() to a Node.protected booleanEnvironmentCheck. appendFoundJars(Node container, Document factory, Vector v, String desc)Print out report of .jars found in a classpath. -
Uses of Node in org.apache.xml.dtm
Methods in org.apache.xml.dtm that return Node Modifier and Type Method Description NodeDTM. getNode(int nodeHandle)Return an DOM node for the given node.Methods in org.apache.xml.dtm with parameters of type Node Modifier and Type Method Description abstract intDTMManager. getDTMHandleFromNode(Node node)Given a W3C DOM node, try and return a DTM handle. -
Uses of Node in org.apache.xml.dtm.ref
Classes in org.apache.xml.dtm.ref that implement Node Modifier and Type Class Description classDTMNodeProxyDTMNodeProxypresents a DOM Node API front-end to the DTM model.Methods in org.apache.xml.dtm.ref that return Node Modifier and Type Method Description NodeDTMNodeProxy. adoptNode(Node source)NEEDSDOC Method adoptNode NEEDSDOC @param sourceNodeDTMNodeProxy. appendChild(Node newChild)NodeDTMNodeProxy. cloneNode(boolean deep)NodeDTMNodeProxy. getFirstChild()NodeDTMNodeProxy. getLastChild()NodeDTMNamedNodeMap. getNamedItem(String name)Retrieves a node specified by name.NodeDTMNamedNodeMap. getNamedItemNS(String namespaceURI, String localName)Retrieves a node specified by local name and namespace URI.NodeDTMNodeProxy. getNextSibling()NodeDTMDefaultBase. getNode(int nodeHandle)Return an DOM node for the given node.NodeDTMDocumentImpl. getNode(int nodeHandle)Return an DOM node for the given node.NodeDTMNodeProxy. getOwnerNode()NodeDTMNodeProxy. getParentNode()NodeDTMNodeProxy. getPreviousSibling()NodeDTMNodeIterator. getRoot()NodeDTMNodeProxy. importNode(Node importedNode, boolean deep)NodeDTMNodeProxy. insertBefore(Node newChild, Node refChild)NodeDTMAxisIterNodeList. item(int index)Returns theindexth item in the collection.NodeDTMChildIterNodeList. item(int index)Returns theindexth item in the collection.NodeDTMNamedNodeMap. item(int i)Returns theindexth item in the map.NodeDTMNodeList. item(int index)Returns theindexth item in the collection.NodeDTMNodeListBase. item(int index)Returns theindexth item in the collection.NodeDTMNodeIterator. nextNode()NodeDTMNodeIterator. previousNode()NodeDTMNodeProxy. removeChild(Node oldChild)NodeDTMNamedNodeMap. removeNamedItem(String name)Removes a node specified by name.NodeDTMNamedNodeMap. removeNamedItemNS(String namespaceURI, String localName)Removes a node specified by local name and namespace URI.NodeDTMNodeProxy. renameNode(Node n, String namespaceURI, String name)DOM Level 3 Renaming nodeNodeDTMNodeProxy. replaceChild(Node newChild, Node oldChild)NodeDTMNamedNodeMap. setNamedItem(Node newNode)Adds a node using itsnodeNameattribute.NodeDTMNamedNodeMap. setNamedItemNS(Node arg)Adds a node using itsnamespaceURIandlocalName.Methods in org.apache.xml.dtm.ref with parameters of type Node Modifier and Type Method Description NodeDTMNodeProxy. adoptNode(Node source)NEEDSDOC Method adoptNode NEEDSDOC @param sourceNodeDTMNodeProxy. appendChild(Node newChild)shortDTMNodeProxy. compareDocumentPosition(Node other)Compares a node with this node with regard to their position in the document.booleanDTMNodeProxy. equals(Node node)Test for equality based on node number.intDTMManagerDefault. getDTMHandleFromNode(Node node)Given a W3C DOM node, try and return a DTM handle.NodeDTMNodeProxy. importNode(Node importedNode, boolean deep)NodeDTMNodeProxy. insertBefore(Node newChild, Node refChild)booleanDTMNodeProxy. isEqualNode(Node arg)Tests whether two nodes are equal.booleanDTMNodeProxy. isSameNode(Node other)Returns whether this node is the same node as the given one.NodeDTMNodeProxy. removeChild(Node oldChild)NodeDTMNodeProxy. renameNode(Node n, String namespaceURI, String name)DOM Level 3 Renaming nodeNodeDTMNodeProxy. replaceChild(Node newChild, Node oldChild)booleanDTMNodeProxy. sameNodeAs(Node other)FUTURE DOM: Test node identity, in lieu of Node==NodeNodeDTMNamedNodeMap. setNamedItem(Node newNode)Adds a node using itsnodeNameattribute.NodeDTMNamedNodeMap. setNamedItemNS(Node arg)Adds a node using itsnamespaceURIandlocalName. -
Uses of Node in org.apache.xml.dtm.ref.dom2dtm
Classes in org.apache.xml.dtm.ref.dom2dtm that implement Node Modifier and Type Class Description classDOM2DTMdefaultNamespaceDeclarationNodeThis is a kluge to let us shove a declaration for xml: into the DOM2DTM model.Methods in org.apache.xml.dtm.ref.dom2dtm that return Node Modifier and Type Method Description NodeDOM2DTMdefaultNamespaceDeclarationNode. appendChild(Node a)NodeDOM2DTMdefaultNamespaceDeclarationNode. cloneNode(boolean deep)NodeDOM2DTMdefaultNamespaceDeclarationNode. getFirstChild()NodeDOM2DTMdefaultNamespaceDeclarationNode. getLastChild()NodeDOM2DTMdefaultNamespaceDeclarationNode. getNextSibling()NodeDOM2DTM. getNode(int nodeHandle)Return an DOM node for the given node.NodeDOM2DTMdefaultNamespaceDeclarationNode. getParentNode()NodeDOM2DTMdefaultNamespaceDeclarationNode. getPreviousSibling()NodeDOM2DTMdefaultNamespaceDeclarationNode. insertBefore(Node a, Node b)protected NodeDOM2DTM. lookupNode(int nodeIdentity)Get a Node from an identity index.NodeDOM2DTMdefaultNamespaceDeclarationNode. removeChild(Node a)NodeDOM2DTMdefaultNamespaceDeclarationNode. replaceChild(Node a, Node b)Methods in org.apache.xml.dtm.ref.dom2dtm with parameters of type Node Modifier and Type Method Description protected intDOM2DTM. addNode(Node node, int parentIndex, int previousSibling, int forceNodeType)Construct the node map from the node.NodeDOM2DTMdefaultNamespaceDeclarationNode. appendChild(Node a)voidDOM2DTM.CharacterNodeHandler. characters(Node node)shortDOM2DTMdefaultNamespaceDeclarationNode. compareDocumentPosition(Node other)Compares a node with this node with regard to their position in the document.protected static voidDOM2DTM. dispatchNodeData(Node node, ContentHandler ch, int depth)Retrieve the text content of a DOM subtree, appending it into a user-supplied FastStringBuffer object.intDOM2DTM. getHandleOfNode(Node node)Get the handle from a Node.protected static voidDOM2DTM. getNodeData(Node node, FastStringBuffer buf)Retrieve the text content of a DOM subtree, appending it into a user-supplied FastStringBuffer object.NodeDOM2DTMdefaultNamespaceDeclarationNode. insertBefore(Node a, Node b)booleanDOM2DTMdefaultNamespaceDeclarationNode. isEqualNode(Node arg)Tests whether two nodes are equal.booleanDOM2DTMdefaultNamespaceDeclarationNode. isSameNode(Node other)Returns whether this node is the same node as the given one.NodeDOM2DTMdefaultNamespaceDeclarationNode. removeChild(Node a)NodeDOM2DTMdefaultNamespaceDeclarationNode. replaceChild(Node a, Node b) -
Uses of Node in org.apache.xml.serializer
Methods in org.apache.xml.serializer with parameters of type Node Modifier and Type Method Description voidExtendedContentHandler. characters(Node node)This method is used to notify of a character event, but passing the data as a DOM Node rather than the standard character array.voidSerializerBase. characters(Node node)This method gets the nodes value as a String and uses that String as if it were an input character notification.voidToSAXHandler. characters(Node node)This method gets the node's value as a String and uses that String as if it were an input character notification.protected voidTreeWalker. endNode(Node node)End processing of given nodevoidDOMSerializer. serialize(Node node)Serializes the DOM node.voidSerializationHandler. serialize(Node node)Notify that the serializer should take this DOM node as input to be serialized.voidToStream. serialize(Node node)Serializes the DOM node.voidToTextSAXHandler. serialize(Node node)Deprecated.voidToUnknownStream. serialize(Node node)Converts the DOM node to outputvoidToXMLSAXHandler. serialize(Node node)voidDOM3Serializer. serializeDOM3(Node node)Serializes the Level 3 DOM node.voidTransformStateSetter. setCurrentNode(Node n)Set the current node.protected voidTreeWalker. startNode(Node node)Start processing given nodevoidTreeWalker. traverse(Node pos)Perform a pre-order traversal non-recursive style.voidTreeWalker. traverse(Node pos, Node top)Perform a pre-order traversal non-recursive style. -
Uses of Node in org.apache.xml.serializer.dom3
Methods in org.apache.xml.serializer.dom3 with parameters of type Node Modifier and Type Method Description protected StringLSSerializerImpl. getInputEncoding(Node nodeArg)Determines the Input Encoding of the Document Node to serialize.protected StringLSSerializerImpl. getXMLEncoding(Node nodeArg)Determines the XML Encoding of the Document Node to serialize.protected StringLSSerializerImpl. getXMLVersion(Node nodeArg)Determines the XML Version of the Document Node to serialize.voidDOM3SerializerImpl. serializeDOM3(Node node)Serializes the Level 3 DOM node by creating an instance of DOM3TreeWalker which traverses the DOM tree and invokes handler events to serialize the DOM NOde.booleanLSSerializerImpl. write(Node nodeArg, LSOutput destination)Serializes the specified node to the specified LSOutput and returns true if the Node was successfully serialized.StringLSSerializerImpl. writeToString(Node nodeArg)Serializes the specified node and returns a String with the serialized data to the caller.booleanLSSerializerImpl. writeToURI(Node nodeArg, String uri)Serializes the specified node to the specified URI and returns true if the Node was successfully serialized. -
Uses of Node in org.apache.xml.serializer.utils
Methods in org.apache.xml.serializer.utils with parameters of type Node Modifier and Type Method Description StringDOM2Helper. getLocalNameOfNode(Node n)Returns the local name of the given node, as defined by the XML Namespaces specification.StringDOM2Helper. getNamespaceOfNode(Node n)Returns the Namespace Name (Namespace URI) for the given node. -
Uses of Node in org.apache.xml.utils
Classes in org.apache.xml.utils that implement Node Modifier and Type Class Description classUnImplNodeTo be subclassed by classes that wish to fake being nodes.Fields in org.apache.xml.utils declared as Node Modifier and Type Field Description protected NodeDOMBuilder. m_currentNodeCurrent nodeprotected NodeDOMBuilder. m_nextSiblingThe next sibling nodeprotected NodeDOMBuilder. m_rootThe root nodeMethods in org.apache.xml.utils that return Node Modifier and Type Method Description NodeUnImplNode. adoptNode(Node source)NEEDSDOC Method adoptNode NEEDSDOC @param source NEEDSDOC (adoptNode) @returnNodeUnImplNode. appendChild(Node newChild)Unimplemented.NodeUnImplNode. cloneNode(boolean deep)Unimplemented.NodeDOMBuilder. getCurrentNode()Get the node currently being processed.NodeUnImplNode. getFirstChild()Unimplemented.NodeUnImplNode. getLastChild()Unimplemented.NodeDOMBuilder. getNextSibling()Return the next sibling node.NodeUnImplNode. getNextSibling()Unimplemented.NodeUnImplNode. getParentNode()Unimplemented.static NodeDOM2Helper. getParentOfNode(Node node)Deprecated.Get the XPath-model parent of a node.static NodeDOMHelper. getParentOfNode(Node node)Deprecated.Obtain the XPath-model parent of a DOM node -- ownerElement for Attrs, parent for other nodes.NodeUnImplNode. getPreviousSibling()Unimplemented.NodeDOMHelper. getRoot(Node node)Deprecated.NodeDOMBuilder. getRootDocument()Get the root document or DocumentFragment of the DOM being created.NodeDOMBuilder. getRootNode()Get the root node of the DOM tree.NodeDOMHelper. getRootNode(Node n)Deprecated.Get the root node of the document tree, regardless of whether or not the node passed in is a document node.NodeUnImplNode. importNode(Node importedNode, boolean deep)Unimplemented.NodeUnImplNode. insertBefore(Node newChild, Node refChild)Unimplemented.NodeUnImplNode. item(int index)Unimplemented.NodeUnImplNode. removeChild(Node oldChild)Unimplemented.NodeUnImplNode. renameNode(Node n, String namespaceURI, String name)DOM Level 3 Renaming nodeNodeUnImplNode. replaceChild(Node newChild, Node oldChild)Unimplemented.Methods in org.apache.xml.utils with parameters of type Node Modifier and Type Method Description NodeUnImplNode. adoptNode(Node source)NEEDSDOC Method adoptNode NEEDSDOC @param source NEEDSDOC (adoptNode) @returnprotected voidDOMBuilder. append(Node newNode)Append a node to the current container.NodeUnImplNode. appendChild(Node newChild)Unimplemented.voidDOM2Helper. checkNode(Node node)Deprecated.Check node to see if it was created by a DOM implementation that this helper is intended to support.shortUnImplNode. compareDocumentPosition(Node other)Compares a node with this node with regard to their position in the document.protected voidTreeWalker. endNode(Node node)End processing of given nodeshortDOMHelper. getLevel(Node n)Deprecated.Get the depth level of this node in the tree (equals 1 for a parentless node).StringDOM2Helper. getLocalNameOfNode(Node n)Deprecated.Returns the local name of the given node, as defined by the XML Namespaces specification.StringDOMHelper. getLocalNameOfNode(Node n)Deprecated.Returns the local name of the given node.StringPrefixResolver. getNamespaceForPrefix(String prefix, Node context)Given a namespace, get the corresponding prefix, based on the context node.StringPrefixResolverDefault. getNamespaceForPrefix(String prefix, Node namespaceContext)Given a namespace, get the corrisponding prefix.StringDOM2Helper. getNamespaceOfNode(Node n)Deprecated.Returns the Namespace Name (Namespace URI) for the given node.StringDOMHelper. getNamespaceOfNode(Node n)Deprecated.Returns the namespace of the given node.static StringDOMHelper. getNodeData(Node node)Deprecated.Get the textual contents of the node.static voidDOMHelper. getNodeData(Node node, FastStringBuffer buf)Deprecated.Retrieve the text content of a DOM subtree, appending it into a user-supplied FastStringBuffer object.static NodeDOM2Helper. getParentOfNode(Node node)Deprecated.Get the XPath-model parent of a node.static NodeDOMHelper. getParentOfNode(Node node)Deprecated.Obtain the XPath-model parent of a DOM node -- ownerElement for Attrs, parent for other nodes.NodeDOMHelper. getRoot(Node node)Deprecated.NodeDOMHelper. getRootNode(Node n)Deprecated.Get the root node of the document tree, regardless of whether or not the node passed in is a document node.StringDOMHelper. getUniqueID(Node node)Deprecated.Supports the XPath function GenerateID by returning a unique identifier string for any given DOM Node.NodeUnImplNode. importNode(Node importedNode, boolean deep)Unimplemented.NodeUnImplNode. insertBefore(Node newChild, Node refChild)Unimplemented.booleanUnImplNode. isEqualNode(Node arg)Tests whether two nodes are equal.booleanDOMHelper. isNamespaceNode(Node n)Deprecated.Test whether the given node is a namespace decl node.static booleanDOM2Helper. isNodeAfter(Node node1, Node node2)Deprecated.Figure out whether node2 should be considered as being later in the document than node1, in Document Order as defined by the XPath model.static booleanDOMHelper. isNodeAfter(Node node1, Node node2)Deprecated.Figure out whether node2 should be considered as being later in the document than node1, in Document Order as defined by the XPath model.static booleanDOMHelper. isNodeTheSame(Node node1, Node node2)Deprecated.Use DTMNodeProxy to determine whether two nodes are the same.booleanUnImplNode. isSameNode(Node other)Returns whether this node is the same node as the given one.NodeUnImplNode. removeChild(Node oldChild)Unimplemented.NodeUnImplNode. renameNode(Node n, String namespaceURI, String name)DOM Level 3 Renaming nodeNodeUnImplNode. replaceChild(Node newChild, Node oldChild)Unimplemented.voidDOMBuilder. setNextSibling(Node nextSibling)Set the next sibling node, which is where the result nodes should be inserted before.voidNodeConsumer. setOriginatingNode(Node n)Set the node that is originating the SAX event.booleanDOMHelper. shouldStripSourceNode(Node textNode)Deprecated.Tells, through the combination of the default-space attribute on xsl:stylesheet, xsl:strip-space, xsl:preserve-space, and the xml:space attribute, whether or not extra whitespace should be stripped from the node.protected voidTreeWalker. startNode(Node node)Start processing given nodevoidTreeWalker. traverse(Node pos)Perform a pre-order traversal non-recursive style.voidTreeWalker. traverse(Node pos, Node top)Perform a pre-order traversal non-recursive style.voidTreeWalker. traverseFragment(Node pos)Perform a pre-order traversal non-recursive style.Constructors in org.apache.xml.utils with parameters of type Node Constructor Description DOMBuilder(Document doc, Node node)DOMBuilder instance constructor...PrefixResolverDefault(Node xpathExpressionContext)Construct a PrefixResolverDefault object. -
Uses of Node in org.apache.xpath
Methods in org.apache.xpath that return Node Modifier and Type Method Description NodeNodeSet. elementAt(int i)Get the nth element.NodeXPathContext.XPathExpressionContext. getContextNode()Get the current context node.NodeNodeSet. getCurrentNode()Return the last fetched node.NodeNodeSet. getRoot()NodeXPathException. getStylesheetNode(ExpressionNode ex)Get the XSLT ElemVariable that this sub-expression references.NodeNodeSet. item(int index)Returns theindexth item in the collection.NodeNodeSet. nextNode()Returns the next node in the set and advances the position of the iterator in the set.NodeNodeSet. peepOrNull()Return the node at the top of the stack without popping the stack.NodeNodeSet. peepTail()Return the node at the tail of the vector without popping Special purpose method for TransformerImpl, pushElemTemplateElement.NodeNodeSet. peepTailSub1()Return the node one position from the tail without popping.NodeNodeSet. pop()Pop a node from the tail of the vector and return the result.NodeNodeSet. popAndTop()Pop a node from the tail of the vector and return the top of the stack after the pop.NodeNodeSet. previousNode()Returns the previous node in the set and moves the position of the iterator backwards in the set.NodeCachedXPathAPI. selectSingleNode(Node contextNode, String str)Use an XPath string to select a single node.NodeCachedXPathAPI. selectSingleNode(Node contextNode, String str, Node namespaceNode)Use an XPath string to select a single node.static NodeXPathAPI. selectSingleNode(Node contextNode, String str)Use an XPath string to select a single node.static NodeXPathAPI. selectSingleNode(Node contextNode, String str, Node namespaceNode)Use an XPath string to select a single node.Methods in org.apache.xpath with parameters of type Node Modifier and Type Method Description voidNodeSet. addElement(Node value)Append a Node onto the vector.voidNodeSet. addNode(Node n)Add a node to the NodeSet.intNodeSet. addNodeInDocOrder(Node node, boolean test, XPathContext support)Add the node into a vector of nodes where it should occur in document order.intNodeSet. addNodeInDocOrder(Node node, XPathContext support)Add the node into a vector of nodes where it should occur in document order.booleanNodeSet. contains(Node s)Tell if the table contains the given node.XObjectCachedXPathAPI. eval(Node contextNode, String str)Evaluate XPath string to an XObject.XObjectCachedXPathAPI. eval(Node contextNode, String str, PrefixResolver prefixResolver)Evaluate XPath string to an XObject.XObjectCachedXPathAPI. eval(Node contextNode, String str, Node namespaceNode)Evaluate XPath string to an XObject.static XObjectXPathAPI. eval(Node contextNode, String str)Evaluate XPath string to an XObject.static XObjectXPathAPI. eval(Node contextNode, String str, PrefixResolver prefixResolver)Evaluate XPath string to an XObject.static XObjectXPathAPI. eval(Node contextNode, String str, Node namespaceNode)Evaluate XPath string to an XObject.XObjectXPath. execute(XPathContext xctxt, Node contextNode, PrefixResolver namespaceContext)Given an expression and a context, evaluate the XPath and return the result.intXPathContext. getDTMHandleFromNode(Node node)Given a W3C DOM node, try and return a DTM handle.intNodeSet. indexOf(Node elem)Searches for the first occurence of the given argument, beginning the search at index, and testing for equality using the equals method.intNodeSet. indexOf(Node elem, int index)Searches for the first occurence of the given argument, beginning the search at index, and testing for equality using the equals method.voidNodeSet. insertElementAt(Node value, int at)Inserts the specified node in this vector at the specified index.voidNodeSet. insertNode(Node n, int pos)Insert a node at a given position.voidNodeSet. push(Node value)Append a Node onto the vector.voidNodeSet. pushPair(Node v1, Node v2)Push a pair of nodes into the stack.booleanNodeSet. removeElement(Node s)Removes the first occurrence of the argument from this vector.voidNodeSet. removeNode(Node n)Remove a node.NodeIteratorCachedXPathAPI. selectNodeIterator(Node contextNode, String str)Use an XPath string to select a nodelist.NodeIteratorCachedXPathAPI. selectNodeIterator(Node contextNode, String str, Node namespaceNode)Use an XPath string to select a nodelist.static NodeIteratorXPathAPI. selectNodeIterator(Node contextNode, String str)Use an XPath string to select a nodelist.static NodeIteratorXPathAPI. selectNodeIterator(Node contextNode, String str, Node namespaceNode)Use an XPath string to select a nodelist.NodeListCachedXPathAPI. selectNodeList(Node contextNode, String str)Use an XPath string to select a nodelist.NodeListCachedXPathAPI. selectNodeList(Node contextNode, String str, Node namespaceNode)Use an XPath string to select a nodelist.static NodeListXPathAPI. selectNodeList(Node contextNode, String str)Use an XPath string to select a nodelist.static NodeListXPathAPI. selectNodeList(Node contextNode, String str, Node namespaceNode)Use an XPath string to select a nodelist.NodeCachedXPathAPI. selectSingleNode(Node contextNode, String str)Use an XPath string to select a single node.NodeCachedXPathAPI. selectSingleNode(Node contextNode, String str, Node namespaceNode)Use an XPath string to select a single node.static NodeXPathAPI. selectSingleNode(Node contextNode, String str)Use an XPath string to select a single node.static NodeXPathAPI. selectSingleNode(Node contextNode, String str, Node namespaceNode)Use an XPath string to select a single node.voidNodeSet. setElementAt(Node node, int index)Sets the component at the specified index of this vector to be the specified object.voidNodeSet. setTail(Node n)Set the tail of the stack to the given node.voidNodeSet. setTailSub1(Node n)Set the given node one position from the tail.doubleXPathContext.XPathExpressionContext. toNumber(Node n)Get the value of a node as a number.StringXPathContext.XPathExpressionContext. toString(Node n)Get the value of a node as a string.Constructors in org.apache.xpath with parameters of type Node Constructor Description NodeSet(Node node)Create a NodeSet which contains the given Node.XPathException(String message, Node styleNode, Exception e)Create an XPathException object that holds an error message, the stylesheet node that the error originated from, and another exception that caused this exception. -
Uses of Node in org.apache.xpath.axes
Methods in org.apache.xpath.axes that return Node Modifier and Type Method Description NodeContextNodeList. getCurrentNode()Get the current node. -
Uses of Node in org.apache.xpath.jaxp
Methods in org.apache.xpath.jaxp with parameters of type Node Modifier and Type Method Description StringJAXPPrefixResolver. getNamespaceForPrefix(String prefix, Node namespaceContext)Given a prefix and a Context Node, get the corresponding namespace. -
Uses of Node in org.apache.xpath.objects
Constructors in org.apache.xpath.objects with parameters of type Node Constructor Description XNodeSetForDOM(Node node, DTMManager dtmMgr) -
Uses of Node in org.w3c.dom
Subinterfaces of Node in org.w3c.dom Modifier and Type Interface Description interfaceAttrTheAttrinterface represents an attribute in anElementobject.interfaceCDATASectionCDATA sections are used to escape blocks of text containing characters that would otherwise be regarded as markup.interfaceCharacterDataTheCharacterDatainterface extends Node with a set of attributes and methods for accessing character data in the DOM.interfaceCommentThis interface inherits fromCharacterDataand represents the content of a comment, i.e., all the characters between the starting '<!--' and ending '-->'.interfaceDocumentTheDocumentinterface represents the entire HTML or XML document.interfaceDocumentFragmentDocumentFragmentis a "lightweight" or "minimal"Documentobject.interfaceDocumentTypeEachDocumenthas adoctypeattribute whose value is eithernullor aDocumentTypeobject.interfaceElementTheElementinterface represents an element in an HTML or XML document.interfaceEntityThis interface represents a known entity, either parsed or unparsed, in an XML document.interfaceEntityReferenceEntityReferencenodes may be used to represent an entity reference in the tree.interfaceNotationThis interface represents a notation declared in the DTD.interfaceProcessingInstructionTheProcessingInstructioninterface represents a "processing instruction", used in XML as a way to keep processor-specific information in the text of the document.interfaceTextTheTextinterface inherits fromCharacterDataand represents the textual content (termed character data in XML) of anElementorAttr.Methods in org.w3c.dom that return Node 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.NodeNode. cloneNode(boolean deep)Returns a duplicate of this node, i.e., serves as a generic copy constructor for nodes.NodeNode. getFirstChild()The first child of this node.NodeNode. getLastChild()The last child of this node.NodeNamedNodeMap. getNamedItem(String name)Retrieves a node specified by name.NodeNamedNodeMap. getNamedItemNS(String namespaceURI, String localName)Retrieves a node specified by local name and namespace URI.NodeNode. getNextSibling()The node immediately following this node.NodeNode. getParentNode()The parent of this node.NodeNode. getPreviousSibling()The node immediately preceding this node.NodeDOMLocator. getRelatedNode()The node this locator is pointing to, ornullif no node is available.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.NodeNamedNodeMap. item(int index)Returns theindexth item in the map.NodeNodeList. item(int index)Returns theindexth item in the collection.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.NodeNamedNodeMap. setNamedItem(Node arg)Adds a node using itsnodeNameattribute.NodeNamedNodeMap. setNamedItemNS(Node arg)Adds a node using itsnamespaceURIandlocalName.Methods in org.w3c.dom with parameters of type Node 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.shortNode. compareDocumentPosition(Node other)Compares the reference node, i.e.voidUserDataHandler. handle(short operation, String key, Object data, Node src, Node dst)This method is called whenever the node for which this handler is registered is imported or cloned.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.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.NodeNode. removeChild(Node oldChild)Removes the child node indicated byoldChildfrom the list of children, and returns it.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.NodeNamedNodeMap. setNamedItem(Node arg)Adds a node using itsnodeNameattribute.NodeNamedNodeMap. setNamedItemNS(Node arg)Adds a node using itsnamespaceURIandlocalName. -
Uses of Node in org.w3c.dom.ls
Methods in org.w3c.dom.ls that return Node Modifier and Type Method Description 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.Methods in org.w3c.dom.ls with parameters of type Node Modifier and Type Method Description shortLSParserFilter. acceptNode(Node nodeArg)This method will be called by the parser at the completion of the parsing of each node.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.booleanLSSerializer. write(Node nodeArg, LSOutput destination)Serialize the specified node as described above in the general description of theLSSerializerinterface.StringLSSerializer. 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.traversal
Methods in org.w3c.dom.traversal that return Node Modifier and Type Method Description NodeNodeIterator. getRoot()The root node of theNodeIterator, as specified when it was created.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.Methods in org.w3c.dom.traversal with parameters of type Node Modifier and Type Method Description shortNodeFilter. acceptNode(Node n)Test whether a specified node is visible in the logical view of aTreeWalkerorNodeIterator.