|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Node | |
javax.xml.transform.dom | This package implements DOM-specific transformation APIs. |
org.apache.xalan.extensions | Implementation of Xalan Extension Mechanism. |
org.apache.xalan.lib.sql | Provides extension functions for connecting to a JDBC data source, executing a query, and working incrementally through "streamable" result set. |
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.serialize | Processes SAX events into streams. |
org.apache.xalan.stree | Implementation of the Xalan Source Tree, which is a DOM implementation that is optimized for XSLT processing and the needs of Xalan. |
org.apache.xalan.templates | Implements the Templates interface,
and defines a set of classes that represent an XSLT stylesheet. |
org.apache.xalan.trace | Implementation of Xalan Trace events, for use by a debugger. |
org.apache.xalan.transformer | In charge of run-time transformations and the production of result trees. |
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.objects | Implementation of XPath polymorphic type objects -- this package will grow as XPath objects are expanded to support XML Schema data types. |
org.apache.xpath.patterns | Implementation of XPath nodeTest support, and XSLT pattern matching support. |
org.w3c.dom | Document Object Model level 2 interfaces. |
org.w3c.dom.range | DOM level 2 range interfaces. |
org.w3c.dom.traversal | DOM level 2 interfaces for traversing documents, document trees, and node sets. |
Uses of Node in javax.xml.transform.dom |
Methods in javax.xml.transform.dom that return Node | |
Node |
DOMLocator.getOriginatingNode()
Return the node where the event occurred. |
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. |
Methods in javax.xml.transform.dom with parameters of type Node | |
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.DOMResult(Node node)
Use a DOM node to create a new output target. |
|
DOMResult.DOMResult(Node node,
java.lang.String systemID)
Create a new output target with a DOM node. |
|
DOMSource.DOMSource(Node n)
Create a new input source with a DOM node. |
|
DOMSource.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.apache.xalan.extensions |
Methods in org.apache.xalan.extensions that return Node | |
Node |
ExpressionContext.getContextNode()
Get the current context node. |
Node |
XSLProcessorContext.getSourceTree()
Get the root of the source tree being executed. |
Node |
XSLProcessorContext.getContextNode()
Get the current context node. |
Methods in org.apache.xalan.extensions with parameters of type Node | |
double |
ExpressionContext.toNumber(Node n)
Get the value of a node as a number. |
java.lang.String |
ExpressionContext.toString(Node n)
Get the value of a node as a string. |
abstract void |
ExtensionHandler.processElement(java.lang.String localPart,
Element element,
TransformerImpl transformer,
Stylesheet stylesheetTree,
Node sourceTree,
Node sourceNode,
QName mode,
java.lang.Object methodKey)
Process a call to this extension namespace via an element. |
void |
ExtensionHandlerJavaClass.processElement(java.lang.String localPart,
Element element,
TransformerImpl transformer,
Stylesheet stylesheetTree,
Node sourceTree,
Node sourceNode,
QName mode,
java.lang.Object methodKey)
Process a call to this extension namespace via an element. |
void |
ExtensionHandlerJavaPackage.processElement(java.lang.String localPart,
Element element,
TransformerImpl transformer,
Stylesheet stylesheetTree,
Node sourceTree,
Node sourceNode,
QName mode,
java.lang.Object methodKey)
Process a call to this extension namespace via an element. |
void |
ExtensionHandlerGeneral.processElement(java.lang.String localPart,
Element element,
TransformerImpl transformer,
Stylesheet stylesheetTree,
Node sourceTree,
Node sourceNode,
QName mode,
java.lang.Object methodKey)
Process a call to this extension namespace via an element. |
Constructors in org.apache.xalan.extensions with parameters of type Node | |
XSLProcessorContext.XSLProcessorContext(TransformerImpl transformer,
Stylesheet stylesheetTree,
Node sourceTree,
Node sourceNode,
QName mode)
Create a processor context to be passed to an extension. |
Uses of Node in org.apache.xalan.lib.sql |
Classes in org.apache.xalan.lib.sql that implement Node | |
class |
Column
Represents a col node from a row node. |
class |
ColumnAttribute
Represents a column attribute on a column-header element. |
class |
ColumnData
Represents the col element text node, i.e., the column value. |
class |
ColumnHeader
This class represents a column-header Node, which contains the metadata for a column. |
class |
Row
This class represents a row from a query result set. |
class |
RowSet
This class represents the row-set StreamableNode, a "streamable" holder for the JDBC query result set. |
class |
StreamableNode
This is the superclass for all nodes in the org.apache.xalan.lib.sql package. |
class |
XStatement
Represents a JDBC query statement. |
Methods in org.apache.xalan.lib.sql that return Node | |
Node |
StreamableNode.getNamedItem(java.lang.String name)
Get the attribute with the given name - Not implemented |
Node |
StreamableNode.item(int index)
Return the attribute at the given index - Not implemented |
Node |
StreamableNode.getNamedItemNS(java.lang.String namespaceURI,
java.lang.String localName)
Get the attribute with the given namespaced name - Not implemented |
Node |
StreamableNode.setNamedItem(Node arg)
Set the given attribute - Not supported |
Node |
StreamableNode.removeNamedItem(java.lang.String name)
Remove the attribute with the given name - Not supported |
Node |
StreamableNode.setNamedItemNS(Node arg)
Set the attribute with the given namespaced name - Not supported |
Node |
StreamableNode.removeNamedItemNS(java.lang.String namespaceURI,
java.lang.String localName)
Remove the attribute with the given namespaced name - Not supported |
Node |
ColumnData.getFirstChild()
Return First child. |
Node |
ColumnData.getNextSibling()
Return next sibling. |
Node |
ColumnData.getParentNode()
The parent node of the col text node is the col node. |
Node |
ColumnAttribute.getParentNode()
Get parent node |
Node |
XStatement.getRoot()
The XStatement object is the NodeIterator root. |
Node |
XStatement.nextNode()
Return the #Document node (one role the XStatement plays) the first time called; return null thereafter. |
Node |
XStatement.previousNode()
Throw an exception, since streaming nodes and iterators can not go backwards. |
Node |
XStatement.getFirstChild()
Return the row-set node. |
Node |
XStatement.getNextSibling()
getNextSibling - This always returns null. |
Node |
XStatement.getParentNode()
The parent node of document is always null. |
Node |
XStatement.getCurrentNode()
The current node is the RowSet |
Node |
Row.getFirstChild()
Return the first col element for the current row. |
Node |
Row.getNextSibling()
Return next row in the row-set. |
Node |
Row.getParentNode()
Return the RowSet parent. |
Node |
Column.getFirstChild()
Return the col text node (the column value). |
Node |
Column.getNextSibling()
Return the next col element for the current row. |
Node |
Column.getParentNode()
The parent node of col is a row. |
Node |
RowSet.getFirstChild()
The first time the client asks for a column-header element, instantiate an array of ColumnHeaders (1 per column), and return the ColumnHeader for the first row. |
Node |
RowSet.getNextSibling()
getNextSibling - This always returns null. |
Node |
RowSet.getParentNode()
The parent node of row-set is #Document (represented by XStatement). |
Node |
ColumnHeader.getFirstChild()
getFirstChild - Always returns null. |
Node |
ColumnHeader.getNextSibling()
Returns column-header Node for the next column. |
Node |
ColumnHeader.getParentNode()
The parent node of a column-header Node is the row-set Node. |
Node |
ColumnHeader.getNamedItem(java.lang.String name)
Get an attribute by name from the metadata for this column. |
Node |
ColumnHeader.item(int index)
Get an attribute by index from the metadata for this column. |
Node |
ColumnHeader.getNamedItemNS(java.lang.String namespaceURI,
java.lang.String localName)
Get an attribute by namespaced name from the metadata for this column. |
Node |
ColumnHeader.setNamedItem(Node arg)
Set an attribute from the metadata for this column. |
Node |
ColumnHeader.removeNamedItem(java.lang.String name)
Remove an attribute - Not supported |
Node |
ColumnHeader.setNamedItemNS(Node arg)
Set namespaced attribute - Not supported |
Node |
ColumnHeader.removeNamedItemNS(java.lang.String namespaceURI,
java.lang.String localName)
Removed namespaced attribute - Not supported |
Methods in org.apache.xalan.lib.sql with parameters of type Node | |
Node |
StreamableNode.setNamedItem(Node arg)
Set the given attribute - Not supported |
Node |
StreamableNode.setNamedItemNS(Node arg)
Set the attribute with the given namespaced name - Not supported |
Node |
ColumnHeader.setNamedItem(Node arg)
Set an attribute from the metadata for this column. |
Node |
ColumnHeader.setNamedItemNS(Node arg)
Set namespaced attribute - Not supported |
Uses of Node in org.apache.xalan.processor |
Classes in org.apache.xalan.processor that implement Node | |
class |
CompiledTemplate
|
Methods in org.apache.xalan.processor that return Node | |
Node |
StylesheetHandler.getOriginatingNode()
Set the node that is originating the SAX event. |
Methods in org.apache.xalan.processor with parameters of type Node | |
Templates |
TransformerFactoryImpl.processFromNode(Node node)
Process the stylesheet from a DOM tree, if the processor supports the "http://xml.org/trax/features/dom/input" feature. |
java.lang.String |
StylesheetHandler.getNamespaceForPrefix(java.lang.String prefix,
Node context)
Given a namespace, get the corrisponding prefix. |
void |
StylesheetHandler.setOriginatingNode(Node n)
Set the node that is originating the SAX event. |
abstract void |
CompiledTemplate.execute(TransformerImpl transformer,
Node sourceNode,
QName mode)
Main entry point for the Template transformation. |
Uses of Node in org.apache.xalan.serialize |
Methods in org.apache.xalan.serialize with parameters of type Node | |
void |
SerializerToXML.serialize(Node node)
Serializes the DOM node. |
void |
DOMSerializer.serialize(Node node)
Serializes the DOM node. |
Uses of Node in org.apache.xalan.stree |
Classes in org.apache.xalan.stree that implement Node | |
class |
AttrImpl
**For internal use only** Class to hold information about an attribute node. |
class |
AttrImplNS
**For internal use only** Class to hold information about an attribute node with a name space |
class |
CDATASectionImpl
**For internal use only** Class to hold information about a CDATASection node |
class |
Child
**For internal use only** Class representing a child node |
class |
CommentImpl
**For internal use only** Class to hold information about a comment node |
class |
DocImpl
**For internal use only** Contains extended functionality that Xalan requires that is common in both the DocumentImpl and DocumentFragmentImpl classes. |
class |
DocumentFragmentImpl
**For internal use only** Class to hold information about a DocumentFragment node |
class |
DocumentImpl
**For internal use only** This is the implementation of the DOM2 Document interface. |
class |
DocumentTypeImpl
**For internal use only** Class to hold information about a DocumentType node |
class |
DOMImplementationImpl
**For internal use only** This class provides a number of methods for performing operations that are independent of any particular instance of the document object model. |
class |
ElementImpl
**For internal use only** This class represents an element in an HTML or XML document. |
class |
ElementImplWithNS
**For internal use only** This class represents an element in an HTML or XML document associated with a given namespace. |
class |
EntityImpl
|
class |
NameSpaceDecl
**For internal use only** Class to represent NameSpace Decl nodes |
class |
Parent
**For internal use only** Class representing a parent node. |
class |
ProcessingInstructionImpl
**For internal use only** Class to hold information about ProcessingInstruction node |
class |
TextImpl
**For internal use only** Class to hold information about a Text node. |
class |
WhiteSpace
Right now this is the same as TextImpl. |
Methods in org.apache.xalan.stree that return Node | |
Node |
Child.getParentNode()
The parent of this node. |
Node |
Child.getFirstChild()
The first child of this node. |
Node |
Child.getLastChild()
The last child of this node. |
Node |
Child.getPreviousSibling()
The node immediately preceding this node. |
Node |
Child.getNextSibling()
The node immediately following this node. |
Node |
Parent.getFirstChild()
The first child of this node. |
Node |
Parent.getLastChild()
The last child of this node. |
Node |
Parent.appendChild(Node newChild)
Append a child to the child list. |
Node |
DocumentImpl.appendChild(Node newChild)
Append a child to the child list. |
Node |
DocumentImpl.importNode(Node importedNode,
boolean deep)
Unimplemented, since this a read-only DOM. |
Node |
DocumentImpl.getNextSibling()
The node immediately following this node. |
Node |
ElementImpl.getNamedItem(java.lang.String name)
Get the child attribute with the specified attribute name |
Node |
ElementImpl.setNamedItem(Node arg)
Adds a node using its nodeName attribute. |
Node |
ElementImpl.removeNamedItem(java.lang.String name)
Removes a node specified by name. |
Node |
ElementImpl.removeItem(int index)
Remove the attribute at the specified index from the attribute list |
Node |
ElementImpl.item(int index)
Returns the index th item in the map. |
Node |
ElementImpl.getNamedItemNS(java.lang.String namespaceURI,
java.lang.String localName)
Retrieves a node specified by local name and namespace URI. |
Node |
ElementImpl.setNamedItemNS(Node arg)
Adds a node using its namespaceURI and
localName . |
Node |
ElementImpl.removeNamedItemNS(java.lang.String namespaceURI,
java.lang.String localName)
Removes a node specified by local name and namespace URI. |
Node |
AttrImpl.getPreviousSibling()
The node immediately preceding this node. |
Node |
AttrImpl.getNextSibling()
The node immediately following this node. |
Node |
SourceTreeHandler.getRoot()
Get the root document of tree that is being or will be created. |
Node |
DocumentTypeImpl.getNamedItem(java.lang.String name)
Retrieves a node specified by name. |
Node |
DocumentTypeImpl.setNamedItem(Node arg)
Adds a node using its nodeName attribute. |
Node |
DocumentTypeImpl.removeNamedItem(java.lang.String name)
Removes a node specified by name. |
Node |
DocumentTypeImpl.item(int index)
Returns the index th item in the map. |
Node |
DocumentTypeImpl.getNamedItemNS(java.lang.String namespaceURI,
java.lang.String localName)
Retrieves a node specified by local name and namespace URI. |
Node |
DocumentTypeImpl.setNamedItemNS(Node arg)
Adds a node using its namespaceURI and
localName . |
Node |
DocumentTypeImpl.removeNamedItemNS(java.lang.String namespaceURI,
java.lang.String localName)
Removes a node specified by local name and namespace URI. |
Methods in org.apache.xalan.stree with parameters of type Node | |
Node |
Parent.appendChild(Node newChild)
Append a child to the child list. |
Node |
DocumentImpl.appendChild(Node newChild)
Append a child to the child list. |
Node |
DocumentImpl.importNode(Node importedNode,
boolean deep)
Unimplemented, since this a read-only DOM. |
Node |
ElementImpl.setNamedItem(Node arg)
Adds a node using its nodeName attribute. |
Node |
ElementImpl.setNamedItemNS(Node arg)
Adds a node using its namespaceURI and
localName . |
java.lang.String |
StreeDOMHelper.getUniqueID(Node node)
Get the specified node's position in the document |
short |
StreeDOMHelper.getLevel(Node node1)
**For internal use only** Get the depth level of this node in the tree. |
boolean |
StreeDOMHelper.isNamespaceNode(Node n)
Tell if the given node is a namespace decl node. |
Node |
DocumentTypeImpl.setNamedItem(Node arg)
Adds a node using its nodeName attribute. |
Node |
DocumentTypeImpl.setNamedItemNS(Node arg)
Adds a node using its namespaceURI and
localName . |
Constructors in org.apache.xalan.stree with parameters of type Node | |
StreeDOMBuilder.StreeDOMBuilder(Document doc,
Node node)
StreeDOMBuilder instance constructor... |
Uses of Node in org.apache.xalan.templates |
Classes in org.apache.xalan.templates that implement Node | |
class |
DecimalFormatProperties
**For advanced use only** Implement xsl:decimal-format. |
class |
ElemApplyImport
**For advanced use only** Implement xsl:apply-imports. |
class |
ElemApplyTemplates
**For advanced use only** Implement xsl:apply-templates. |
class |
ElemAttribute
**For advanced use only** Implement xsl:attribute. |
class |
ElemAttributeSet
**For advanced use only** Implement xsl:attribute-set. |
class |
ElemCallTemplate
**For advanced use only** Implement xsl:call-template. |
class |
ElemChoose
**For advanced use only** Implement xsl:choose. |
class |
ElemComment
**For advanced use only** Implement xsl:comment. |
class |
ElemCopy
**For advanced use only** Implement xsl:copy. |
class |
ElemCopyOf
**For advanced use only** Implement xsl:copy-of. |
class |
ElemElement
**For advanced use only** Implement xsl:element |
class |
ElemEmpty
**For internal use only** Simple empty elem to push on the stack when nothing else got pushed, so that pop() works correctly. |
class |
ElemExtensionCall
**For advanced use only** Implement an extension element. |
class |
ElemExtensionDecl
**For internal use only** Implement the declaration of an extension element |
class |
ElemExtensionScript
**For internal use only** Implement Script extension element |
class |
ElemFallback
**For advanced use only** Implement xsl:fallback. |
class |
ElemForEach
**For advanced use only** Implement xsl:for-each. |
class |
ElemIf
**For advanced use only** Implement xsl:if. |
class |
ElemLiteralResult
**For advanced use only** Implement a Literal Result Element. |
class |
ElemMessage
**For advanced use only** Implement xsl:message. |
class |
ElemNumber
**For advanced use only** Implement xsl:number. |
class |
ElemOtherwise
**For advanced use only** Implement xsl:otherwise. |
class |
ElemParam
**For advanced use only** Implement xsl:param. |
class |
ElemPI
**For advanced use only** Implement xsl:processing-instruction. |
class |
ElemSort
**For advanced use only** Implement xsl:sort. |
class |
ElemTemplate
**For advanced use only** Implement xsl:template. |
class |
ElemTemplateElement
**For advanced use only** An instance of this class represents an element inside an xsl:template class. |
class |
ElemText
**For advanced use only** Implement xsl:template. |
class |
ElemTextLiteral
**For advanced use only** Implement a text literal. |
class |
ElemUnknown
**For advanced use only** Implement a Literal Result Element. |
class |
ElemUse
**For advanced use only** Implement xsl:use. |
class |
ElemValueOf
**For advanced use only** Implement xsl:value-of. |
class |
ElemVariable
**For advanced use only** Implement xsl:variable. |
class |
ElemWhen
**For advanced use only** Implement xsl:when. |
class |
ElemWithParam
**For advanced use only** Implement xsl:with-param. |
class |
KeyDeclaration
**For internal use only** Holds the attribute declarations for the xsl:keys element. |
class |
NamespaceAlias
Object to hold an xsl:namespace element. |
class |
OutputProperties
This class provides information from xsl:output elements. |
class |
Stylesheet
Represents a stylesheet element. |
class |
StylesheetComposed
Represents a stylesheet that has methods that resolve includes and imports. |
class |
StylesheetRoot
This class represents the root object of the stylesheet tree. |
class |
WhiteSpaceInfo
This 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 | |
Node |
ElemTemplateElement.appendChild(Node newChild)
Add a child to the child list. |
Node |
ElemTemplateElement.removeChild(ElemTemplateElement childETE)
Remove a child. |
Node |
ElemTemplateElement.replaceChild(Node newChild,
Node oldChild)
Replace the old child with a new child. |
Node |
ElemTemplateElement.item(int index)
NodeList method: Return the Nth immediate child of this node, or null if the index is out of bounds. |
Node |
ElemTemplateElement.getParentNode()
Get the parent as a Node. |
Node |
ElemTemplateElement.getNextSibling()
Get the next sibling (as a Node) or return null. |
Node |
ElemTemplateElement.getPreviousSibling()
Get the previous sibling (as a Node) or return null. |
Node |
ElemTemplateElement.getFirstChild()
Get the first child as a Node. |
Node |
ElemTemplateElement.getLastChild()
Get the last child. |
Node |
ElemTemplateElement.getDOMBackPointer()
If this stylesheet was created from a DOM, get the DOM backpointer that this element originated from. |
Node |
ElemSort.appendChild(Node newChild)
Add a child to the child list. |
Node |
ElemNumber.appendChild(Node newChild)
Add a child to the child list. |
Node |
ElemNumber.getPreviousNode(XPathContext xctxt,
Node pos)
Get the previous node to be counted. |
Node |
ElemNumber.getTargetNode(XPathContext xctxt,
Node sourceNode)
Get the target node that will be counted.. |
Node |
ElemText.appendChild(Node newChild)
Add a child to the child list. |
Node |
ElemPI.appendChild(Node newChild)
Add a child to the child list. |
Node |
ElemForEach.appendChild(Node newChild)
Add a child to the child list. |
Node |
ElemCallTemplate.appendChild(Node newChild)
Add a child to the child list. |
Node |
ElemAttribute.appendChild(Node newChild)
Add a child to the child list. |
Node |
ElemCopyOf.appendChild(Node newChild)
Add a child to the child list. |
Node |
ElemChoose.appendChild(Node newChild)
Add a child to the child list. |
Node |
ElemAttributeSet.appendChild(Node newChild)
Add a child to the child list. |
Node |
ElemComment.appendChild(Node newChild)
Add a child to the child list. |
Node |
ElemApplyImport.appendChild(Node newChild)
Add a child to the child list. |
Node |
ElemValueOf.appendChild(Node newChild)
Add a child to the child list. |
Methods in org.apache.xalan.templates with parameters of type Node | |
void |
ElemTemplateElement.execute(TransformerImpl transformer,
Node sourceNode,
QName mode)
Execute the element's primary function. |
Node |
ElemTemplateElement.appendChild(Node newChild)
Add a child to the child list. |
Node |
ElemTemplateElement.replaceChild(Node newChild,
Node oldChild)
Replace the old child with a new child. |
java.lang.String |
ElemTemplateElement.getNamespaceForPrefix(java.lang.String prefix,
Node context)
Fullfill the PrefixResolver interface. |
void |
ElemTemplateElement.setDOMBackPointer(Node n)
If this stylesheet was created from a DOM, set the DOM backpointer that this element originated from. |
void |
ElemTemplate.execute(TransformerImpl transformer,
Node sourceNode,
QName mode)
Copy the template contents into the result tree. |
Node |
ElemSort.appendChild(Node newChild)
Add a child to the child list. |
void |
ElemUse.execute(TransformerImpl transformer,
Node sourceNode,
QName mode)
Copy attributes specified by use-attribute-sets to the result tree. |
void |
ElemLiteralResult.execute(TransformerImpl transformer,
Node sourceNode,
QName mode)
Copy a Literal Result Element into the Result tree, copy the non-excluded namespace attributes, copy the attributes not of the XSLT namespace, and execute the children of the LRE. |
void |
ElemExtensionCall.executeFallbacks(TransformerImpl transformer,
Node sourceNode,
QName mode)
Execute the fallbacks when an extension is not available. |
void |
ElemExtensionCall.execute(TransformerImpl transformer,
Node sourceNode,
QName mode)
Execute an extension. |
java.lang.String |
ElemExtensionCall.getAttribute(java.lang.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}". |
void |
ElemIf.execute(TransformerImpl transformer,
Node sourceNode,
QName mode)
Conditionally execute a sub-template. |
void |
ElemNumber.execute(TransformerImpl transformer,
Node sourceNode,
QName mode)
Execute an xsl:number instruction. |
Node |
ElemNumber.appendChild(Node newChild)
Add a child to the child list. |
Node |
ElemNumber.getPreviousNode(XPathContext xctxt,
Node pos)
Get the previous node to be counted. |
Node |
ElemNumber.getTargetNode(XPathContext xctxt,
Node sourceNode)
Get the target node that will be counted.. |
java.lang.String |
AVT.evaluate(XPathContext xctxt,
Node context,
PrefixResolver nsNode)
Evaluate the AVT and return a String. |
Node |
ElemText.appendChild(Node newChild)
Add a child to the child list. |
org.apache.xalan.templates.TemplateSubPatternAssociation |
TemplateList.getHead(XPathContext xctxt,
Node targetNode)
Get the head of the most likely list of associations to check, based on the name and type of the targetNode argument. |
ElemTemplate |
TemplateList.getTemplate(XPathContext xctxt,
Node targetNode,
QName mode,
int maxImportLevel,
boolean quietConflictWarnings)
Given a target element, find the template that best matches in the given XSL document, according to the rules specified in the xsl draft. |
abstract void |
AVTPart.evaluate(XPathContext xctxt,
FastStringBuffer buf,
Node context,
PrefixResolver nsNode)
Write the evaluated value into the given string buffer. |
void |
AVTPartXPath.evaluate(XPathContext xctxt,
FastStringBuffer buf,
Node context,
PrefixResolver nsNode)
Write the value into the buffer. |
void |
ElemPI.execute(TransformerImpl transformer,
Node sourceNode,
QName mode)
Create a processing instruction in the result tree. |
Node |
ElemPI.appendChild(Node newChild)
Add a child to the child list. |
void |
ElemTextLiteral.execute(TransformerImpl transformer,
Node sourceNode,
QName mode)
Copy the text literal to the result tree. |
void |
ElemForEach.execute(TransformerImpl transformer,
Node sourceNode,
QName mode)
Execute the xsl:for-each transformation |
void |
ElemForEach.transformSelectedNodes(TransformerImpl transformer,
Node sourceNode,
ElemTemplateElement template,
QName mode)
**For advanced use only** Perform a query if needed, and call transformNode for each child. |
Node |
ElemForEach.appendChild(Node newChild)
Add a child to the child list. |
void |
ElemCallTemplate.execute(TransformerImpl transformer,
Node sourceNode,
QName mode)
Invoke a named template. |
Node |
ElemCallTemplate.appendChild(Node newChild)
Add a child to the child list. |
void |
ElemMessage.execute(TransformerImpl transformer,
Node sourceNode,
QName mode)
Send a message to diagnostics. |
void |
ElemUnknown.execute(TransformerImpl transformer,
Node sourceNode,
QName mode)
Copy an unknown element to the result tree |
void |
ElemAttribute.execute(TransformerImpl transformer,
Node sourceNode,
QName mode)
Create an attribute in the result tree. |
Node |
ElemAttribute.appendChild(Node newChild)
Add a child to the child list. |
void |
AVTPartSimple.evaluate(XPathContext xctxt,
FastStringBuffer buf,
Node context,
PrefixResolver nsNode)
Write the value into the buffer. |
void |
ElemCopyOf.execute(TransformerImpl transformer,
Node sourceNode,
QName mode)
The xsl:copy-of element can be used to insert a result tree fragment into the result tree, without first converting it to a string as xsl:value-of does (see [7.6.1 Generating Text with xsl:value-of]). |
Node |
ElemCopyOf.appendChild(Node newChild)
Add a child to the child list. |
void |
ElemChoose.execute(TransformerImpl transformer,
Node sourceNode,
QName mode)
Execute the xsl:choose transformation. |
Node |
ElemChoose.appendChild(Node newChild)
Add a child to the child list. |
void |
ElemAttributeSet.execute(TransformerImpl transformer,
Node sourceNode,
QName mode)
Apply a set of attributes to the element. |
Node |
ElemAttributeSet.appendChild(Node newChild)
Add a child to the child list. |
void |
ElemApplyTemplates.execute(TransformerImpl transformer,
Node sourceNode,
QName mode)
Apply the context node to the matching templates. |
void |
ElemFallback.execute(TransformerImpl transformer,
Node sourceNode,
QName mode)
This is the normal call when xsl:fallback is instantiated. |
void |
ElemFallback.executeFallback(TransformerImpl transformer,
Node sourceNode,
QName mode)
Execute the fallback elements. |
void |
ElemCopy.execute(TransformerImpl transformer,
Node sourceNode,
QName mode)
The xsl:copy element provides an easy way of copying the current node. |
void |
ElemElement.execute(TransformerImpl transformer,
Node sourceNode,
QName mode)
Create an element in the result tree. |
void |
ElemVariable.execute(TransformerImpl transformer,
Node sourceNode,
QName mode)
Execute a variable declaration and push it onto the variable stack. |
XObject |
ElemVariable.getValue(TransformerImpl transformer,
Node sourceNode)
Get the XObject representation of the variable. |
ElemTemplate |
StylesheetRoot.getTemplateComposed(XPathContext xctxt,
Node targetNode,
QName mode,
int maxImportLevel,
boolean quietConflictWarnings)
Get an "xsl:template" property by node match. |
void |
ElemComment.execute(TransformerImpl transformer,
Node sourceNode,
QName mode)
Execute the xsl:comment transformation |
Node |
ElemComment.appendChild(Node newChild)
Add a child to the child list. |
void |
ElemApplyImport.execute(TransformerImpl transformer,
Node sourceNode,
QName mode)
Execute the xsl:apply-imports transformation. |
Node |
ElemApplyImport.appendChild(Node newChild)
Add a child to the child list. |
void |
ElemParam.execute(TransformerImpl transformer,
Node sourceNode,
QName mode)
Execute a parameter declaration. |
void |
ElemValueOf.execute(TransformerImpl transformer,
Node sourceNode,
QName mode)
Execute the string expression and copy the text to the result tree. |
Node |
ElemValueOf.appendChild(Node newChild)
Add a child to the child list. |
Constructors in org.apache.xalan.templates with parameters of type Node | |
XUnresolvedVariable.XUnresolvedVariable(ElemVariable obj,
Node sourceNode,
TransformerImpl transformer,
int varStackPos,
int varStackContext,
boolean isGlobal)
Create an XUnresolvedVariable, that may be executed at a later time. |
Uses of Node in org.apache.xalan.trace |
Fields in org.apache.xalan.trace declared as Node | |
Node |
TracerEvent.m_sourceNode
The current context node. |
Node |
SelectionEvent.m_sourceNode
The current context node. |
Methods in org.apache.xalan.trace with parameters of type Node | |
static java.lang.String |
TracerEvent.printNode(Node n)
Returns a string representation of the node. |
void |
TraceManager.fireTraceEvent(Node sourceNode,
QName mode,
ElemTemplateElement styleNode)
Fire a trace event. |
void |
TraceManager.fireSelectedEvent(Node sourceNode,
ElemTemplateElement styleNode,
java.lang.String attributeName,
XPath xpath,
XObject selection)
Fire a selection event. |
Constructors in org.apache.xalan.trace with parameters of type Node | |
TracerEvent.TracerEvent(TransformerImpl processor,
Node sourceNode,
QName mode,
ElemTemplateElement styleNode)
Create an event originating at the given node of the style tree. |
|
SelectionEvent.SelectionEvent(TransformerImpl processor,
Node sourceNode,
ElemTemplateElement styleNode,
java.lang.String attributeName,
XPath xpath,
XObject selection)
Create an event originating at the given node of the style tree. |
Uses of Node in org.apache.xalan.transformer |
Methods in org.apache.xalan.transformer that return Node | |
Node |
KeyWalker.nextNode()
Moves the TreeWalker to the next visible node in document
order relative to the current node, and returns the new node. |
Node |
KeyIterator.nextNode()
Returns the next node in the set and advances the position of the iterator in the set. |
Node |
KeyTable.getDocKey()
Get the document root matching this key. |
Node |
TransformState.getCurrentNode()
This method retrieves the current context node in the source tree. |
Node |
TransformState.getMatchedNode()
Retrieves the node in the source tree that matched the template obtained via getMatchedTemplate(). |
Node |
KeyRefIterator.nextNode()
Returns the next node in the set and advances the position of the iterator in the set. |
Node |
TransformerImpl.parseToNode(Source source)
**For internal use only** Process the an input source to a DOM node. |
Node |
TransformerImpl.getCurrentNode()
This method retrieves the current context node in the source tree. |
Node |
TransformerImpl.getMatchedNode()
Retrieves the node in the source tree that matched the template obtained via getMatchedTemplate(). |
Methods in org.apache.xalan.transformer with parameters of type Node | |
void |
ClonerToResultTree.cloneToResultTree(Node node,
boolean shouldCloneAttributes)
Clone an element with or without children. |
void |
TreeWalker2Result.traverse(Node pos)
Perform a pre-order traversal non-recursive style. |
int |
CountersTable.countNode(XPathContext support,
ElemNumber numberElem,
Node node)
Count forward until the given node is found, or until we have looked to the given amount. |
void |
KeyWalker.setRoot(Node root)
Set the root node of the TreeWalker. |
short |
KeyWalker.acceptNode(Node testNode)
Test whether a specified node is visible in the logical view of a TreeWalker or NodeIterator. |
LocPathIterator |
KeyManager.getNodeSetByKey(XPathContext xctxt,
Node doc,
QName name,
java.lang.String ref,
PrefixResolver nscontext)
Given a valid element key, return the corresponding node list. |
void |
ResultTreeHandler.cloneToResultTree(Node node,
boolean shouldCloneAttributes)
Clone an element with or without children. |
void |
ResultTreeHandler.processNSDecls(Node src)
Copy xmlns: attributes in if not already in scope. |
void |
ResultTreeHandler.addAttributes(Node src)
Copy DOM attributes to the result element. |
void |
KeyRefIterator.addNode(Node node)
Add a node matching this ref to the cached nodes for this iterator |
void |
MsgMgr.warn(SourceLocator srcLctr,
Node styleNode,
Node sourceNode,
int msg)
**For internal use only** Warn the user of a problem. |
void |
MsgMgr.warn(SourceLocator srcLctr,
Node styleNode,
Node sourceNode,
int msg,
java.lang.Object[] args)
**For internal use only** Warn the user of a problem. |
void |
MsgMgr.error(SourceLocator srcLctr,
Node styleNode,
Node sourceNode,
int msg)
**For internal use only** Tell the user of an error, and probably throw an exception. |
void |
MsgMgr.error(SourceLocator srcLctr,
Node styleNode,
Node sourceNode,
int msg,
java.lang.Object[] args)
**For internal use only** Tell the user of an error, and probably throw an exception. |
void |
TransformerImpl.transformNode(Node node,
Result outputTarget)
Process the source node to the output result, if the processor supports the "http://xml.org/trax/features/dom/input" feature. |
void |
TransformerImpl.transformNode(Node node)
Process the source node to the output result, if the processor supports the "http://xml.org/trax/features/dom/input" feature. |
void |
TransformerImpl.pushParams(XPathContext xctxt,
ElemCallTemplate xslCallTemplateElement,
Node sourceNode,
QName mode)
Given a template, search for the arguments and push them on the stack. |
DocumentFragment |
TransformerImpl.transformToRTF(ElemTemplateElement templateParent,
Node sourceNode,
QName mode)
**For advanced use only** Given a stylesheet element, create a result tree fragment from it's contents. |
java.lang.String |
TransformerImpl.transformToString(ElemTemplateElement elem,
Node sourceNode,
QName mode)
**For advanced use only** Take the contents of a template element, process it, and convert it to a string. |
boolean |
TransformerImpl.applyTemplateToNode(ElemTemplateElement xslInstruction,
ElemTemplateElement template,
Node child,
QName mode)
**For advanced use only** Given an element and mode, find the corresponding template and process the contents. |
void |
TransformerImpl.executeChildTemplates(ElemTemplateElement elem,
Node sourceNode,
QName mode,
ContentHandler handler)
**For advanced use only** Execute each of the children of a template element. |
void |
TransformerImpl.executeChildTemplates(ElemTemplateElement elem,
Node sourceNode,
QName mode)
**For advanced use only** Execute each of the children of a template element. |
void |
TransformerImpl.executeChildTemplates(ElemTemplateElement elem,
Node sourceNode,
QName mode,
boolean shouldAddAttrs)
**For advanced use only** Execute each of the children of a template element. |
java.util.Vector |
TransformerImpl.processSortKeys(ElemForEach foreach,
Node sourceNodeContext)
**For advanced use only** Get the keys for the xsl:sort elements. |
void |
TransformerImpl.pushPairCurrentMatched(ElemTemplateElement template,
Node child)
Push both the current xsl:template or xsl:for-each onto the stack, along with the child node that was matched. |
void |
TransformerImpl.setSourceTreeDocForThread(Node doc)
This is just a way to set the document for run(). |
void |
StackGuard.push(ElemTemplateElement xslTemplate,
Node sourceXML)
Push in a StackGuard object mathing given template |
Constructors in org.apache.xalan.transformer with parameters of type Node | |
KeyIterator.KeyIterator(Node doc,
PrefixResolver nscontext,
QName name,
java.util.Vector keyDeclarations,
XPathContext xctxt)
Constructor KeyIterator |
|
KeyTable.KeyTable(Node doc,
PrefixResolver nscontext,
QName name,
java.util.Vector keyDeclarations,
XPathContext xmlLiaison)
Build a keys table. |
|
StackGuard.StackGuard(ElemTemplateElement xslTemplate,
Node sourceXML)
Constructor StackGuard |
Uses of Node in org.apache.xml.utils |
Classes in org.apache.xml.utils that implement Node | |
class |
UnImplNode
**For internal use only** To be subclassed by classes that wish to fake being nodes. |
Methods in org.apache.xml.utils that return Node | |
Node |
UnImplNode.appendChild(Node newChild)
Unimplemented. |
Node |
UnImplNode.getParentNode()
Unimplemented. |
Node |
UnImplNode.getFirstChild()
Unimplemented. |
Node |
UnImplNode.getLastChild()
Unimplemented. |
Node |
UnImplNode.getNextSibling()
Unimplemented. |
Node |
UnImplNode.item(int index)
Unimplemented. |
Node |
UnImplNode.getPreviousSibling()
Unimplemented. |
Node |
UnImplNode.cloneNode(boolean deep)
Unimplemented. |
Node |
UnImplNode.insertBefore(Node newChild,
Node refChild)
Unimplemented. |
Node |
UnImplNode.replaceChild(Node newChild,
Node oldChild)
Unimplemented. |
Node |
UnImplNode.removeChild(Node oldChild)
Unimplemented. |
Node |
UnImplNode.importNode(Node importedNode,
boolean deep)
Unimplemented. |
Node |
DOMBuilder.getRootNode()
Get the root node of the DOM being created. |
Node |
DOMBuilder.getCurrentNode()
Get the node currently being processed. |
Node |
NodeVector.pop()
Pop a node from the tail of the vector and return the result. |
Node |
NodeVector.popAndTop()
Pop a node from the tail of the vector and return the top of the stack after the pop. |
Node |
NodeVector.peepOrNull()
Return the node at the top of the stack without popping the stack. |
Node |
NodeVector.peepTail()
Return the node at the tail of the vector without popping Special purpose method for TransformerImpl, pushElemTemplateElement. |
Node |
NodeVector.peepTailSub1()
Return the node one position from the tail without popping. |
Node |
NodeVector.elementAt(int i)
Get the nth element. |
Methods in org.apache.xml.utils with parameters of type Node | |
Node |
UnImplNode.appendChild(Node newChild)
Unimplemented. |
Node |
UnImplNode.insertBefore(Node newChild,
Node refChild)
Unimplemented. |
Node |
UnImplNode.replaceChild(Node newChild,
Node oldChild)
Unimplemented. |
Node |
UnImplNode.removeChild(Node oldChild)
Unimplemented. |
Node |
UnImplNode.importNode(Node importedNode,
boolean deep)
Unimplemented. |
void |
TreeWalker.traverse(Node pos)
Perform a pre-order traversal non-recursive style. |
void |
TreeWalker.traverse(Node pos,
Node top)
Perform a pre-order traversal non-recursive style. |
java.lang.String |
PrefixResolverDefault.getNamespaceForPrefix(java.lang.String prefix,
Node namespaceContext)
Given a namespace, get the corrisponding prefix. |
java.lang.String |
PrefixResolver.getNamespaceForPrefix(java.lang.String prefix,
Node context)
Given a namespace, get the corrisponding prefix, based on the node context. |
void |
NodeConsumer.setOriginatingNode(Node n)
Set the node that is originating the SAX event. |
void |
NodeVector.addElement(Node value)
Append a Node onto the vector. |
void |
NodeVector.push(Node value)
Append a Node onto the vector. |
void |
NodeVector.pushPair(Node v1,
Node v2)
Push a pair of nodes into the stack. |
void |
NodeVector.setTail(Node n)
Set the tail of the stack to the given node. |
void |
NodeVector.setTailSub1(Node n)
Set the given node one position from the tail. |
void |
NodeVector.insertElementAt(Node value,
int at)
Inserts the specified node in this vector at the specified index. |
boolean |
NodeVector.removeElement(Node s)
Removes the first occurrence of the argument from this vector. |
void |
NodeVector.setElementAt(Node node,
int index)
Sets the component at the specified index of this vector to be the specified object. |
boolean |
NodeVector.contains(Node s)
Tell if the table contains the given node. |
int |
NodeVector.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. |
int |
NodeVector.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. |
Constructors in org.apache.xml.utils with parameters of type Node | |
DOMBuilder.DOMBuilder(Document doc,
Node node)
DOMBuilder instance constructor... |
|
PrefixResolverDefault.PrefixResolverDefault(Node xpathExpressionContext)
Construct a PrefixResolverDefault object. |
Uses of Node in org.apache.xpath |
Fields in org.apache.xpath declared as Node | |
Node |
SourceTree.m_root
The root of the source tree, which may or may not be a Document node. |
Methods in org.apache.xpath that return Node | |
Node |
DOMHelper.getRoot(Node node)
Deprecated. |
Node |
DOMHelper.getRootNode(Node n)
Get the root node of the document tree, regardless of whether or not the node passed in is a document node. |
Node |
DOMHelper.getParentOfNode(Node node)
Obtain the XPath-model parent of a DOM node -- ownerElement for Attrs, parent for other nodes. |
Node |
DOM2Helper.getParentOfNode(Node node)
Get the XPath-model parent of a node. |
static Node |
XPathAPI.selectSingleNode(Node contextNode,
java.lang.String str)
Use an XPath string to select a single node. |
static Node |
XPathAPI.selectSingleNode(Node contextNode,
java.lang.String str,
Node namespaceNode)
Use an XPath string to select a single node. |
Node |
NodeSet.getRoot()
|
Node |
NodeSet.nextNode()
Returns the next node in the set and advances the position of the iterator in the set. |
Node |
NodeSet.previousNode()
Returns the previous node in the set and moves the position of the iterator backwards in the set. |
Node |
NodeSet.item(int index)
Returns the index th item in the collection. |
Node |
NodeSet.elementAt(int i)
Get the nth element. |
Node |
NodeSet.getCurrentNode()
Return the last fetched node. |
Node |
XPathContext.getCurrentNode()
Get the current context node. |
Node |
XPathContext.getCurrentExpressionNode()
Get the current node that is the expression's context (i.e. |
Node |
XPathContext.getContextNode()
Get the current context node. |
Node |
SourceTreeManager.getNode(Source source)
Given a Source object, find the node associated with it. |
Node |
SourceTreeManager.getSourceTree(java.lang.String base,
java.lang.String urlString,
SourceLocator locator)
Get the source tree from the a base URL and a URL string. |
Node |
SourceTreeManager.getSourceTree(Source source,
SourceLocator locator)
Get the source tree from the input source. |
Node |
SourceTreeManager.getDOMNode(Source source,
SourceLocator locator)
Try to create a DOM source tree from the input source. |
Methods in org.apache.xpath with parameters of type Node | |
boolean |
DOMHelper.shouldStripSourceNode(Node textNode)
**For advanced use only** 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. |
java.lang.String |
DOMHelper.getUniqueID(Node node)
Supports the XPath function GenerateID by returning a unique identifier string for any given DOM Node. |
boolean |
DOMHelper.isNodeAfter(Node node1,
Node node2)
Figure out whether node2 should be considered as being later in the document than node1, in Document Order as defined by the XPath model. |
short |
DOMHelper.getLevel(Node n)
**For internal use only** Get the depth level of this node in the tree (equals 1 for a parentless node). |
java.lang.String |
DOMHelper.getNamespaceOfNode(Node n)
Returns the namespace of the given node. |
java.lang.String |
DOMHelper.getLocalNameOfNode(Node n)
Returns the local name of the given node. |
Node |
DOMHelper.getRoot(Node node)
Deprecated. |
Node |
DOMHelper.getRootNode(Node n)
Get the root node of the document tree, regardless of whether or not the node passed in is a document node. |
boolean |
DOMHelper.isNamespaceNode(Node n)
Test whether the given node is a namespace decl node. |
Node |
DOMHelper.getParentOfNode(Node node)
Obtain the XPath-model parent of a DOM node -- ownerElement for Attrs, parent for other nodes. |
static java.lang.String |
DOMHelper.getNodeData(Node node)
Get the textual contents of the node. |
static void |
DOMHelper.getNodeData(Node node,
FastStringBuffer buf)
Retrieve the text content of a DOM subtree, appending it into a user-supplied FastStringBuffer object. |
void |
DOM2Helper.checkNode(Node node)
**For internal use only** Check node to see if it was created by a DOM implementation that this helper is intended to support. |
boolean |
DOM2Helper.isNodeAfter(Node node1,
Node node2)
Figure out whether node2 should be considered as being later in the document than node1, in Document Order as defined by the XPath model. |
Node |
DOM2Helper.getParentOfNode(Node node)
Get the XPath-model parent of a node. |
java.lang.String |
DOM2Helper.getLocalNameOfNode(Node n)
Returns the local name of the given node, as defined by the XML Namespaces specification. |
java.lang.String |
DOM2Helper.getNamespaceOfNode(Node n)
Returns the Namespace Name (Namespace URI) for the given node. |
XObject |
XPath.execute(XPathContext xctxt,
Node contextNode,
PrefixResolver namespaceContext)
**Experimental** Given an expression and a context, evaluate the XPath and call the callback as nodes are found. |
double |
XPath.getMatchScore(XPathContext xctxt,
Node context)
Get the match score of the given node. |
void |
XPath.warn(XPathContext xctxt,
Node sourceNode,
int msg,
java.lang.Object[] args)
Warn the user of an problem. |
void |
XPath.error(XPathContext xctxt,
Node sourceNode,
int msg,
java.lang.Object[] args)
Tell the user of an error, and probably throw an exception. |
static Node |
XPathAPI.selectSingleNode(Node contextNode,
java.lang.String str)
Use an XPath string to select a single node. |
static Node |
XPathAPI.selectSingleNode(Node contextNode,
java.lang.String str,
Node namespaceNode)
Use an XPath string to select a single node. |
static NodeIterator |
XPathAPI.selectNodeIterator(Node contextNode,
java.lang.String str)
Use an XPath string to select a nodelist. |
static NodeIterator |
XPathAPI.selectNodeIterator(Node contextNode,
java.lang.String str,
Node namespaceNode)
Use an XPath string to select a nodelist. |
static NodeList |
XPathAPI.selectNodeList(Node contextNode,
java.lang.String str)
Use an XPath string to select a nodelist. |
static NodeList |
XPathAPI.selectNodeList(Node contextNode,
java.lang.String str,
Node namespaceNode)
Use an XPath string to select a nodelist. |
static XObject |
XPathAPI.eval(Node contextNode,
java.lang.String str)
Evaluate XPath string to an XObject. |
static XObject |
XPathAPI.eval(Node contextNode,
java.lang.String str,
Node namespaceNode)
Evaluate XPath string to an XObject. |
static XObject |
XPathAPI.eval(Node contextNode,
java.lang.String str,
PrefixResolver prefixResolver)
Evaluate XPath string to an XObject. |
void |
NodeSet.addNode(Node n)
Add a node to the NodeSet. |
void |
NodeSet.insertNode(Node n,
int pos)
Insert a node at a given position. |
void |
NodeSet.removeNode(Node n)
Remove a node. |
int |
NodeSet.addNodeInDocOrder(Node node,
boolean test,
XPathContext support)
Add the node into a vector of nodes where it should occur in document order. |
int |
NodeSet.addNodeInDocOrder(Node node,
XPathContext support)
Add the node into a vector of nodes where it should occur in document order. |
void |
NodeSet.addElement(Node value)
Append a Node onto the vector. |
void |
NodeSet.insertElementAt(Node value,
int at)
Inserts the specified node in this vector at the specified index. |
boolean |
NodeSet.removeElement(Node s)
Removes the first occurrence of the argument from this vector. |
void |
NodeSet.setElementAt(Node node,
int index)
Sets the component at the specified index of this vector to be the specified object. |
boolean |
NodeSet.contains(Node s)
Tell if the table contains the given node. |
int |
NodeSet.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. |
int |
NodeSet.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. |
void |
XPathContext.pushCurrentNodeAndExpression(Node cn,
Node en)
Set the current context node and expression node. |
void |
XPathContext.pushCurrentNode(Node n)
Set the current context node. |
void |
XPathContext.pushCurrentExpressionNode(Node n)
Set the current node that is the expression's context (i.e. |
double |
XPathContext.toNumber(Node n)
Get the value of a node as a number. |
java.lang.String |
XPathContext.toString(Node n)
Get the value of a node as a string. |
void |
SourceTreeManager.putDocumentInCache(Node n,
Source source)
Put the source tree root node in the document cache. |
Constructors in org.apache.xpath with parameters of type Node | |
NodeSet.NodeSet(Node node)
Create a NodeSet which contains the given Node. |
|
SourceTree.SourceTree(Node root,
java.lang.String url)
Constructor SourceTree |
|
XPathException.XPathException(java.lang.String message,
Node styleNode,
java.lang.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 |
Fields in org.apache.xpath.axes declared as Node | |
Node |
LocPathIterator.m_lastFetched
The last node that was fetched, usually by nextNode. |
Methods in org.apache.xpath.axes that return Node | |
Node |
AxesWalker.getRoot()
The root node of the TreeWalker, as specified in setRoot(Node root). |
Node |
AxesWalker.getCurrentNode()
The node at which the TreeWalker is currently positioned. |
Node |
AxesWalker.parentNode()
Moves to and returns the closest visible ancestor node of the current node. |
Node |
AxesWalker.firstChild()
Moves the TreeWalker to the first visible child of the
current node, and returns the new node. |
Node |
AxesWalker.nextSibling()
Moves the TreeWalker to the next sibling of the current
node, and returns the new node. |
Node |
AxesWalker.lastChild()
Moves the TreeWalker to the last visible child of the
current node, and returns the new node. |
Node |
AxesWalker.previousSibling()
Moves the TreeWalker to the previous sibling of the
current node, and returns the new node. |
Node |
AxesWalker.previousNode()
Moves the TreeWalker to the previous visible node in
document order relative to the current node, and returns the new node. |
Node |
AxesWalker.nextNode()
Moves the TreeWalker to the next visible node in document
order relative to the current node, and returns the new node. |
Node |
DescendantWalker.parentNode()
Moves to and returns the closest visible ancestor node of the current node. |
Node |
DescendantWalker.firstChild()
Moves the TreeWalker to the first visible child of the
current node, and returns the new node. |
Node |
DescendantWalker.nextSibling()
Moves the TreeWalker to the next sibling of the current
node, and returns the new node. |
Node |
DescendantOrSelfWalker.firstChild()
Moves the TreeWalker to the first visible child of the
current node, and returns the new node. |
Node |
LocPathIterator.item(int index)
Returns the index th item in the collection. |
Node |
LocPathIterator.previousNode()
Returns the previous node in the set and moves the position of the iterator backwards in the set. |
Node |
LocPathIterator.getRoot()
The root node of the Iterator, as specified when it was created. |
Node |
LocPathIterator.nextNode()
Returns the next node in the set and advances the position of the iterator in the set. |
Node |
LocPathIterator.getCurrentNode()
Return the last fetched node. |
Node |
LocPathIterator.getContext()
The node context for the iterator. |
Node |
LocPathIterator.getCurrentContextNode()
The node context from where the expression is being executed from (i.e. |
Node |
RootWalker.firstChild()
Moves the TreeWalker to the first visible child of the
current node, and returns the new node. |
Node |
PrecedingSiblingWalker.nextSibling()
Moves the TreeWalker to the next sibling of the current
node, and returns the new node. |
Node |
ChildIterator.nextNode()
Returns the next node in the set and advances the position of the iterator in the set. |
Node |
SelfWalkerOneStep.nextNode()
Get the next node in document order on the axes. |
Node |
PrecedingWalker.parentNode()
Moves to and returns the closest visible ancestor node of the current node. |
Node |
PrecedingWalker.firstChild()
Moves the TreeWalker to the first visible child of the
current node, and returns the new node. |
Node |
PrecedingWalker.nextSibling()
Moves the TreeWalker to the next sibling of the current
node, and returns the new node. |
Node |
FollowingSiblingWalker.nextSibling()
Moves the TreeWalker to the next sibling of the current
node, and returns the new node. |
Node |
DescendantIterator.nextNode()
Returns the next node in the set and advances the position of the iterator in the set. |
Node |
ChildWalkerMultiStep.nextNode()
Moves the TreeWalker to the next visible node in document
order relative to the current node, and returns the new node. |
Node |
ChildWalker.firstChild()
Moves the TreeWalker to the first visible child of the
current node, and returns the new node. |
Node |
ChildWalker.nextSibling()
Moves the TreeWalker to the next sibling of the current
node, and returns the new node. |
Node |
SelfWalker.firstChild()
Moves the TreeWalker to the first visible child of the
current node, and returns the new node. |
Node |
FollowingWalker.parentNode()
Moves to and returns the closest visible ancestor node of the current node. |
Node |
FollowingWalker.firstChild()
Moves the TreeWalker to the first visible child of the
current node, and returns the new node. |
Node |
FollowingWalker.nextSibling()
Moves the TreeWalker to the next sibling of the current
node, and returns the new node. |
Node |
ContextNodeList.getCurrentNode()
Get the current node. |
Node |
AttributeWalker.firstChild()
Moves the TreeWalker to the first visible child of the
current node, and returns the new node. |
Node |
AttributeWalker.nextSibling()
Moves the TreeWalker to the next sibling of the current
node, and returns the new node. |
Node |
AttributeIterator.nextNode()
Returns the next node in the set and advances the position of the iterator in the set. |
Node |
ParentWalker.firstChild()
Moves the TreeWalker to the first visible child of the
current node, and returns the new node. |
Node |
AttributeWalkerOneStep.nextNode()
Get the next node in document order on the axes. |
Node |
AncestorWalker.firstChild()
Moves the TreeWalker to the first visible child of the
current node, and returns the new node. |
Node |
ChildWalkerOneStep.nextNode()
Get the next node in document order on the axes. |
Node |
FilterExprWalker.getNextNode()
Moves the TreeWalker to the next visible node in document
order relative to the current node, and returns the new node. |
Node |
UnionPathIterator.previousNode()
Returns the previous node in the set and moves the position of the iterator backwards in the set. |
Node |
UnionPathIterator.getRoot()
The root node of the Iterator, as specified when it was created. |
Node |
UnionPathIterator.nextNode()
Returns the next node in the set and advances the position of the iterator in the set. |
Node |
UnionPathIterator.getCurrentNode()
Return the last fetched node. |
Node |
UnionPathIterator.getCurrentContextNode()
The node context from where the expression is being executed from (i.e. |
Node |
ChildTestIterator.nextNode()
Returns the next node in the set and advances the position of the iterator in the set. |
Node |
NamespaceWalker.firstChild()
Moves the TreeWalker to the first visible child of the
current node, and returns the new node. |
Node |
NamespaceWalker.nextSibling()
Moves the TreeWalker to the next sibling of the current
node, and returns the new node. |
Methods in org.apache.xpath.axes with parameters of type Node | |
short |
PredicatedNodeTest.acceptNode(Node n)
Test whether a specified node is visible in the logical view of a TreeWalker or NodeIterator. |
void |
AxesWalker.setRoot(Node root)
Set the root node of the TreeWalker. |
void |
AxesWalker.setCurrentNode(Node currentNode)
Set the current node. |
void |
DescendantWalker.setRoot(Node root)
Set the root node of the TreeWalker. |
void |
DescendantOrSelfWalker.setRoot(Node root)
Set the root node of the TreeWalker. |
void |
LocPathIterator.setCurrentContextNode(Node n)
Set the current context node for this iterator. |
void |
RootWalker.setRoot(Node root)
Set the root node of the TreeWalker. |
void |
ReverseAxesWalker.setRoot(Node root)
Set the root node of the TreeWalker. |
void |
PrecedingWalker.setRoot(Node root)
Set the root node of the TreeWalker. |
void |
RootWalkerMultiStep.setRoot(Node root)
Set the root node of the TreeWalker. |
void |
ChildWalker.setRoot(Node root)
The root node of the TreeWalker. |
void |
SelfWalker.setRoot(Node root)
Set the root node of the TreeWalker. |
void |
FollowingWalker.setRoot(Node root)
Set the root node of the TreeWalker. |
void |
AttributeWalker.setRoot(Node root)
The root node of the TreeWalker. |
void |
ParentWalker.setRoot(Node root)
Set the root node of the TreeWalker. |
void |
AttributeWalkerOneStep.setRoot(Node root)
The root node of the TreeWalker. |
void |
AncestorWalker.setRoot(Node root)
The root node of the TreeWalker. |
void |
FilterExprWalker.setRoot(Node root)
Set the root node of the TreeWalker. |
short |
FilterExprWalker.acceptNode(Node n)
This method needs to override AxesWalker.acceptNode because FilterExprWalkers don't need to, and shouldn't, do a node test. |
void |
NamespaceWalker.setRoot(Node root)
Set the root node of the TreeWalker. |
Uses of Node in org.apache.xpath.objects |
Methods in org.apache.xpath.objects with parameters of type Node | |
static double |
XNodeSet.getNumberFromNode(Node n)
Get numeric value of the string conversion from a single node. |
static java.lang.String |
XNodeSet.getStringFromNode(Node n)
Get the string conversion from a single node. |
Constructors in org.apache.xpath.objects with parameters of type Node | |
XNodeSet.XNodeSet(Node n)
Construct a XNodeSet object for one node. |
Uses of Node in org.apache.xpath.patterns |
Methods in org.apache.xpath.patterns with parameters of type Node | |
XObject |
NodeTest.execute(XPathContext xctxt,
Node context)
Tell what the test score is for the given node. |
double |
StepPattern.getMatchScore(XPathContext xctxt,
Node context)
Get the match score of the given node. |
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 |
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 |
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 |
NodeList.item(int index)
Returns the index th item in the collection. |
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 |
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 |
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 |
Document.importNode(Node importedNode,
boolean deep)
Imports a node from another document to this document. |
Uses of Node in org.w3c.dom.range |
Methods in org.w3c.dom.range that return Node | |
Node |
Range.getStartContainer()
Node within which the range begins |
Node |
Range.getEndContainer()
Node within which the range ends |
Node |
Range.getCommonAncestorContainer()
The deepest common ancestor container of the range's two boundary-points. |
Methods in org.w3c.dom.range with parameters of type Node | |
void |
Range.setStart(Node refNode,
int offset)
Sets the attributes describing the start of the range. |
void |
Range.setEnd(Node refNode,
int offset)
Sets the attributes describing the end of a range. |
void |
Range.setStartBefore(Node refNode)
Sets the start position to be before a node |
void |
Range.setStartAfter(Node refNode)
Sets the start position to be after a node |
void |
Range.setEndBefore(Node refNode)
Sets the end position to be before a node. |
void |
Range.setEndAfter(Node refNode)
Sets the end of a range to be after a node |
void |
Range.selectNode(Node refNode)
Select a node and its contents |
void |
Range.selectNodeContents(Node refNode)
Select the contents within a node |
void |
Range.insertNode(Node newNode)
Inserts a node into the document or document fragment at the start of the range. |
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 |
NodeIterator.getRoot()
The root node of the NodeIterator , as specified when it
was created. |
Node |
NodeIterator.nextNode()
Returns the next node in the set and advances the position of the iterator in the set. |
Node |
NodeIterator.previousNode()
Returns the previous node in the set and moves the position of the NodeIterator backwards in the set. |
Node |
TreeWalker.getRoot()
The root node of the TreeWalker , as specified
when it was created. |
Node |
TreeWalker.getCurrentNode()
The node at which the TreeWalker is currently positioned. |
Node |
TreeWalker.parentNode()
Moves to and returns the closest visible ancestor node of the current node. |
Node |
TreeWalker.firstChild()
Moves the TreeWalker to the first visible child of the
current node, and returns the new node. |
Node |
TreeWalker.lastChild()
Moves the TreeWalker to the last visible child of 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. |
Node |
TreeWalker.nextSibling()
Moves the TreeWalker to the next sibling of the current
node, and returns the new node. |
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.nextNode()
Moves the TreeWalker to the next visible node in document
order relative to 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)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |