Package | Description |
---|---|
javax.xml.transform.dom | |
org.apache.xalan.extensions |
Implementation of Xalan Extension Mechanism.
|
org.apache.xalan.lib |
Extension elements and functions shipped with Xalan-Java, including EXSLT functions.
|
org.apache.xalan.lib.sql |
Provides extension functions for connecting to a JDBC data source, executing a query,
and working incrementally through a "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.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.xalan.xslt |
Implementation of Xalan command-line interface.
|
org.apache.xalan.xsltc | |
org.apache.xalan.xsltc.dom | |
org.apache.xalan.xsltc.runtime | |
org.apache.xalan.xsltc.runtime.output | |
org.apache.xalan.xsltc.trax | |
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.domapi |
Implements DOM Level 3 XPath API
|
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.events | |
org.w3c.dom.html | |
org.w3c.dom.ls | |
org.w3c.dom.ranges | |
org.w3c.dom.stylesheets | |
org.w3c.dom.traversal | |
org.w3c.dom.xpath |
Modifier and Type | Method and Description |
---|---|
Node |
DOMResult.getNextSibling()
Get the child node before which the result nodes will be inserted.
|
Node |
DOMSource.getNode()
Get the node that represents a Source DOM tree.
|
Node |
DOMResult.getNode()
Get the node that will contain the result DOM tree.
|
Node |
DOMLocator.getOriginatingNode()
Return the node where the event occurred.
|
Modifier and Type | Method and Description |
---|---|
void |
DOMResult.setNextSibling(Node nextSibling)
Set the child node before which the result nodes will be inserted.
|
void |
DOMSource.setNode(Node node)
Set the node that will represents a Source DOM tree.
|
void |
DOMResult.setNode(Node node)
Set the node that will contain the result DOM tree.
|
Constructor and Description |
---|
DOMResult(Node node)
Use a DOM node to create a new output target.
|
DOMResult(Node node,
Node nextSibling)
Use a DOM node to create a new output target specifying the child node where the result nodes should be inserted before.
|
DOMResult(Node node,
Node nextSibling,
java.lang.String systemId)
Use a DOM node to create a new output target specifying the child node where the result nodes should be inserted before and
the specified System ID.
|
DOMResult(Node node,
java.lang.String systemId)
Use a DOM node to create a new output target with the specified System ID.
|
DOMSource(Node n)
Create a new input source with a DOM node.
|
DOMSource(Node node,
java.lang.String systemID)
Create a new input source with a DOM node, and with the
system ID also passed in as the base URI.
|
Modifier and Type | Method and Description |
---|---|
Node |
XSLProcessorContext.getContextNode()
Get the current context node.
|
Node |
ExpressionContext.getContextNode()
Get the current context node.
|
Node |
XSLProcessorContext.getSourceTree()
Get the root of the source tree being executed.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
static Node |
Extensions.checkEnvironment(ExpressionContext myContext)
Return a Node of basic debugging information from the
EnvironmentCheck utility about the Java environment.
|
Modifier and Type | Method and Description |
---|---|
Node |
DTMDocument.getNode(int parm1) |
Modifier and Type | Method and Description |
---|---|
void |
DTMDocument.CharacterNodeHandler.characters(Node node) |
Modifier and Type | Class and Description |
---|---|
class |
ProcessorCharacters
This class processes character events for a XSLT template element.
|
class |
ProcessorExsltFuncResult
This class processes parse events for an exslt func:result element.
|
class |
ProcessorExsltFunction
This class processes parse events for an exslt func:function element.
|
class |
ProcessorImport
This class processes parse events for an xsl:import element.
|
class |
ProcessorInclude
TransformerFactory class for xsl:include markup.
|
class |
ProcessorLRE
Processes an XSLT literal-result-element, or something that looks
like one.
|
class |
ProcessorStylesheetDoc
This class processes the xsl:stylesheet element.
|
class |
ProcessorStylesheetElement
TransformerFactory for xsl:stylesheet or xsl:transform markup.
|
class |
ProcessorTemplateElem
This class processes parse events for an XSLT template element.
|
class |
ProcessorText
Process xsl:text.
|
class |
ProcessorUnknown
This class processes an unknown template element.
|
class |
WhitespaceInfoPaths |
class |
XSLTElementProcessor
This class acts as the superclass for all stylesheet element
processors, and deals with things that are common to all elements.
|
Modifier and Type | Method and Description |
---|---|
Node |
StylesheetHandler.getOriginatingNode()
Set the node that is originating the SAX event.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
StylesheetHandler.getNamespaceForPrefix(java.lang.String prefix,
Node context)
Given a namespace, get the corrisponding prefix.
|
Templates |
TransformerFactoryImpl.processFromNode(Node node) |
void |
StylesheetHandler.setOriginatingNode(Node n)
Set the node that is originating the SAX event.
|
Modifier and Type | Class and Description |
---|---|
class |
DecimalFormatProperties
Implement xsl:decimal-format.
|
class |
ElemApplyImport
Implement xsl:apply-imports.
|
class |
ElemApplyTemplates
Implement xsl:apply-templates.
|
class |
ElemAttribute
Implement xsl:attribute.
|
class |
ElemAttributeSet
Implement xsl:attribute-set.
|
class |
ElemCallTemplate
Implement xsl:call-template.
|
class |
ElemChoose
Implement xsl:choose.
|
class |
ElemComment
Implement xsl:comment.
|
class |
ElemCopy
Implement xsl:copy.
|
class |
ElemCopyOf
Implement xsl:copy-of.
|
class |
ElemElement
Implement xsl:element
|
class |
ElemEmpty
Simple empty elem to push on the stack when nothing
else got pushed, so that pop() works correctly.
|
class |
ElemExsltFuncResult
Handles the EXSLT result element within an EXSLT function element.
|
class |
ElemExsltFunction
Implement func:function.
|
class |
ElemExtensionCall
Implement an extension element.
|
class |
ElemExtensionDecl
Implement the declaration of an extension element
|
class |
ElemExtensionScript
Implement Script extension element
|
class |
ElemFallback
Implement xsl:fallback.
|
class |
ElemForEach
Implement xsl:for-each.
|
class |
ElemIf
Implement xsl:if.
|
class |
ElemLiteralResult
Implement a Literal Result Element.
|
class |
ElemLiteralResult.Attribute |
class |
ElemMessage
Implement xsl:message.
|
class |
ElemNumber
Implement xsl:number.
|
class |
ElemOtherwise
Implement xsl:otherwise.
|
class |
ElemParam
Implement xsl:param.
|
class |
ElemPI
Implement xsl:processing-instruction.
|
class |
ElemSort
Implement xsl:sort.
|
class |
ElemTemplate
Implement xsl:template.
|
class |
ElemTemplateElement
An instance of this class represents an element inside
an xsl:template class.
|
class |
ElemText
Implement xsl:template.
|
class |
ElemTextLiteral
Implement a text literal.
|
class |
ElemUnknown
Implement an unknown element
|
class |
ElemUse
Implement xsl:use.
|
class |
ElemValueOf
Implement xsl:value-of.
|
class |
ElemVariable
Implement xsl:variable.
|
class |
ElemVariablePsuedo |
class |
ElemWhen
Implement xsl:when.
|
class |
ElemWithParam
Implement xsl:with-param.
|
class |
KeyDeclaration
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.
|
Modifier and Type | Method and Description |
---|---|
Node |
ElemTemplateElement.appendChild(Node newChild)
Add a child to the child list.
|
Node |
ElemSort.appendChild(Node newChild)
Add a child to the child list.
|
Node |
ElemLiteralResult.Attribute.appendChild(Node newChild) |
Node |
ElemLiteralResult.Attribute.cloneNode(boolean deep) |
Node |
ElemTemplateElement.getDOMBackPointer()
If this stylesheet was created from a DOM, get the
DOM backpointer that this element originated from.
|
Node |
ElemTemplateElement.getFirstChild()
Get the first child as a Node.
|
Node |
ElemLiteralResult.Attribute.getFirstChild() |
Node |
ElemTemplateElement.getLastChild()
Get the last child.
|
Node |
ElemLiteralResult.Attribute.getLastChild() |
Node |
ElemLiteralResult.LiteralElementAttributes.getNamedItem(java.lang.String name)
Retrieves a node specified by name.
|
Node |
ElemLiteralResult.LiteralElementAttributes.getNamedItemNS(java.lang.String namespaceURI,
java.lang.String localName)
Retrieves a node specified by local name and namespace URI.
|
Node |
ElemTemplateElement.getNextSibling()
Get the next sibling (as a Node) or return null.
|
Node |
ElemLiteralResult.Attribute.getNextSibling() |
Node |
ElemTemplateElement.getParentNode()
Get the parent as a Node.
|
Node |
ElemLiteralResult.Attribute.getParentNode() |
Node |
ElemTemplateElement.getPreviousSibling()
Get the previous sibling (as a Node) or return null.
|
Node |
ElemLiteralResult.Attribute.getPreviousSibling() |
Node |
ElemTemplateElement.insertBefore(Node newChild,
Node refChild)
Unimplemented.
|
Node |
ElemLiteralResult.Attribute.insertBefore(Node newChild,
Node refChild) |
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 |
ElemLiteralResult.LiteralElementAttributes.item(int i)
Returns the
index th item in the map. |
Node |
ElemLiteralResult.Attribute.removeChild(Node oldChild) |
Node |
ElemLiteralResult.LiteralElementAttributes.removeNamedItem(java.lang.String name) |
Node |
ElemLiteralResult.LiteralElementAttributes.removeNamedItemNS(java.lang.String namespaceURI,
java.lang.String localName) |
Node |
ElemTemplateElement.replaceChild(Node newChild,
Node oldChild)
Replace the old child with a new child.
|
Node |
ElemLiteralResult.Attribute.replaceChild(Node newChild,
Node oldChild) |
Node |
ElemLiteralResult.LiteralElementAttributes.setNamedItem(Node arg)
Unimplemented.
|
Node |
ElemLiteralResult.LiteralElementAttributes.setNamedItemNS(Node arg)
Unimplemented.
|
Modifier and Type | Method and Description |
---|---|
Node |
ElemTemplateElement.appendChild(Node newChild)
Add a child to the child list.
|
Node |
ElemSort.appendChild(Node newChild)
Add a child to the child list.
|
Node |
ElemLiteralResult.Attribute.appendChild(Node newChild) |
short |
ElemLiteralResult.Attribute.compareDocumentPosition(Node other) |
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}".
|
java.lang.String |
ElemTemplateElement.getNamespaceForPrefix(java.lang.String prefix,
Node context)
Fullfill the PrefixResolver interface.
|
Node |
ElemTemplateElement.insertBefore(Node newChild,
Node refChild)
Unimplemented.
|
Node |
ElemLiteralResult.Attribute.insertBefore(Node newChild,
Node refChild) |
boolean |
ElemLiteralResult.Attribute.isEqualNode(Node arg) |
boolean |
ElemLiteralResult.Attribute.isSameNode(Node other) |
Node |
ElemLiteralResult.Attribute.removeChild(Node oldChild) |
Node |
ElemTemplateElement.replaceChild(Node newChild,
Node oldChild)
Replace the old child with a new child.
|
Node |
ElemLiteralResult.Attribute.replaceChild(Node newChild,
Node oldChild) |
void |
ElemTemplateElement.setDOMBackPointer(Node n)
If this stylesheet was created from a DOM, set the
DOM backpointer that this element originated from.
|
Node |
ElemLiteralResult.LiteralElementAttributes.setNamedItem(Node arg)
Unimplemented.
|
Node |
ElemLiteralResult.LiteralElementAttributes.setNamedItemNS(Node arg)
Unimplemented.
|
Modifier and Type | Field and Description |
---|---|
Node |
TracerEvent.m_sourceNode
The current context node.
|
Node |
SelectionEvent.m_sourceNode
The current context node.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
TracerEvent.printNode(Node n)
Returns a string representation of the node.
|
Constructor and Description |
---|
EndSelectionEvent(TransformerImpl processor,
Node sourceNode,
ElemTemplateElement styleNode,
java.lang.String attributeName,
XPath xpath,
XObject selection)
Create an EndSelectionEvent.
|
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.
|
TracerEvent(TransformerImpl processor,
Node sourceNode,
QName mode,
ElemTemplateElement styleNode)
Create an event originating at the given node of the style tree.
|
Modifier and Type | Method and Description |
---|---|
Node |
XalanTransformState.getCurrentNode() |
Node |
TransformState.getCurrentNode()
This method retrieves the current context node
in the source tree.
|
Node |
XalanTransformState.getMatchedNode() |
Node |
TransformState.getMatchedNode()
Retrieves the node in the source tree that matched
the template obtained via getMatchedTemplate().
|
Modifier and Type | Method and Description |
---|---|
void |
MsgMgr.error(SourceLocator srcLctr,
Node styleNode,
Node sourceNode,
java.lang.String msg)
Tell the user of an error, and probably throw an
exception.
|
void |
MsgMgr.error(SourceLocator srcLctr,
Node styleNode,
Node sourceNode,
java.lang.String msg,
java.lang.Object[] args)
Tell the user of an error, and probably throw an
exception.
|
void |
TransformerImpl.executeChildTemplates(ElemTemplateElement elem,
Node context,
QName mode,
ContentHandler handler)
Execute each of the children of a template element.
|
void |
XalanTransformState.setCurrentNode(Node n) |
void |
MsgMgr.warn(SourceLocator srcLctr,
Node styleNode,
Node sourceNode,
java.lang.String msg)
Warn the user of a problem.
|
void |
MsgMgr.warn(SourceLocator srcLctr,
Node styleNode,
Node sourceNode,
java.lang.String msg,
java.lang.Object[] args)
Warn the user of a problem.
|
Modifier and Type | Method and Description |
---|---|
void |
EnvironmentCheck.appendEnvironmentReport(Node container,
Document factory,
java.util.Hashtable h)
Stylesheet extension entrypoint: Dump a basic Xalan
environment report from getEnvironmentHash() to a Node.
|
Modifier and Type | Method and Description |
---|---|
Node |
DOM.makeNode(DTMAxisIterator iter) |
Node |
DOM.makeNode(int index) |
Modifier and Type | Method and Description |
---|---|
Node |
SimpleResultTreeImpl.getNode(int nodeHandle) |
Node |
AdaptiveResultTreeImpl.getNode(int nodeHandle) |
Node |
SimpleResultTreeImpl.makeNode(DTMAxisIterator iter) |
Node |
SAXImpl.makeNode(DTMAxisIterator iter)
Create an org.w3c.dom.Node from a node in an iterator
The iterator most be started before this method is called
|
Node |
MultiDOM.makeNode(DTMAxisIterator iter) |
Node |
DOMAdapter.makeNode(DTMAxisIterator iter) |
Node |
AdaptiveResultTreeImpl.makeNode(DTMAxisIterator iter) |
Node |
SimpleResultTreeImpl.makeNode(int index) |
Node |
SAXImpl.makeNode(int index)
Create an org.w3c.dom.Node from a node in the tree
|
Node |
MultiDOM.makeNode(int index) |
Node |
DOMAdapter.makeNode(int index) |
Node |
AdaptiveResultTreeImpl.makeNode(int index) |
Modifier and Type | Method and Description |
---|---|
void |
SAXImpl.startElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qname,
Attributes attributes,
Node node)
Specialized interface used by DOM2SAX.
|
Modifier and Type | Method and Description |
---|---|
static Node |
BasisLibrary.referenceToNode(java.lang.Object obj,
DOM dom)
Utility function: used to convert reference to org.w3c.dom.Node.
|
Modifier and Type | Method and Description |
---|---|
static DTMAxisIterator |
BasisLibrary.node2Iterator(Node node,
Translet translet,
DOM dom)
Utility function used to convert a w3c Node into an internal DOM iterator.
|
Modifier and Type | Method and Description |
---|---|
Node |
TransletOutputHandlerFactory.getNode() |
Modifier and Type | Method and Description |
---|---|
void |
TransletOutputHandlerFactory.setNextSibling(Node nextSibling) |
void |
TransletOutputHandlerFactory.setNode(Node node) |
Modifier and Type | Method and Description |
---|---|
Node |
SAX2DOM.getDOM() |
Constructor and Description |
---|
DOM2SAX(Node root) |
DOM2TO(Node root,
SerializationHandler handler) |
SAX2DOM(Node root) |
SAX2DOM(Node root,
Node nextSibling) |
Modifier and Type | Method and Description |
---|---|
Node |
DTM.getNode(int nodeHandle)
Return an DOM node for the given node.
|
Modifier and Type | Method and Description |
---|---|
abstract int |
DTMManager.getDTMHandleFromNode(Node node)
Given a W3C DOM node, try and return a DTM handle.
|
Modifier and Type | Class and Description |
---|---|
class |
DTMNodeProxy
DTMNodeProxy presents a DOM Node API front-end to the DTM model. |
Modifier and Type | Method and Description |
---|---|
Node |
DTMNodeProxy.adoptNode(Node source)
NEEDSDOC Method adoptNode
NEEDSDOC @param source
|
Node |
DTMNodeProxy.appendChild(Node newChild) |
Node |
DTMNodeProxy.cloneNode(boolean deep) |
Node |
DTMNodeProxy.getFirstChild() |
Node |
DTMNodeProxy.getLastChild() |
Node |
DTMNamedNodeMap.getNamedItem(java.lang.String name)
Retrieves a node specified by name.
|
Node |
DTMNamedNodeMap.getNamedItemNS(java.lang.String namespaceURI,
java.lang.String localName)
Retrieves a node specified by local name and namespace URI.
|
Node |
DTMNodeProxy.getNextSibling() |
Node |
DTMDocumentImpl.getNode(int nodeHandle)
Return an DOM node for the given node.
|
Node |
DTMDefaultBase.getNode(int nodeHandle)
Return an DOM node for the given node.
|
Node |
DTMNodeProxy.getOwnerNode() |
Node |
DTMNodeProxy.getParentNode() |
Node |
DTMNodeProxy.getPreviousSibling() |
Node |
DTMNodeIterator.getRoot() |
Node |
DTMNodeProxy.importNode(Node importedNode,
boolean deep) |
Node |
DTMNodeProxy.insertBefore(Node newChild,
Node refChild) |
Node |
DTMNodeListBase.item(int index)
Returns the
index th item in the collection. |
Node |
DTMNodeList.item(int index)
Returns the
index th item in the collection. |
Node |
DTMNamedNodeMap.item(int i)
Returns the
index th item in the map. |
Node |
DTMChildIterNodeList.item(int index)
Returns the
index th item in the collection. |
Node |
DTMAxisIterNodeList.item(int index)
Returns the
index th item in the collection. |
Node |
DTMNodeIterator.nextNode() |
Node |
DTMNodeIterator.previousNode() |
Node |
DTMNodeProxy.removeChild(Node oldChild) |
Node |
DTMNamedNodeMap.removeNamedItem(java.lang.String name)
Removes a node specified by name.
|
Node |
DTMNamedNodeMap.removeNamedItemNS(java.lang.String namespaceURI,
java.lang.String localName)
Removes a node specified by local name and namespace URI.
|
Node |
DTMNodeProxy.renameNode(Node n,
java.lang.String namespaceURI,
java.lang.String name)
DOM Level 3
Renaming node
|
Node |
DTMNodeProxy.replaceChild(Node newChild,
Node oldChild) |
Node |
DTMNamedNodeMap.setNamedItem(Node newNode)
Adds a node using its
nodeName attribute. |
Node |
DTMNamedNodeMap.setNamedItemNS(Node arg)
Adds a node using its
namespaceURI and
localName . |
Modifier and Type | Method and Description |
---|---|
Node |
DTMNodeProxy.adoptNode(Node source)
NEEDSDOC Method adoptNode
NEEDSDOC @param source
|
Node |
DTMNodeProxy.appendChild(Node newChild) |
short |
DTMNodeProxy.compareDocumentPosition(Node other)
Compares a node with this node with regard to their position in the
document.
|
boolean |
DTMNodeProxy.equals(Node node)
Test for equality based on node number.
|
int |
DTMManagerDefault.getDTMHandleFromNode(Node node)
Given a W3C DOM node, try and return a DTM handle.
|
Node |
DTMNodeProxy.importNode(Node importedNode,
boolean deep) |
Node |
DTMNodeProxy.insertBefore(Node newChild,
Node refChild) |
boolean |
DTMNodeProxy.isEqualNode(Node arg)
Tests whether two nodes are equal.
|
boolean |
DTMNodeProxy.isSameNode(Node other)
Returns whether this node is the same node as the given one.
|
Node |
DTMNodeProxy.removeChild(Node oldChild) |
Node |
DTMNodeProxy.renameNode(Node n,
java.lang.String namespaceURI,
java.lang.String name)
DOM Level 3
Renaming node
|
Node |
DTMNodeProxy.replaceChild(Node newChild,
Node oldChild) |
boolean |
DTMNodeProxy.sameNodeAs(Node other)
FUTURE DOM: Test node identity, in lieu of Node==Node
|
Node |
DTMNamedNodeMap.setNamedItem(Node newNode)
Adds a node using its
nodeName attribute. |
Node |
DTMNamedNodeMap.setNamedItemNS(Node arg)
Adds a node using its
namespaceURI and
localName . |
Modifier and Type | Class and Description |
---|---|
class |
DOM2DTMdefaultNamespaceDeclarationNode
This is a kluge to let us shove a declaration for xml: into the
DOM2DTM model.
|
Modifier and Type | Method and Description |
---|---|
Node |
DOM2DTMdefaultNamespaceDeclarationNode.appendChild(Node a) |
Node |
DOM2DTMdefaultNamespaceDeclarationNode.cloneNode(boolean deep) |
Node |
DOM2DTMdefaultNamespaceDeclarationNode.getFirstChild() |
Node |
DOM2DTMdefaultNamespaceDeclarationNode.getLastChild() |
Node |
DOM2DTMdefaultNamespaceDeclarationNode.getNextSibling() |
Node |
DOM2DTM.getNode(int nodeHandle)
Return an DOM node for the given node.
|
Node |
DOM2DTMdefaultNamespaceDeclarationNode.getParentNode() |
Node |
DOM2DTMdefaultNamespaceDeclarationNode.getPreviousSibling() |
Node |
DOM2DTMdefaultNamespaceDeclarationNode.insertBefore(Node a,
Node b) |
Node |
DOM2DTMdefaultNamespaceDeclarationNode.removeChild(Node a) |
Node |
DOM2DTMdefaultNamespaceDeclarationNode.replaceChild(Node a,
Node b) |
Modifier and Type | Method and Description |
---|---|
Node |
DOM2DTMdefaultNamespaceDeclarationNode.appendChild(Node a) |
void |
DOM2DTM.CharacterNodeHandler.characters(Node node) |
short |
DOM2DTMdefaultNamespaceDeclarationNode.compareDocumentPosition(Node other)
Compares a node with this node with regard to their position in the
document.
|
int |
DOM2DTM.getHandleOfNode(Node node)
Get the handle from a Node.
|
Node |
DOM2DTMdefaultNamespaceDeclarationNode.insertBefore(Node a,
Node b) |
boolean |
DOM2DTMdefaultNamespaceDeclarationNode.isEqualNode(Node arg)
Tests whether two nodes are equal.
|
boolean |
DOM2DTMdefaultNamespaceDeclarationNode.isSameNode(Node other)
Returns whether this node is the same node as the given one.
|
Node |
DOM2DTMdefaultNamespaceDeclarationNode.removeChild(Node a) |
Node |
DOM2DTMdefaultNamespaceDeclarationNode.replaceChild(Node a,
Node b) |
Modifier and Type | Method and Description |
---|---|
void |
ToSAXHandler.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.
|
void |
SerializerBase.characters(Node node)
This method gets the nodes value as a String and uses that String as if
it were an input character notification.
|
void |
ExtendedContentHandler.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.
|
void |
EmptySerializer.characters(Node node) |
void |
ToXMLSAXHandler.serialize(Node node) |
void |
ToUnknownStream.serialize(Node node)
Converts the DOM node to output
|
void |
ToTextSAXHandler.serialize(Node node)
Deprecated.
|
void |
ToStream.serialize(Node node)
Serializes the DOM node.
|
void |
ToHTMLSAXHandler.serialize(Node node)
Deprecated.
Does nothing.
|
void |
SerializationHandler.serialize(Node node)
Notify that the serializer should take this DOM node as input to be
serialized.
|
void |
EmptySerializer.serialize(Node node) |
void |
DOMSerializer.serialize(Node node)
Serializes the DOM node.
|
void |
DOM3Serializer.serializeDOM3(Node node)
Serializes the Level 3 DOM node.
|
void |
TransformStateSetter.setCurrentNode(Node n)
Set the current node.
|
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.
|
Modifier and Type | Method and Description |
---|---|
void |
DOM3SerializerImpl.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.
|
boolean |
LSSerializerImpl.write(Node nodeArg,
LSOutput destination)
Serializes the specified node to the specified LSOutput and returns true if the Node
was successfully serialized.
|
java.lang.String |
LSSerializerImpl.writeToString(Node nodeArg)
Serializes the specified node and returns a String with the serialized
data to the caller.
|
boolean |
LSSerializerImpl.writeToURI(Node nodeArg,
java.lang.String uri)
Serializes the specified node to the specified URI and returns true if the Node
was successfully serialized.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Class and Description |
---|---|
class |
UnImplNode
To be subclassed by classes that wish to fake being nodes.
|
Modifier and Type | Method and Description |
---|---|
Node |
UnImplNode.adoptNode(Node source)
NEEDSDOC Method adoptNode
NEEDSDOC @param source
NEEDSDOC (adoptNode) @return
|
Node |
UnImplNode.appendChild(Node newChild)
Unimplemented.
|
Node |
UnImplNode.cloneNode(boolean deep)
Unimplemented.
|
Node |
DOMBuilder.getCurrentNode()
Get the node currently being processed.
|
Node |
UnImplNode.getFirstChild()
Unimplemented.
|
Node |
UnImplNode.getLastChild()
Unimplemented.
|
Node |
UnImplNode.getNextSibling()
Unimplemented.
|
Node |
DOMBuilder.getNextSibling()
Return the next sibling node.
|
Node |
UnImplNode.getParentNode()
Unimplemented.
|
static Node |
DOMHelper.getParentOfNode(Node node)
Deprecated.
Obtain the XPath-model parent of a DOM node -- ownerElement for Attrs,
parent for other nodes.
|
static Node |
DOM2Helper.getParentOfNode(Node node)
Deprecated.
Get the XPath-model parent of a node.
|
Node |
UnImplNode.getPreviousSibling()
Unimplemented.
|
Node |
DOMHelper.getRoot(Node node)
Deprecated.
|
Node |
DOMBuilder.getRootDocument()
Get the root document or DocumentFragment of the DOM being created.
|
Node |
DOMBuilder.getRootNode()
Get the root node of the DOM tree.
|
Node |
DOMHelper.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.
|
Node |
UnImplNode.importNode(Node importedNode,
boolean deep)
Unimplemented.
|
Node |
UnImplNode.insertBefore(Node newChild,
Node refChild)
Unimplemented.
|
Node |
UnImplNode.item(int index)
Unimplemented.
|
Node |
UnImplNode.removeChild(Node oldChild)
Unimplemented.
|
Node |
UnImplNode.renameNode(Node n,
java.lang.String namespaceURI,
java.lang.String name)
DOM Level 3
Renaming node
|
Node |
UnImplNode.replaceChild(Node newChild,
Node oldChild)
Unimplemented.
|
Modifier and Type | Method and Description |
---|---|
Node |
UnImplNode.adoptNode(Node source)
NEEDSDOC Method adoptNode
NEEDSDOC @param source
NEEDSDOC (adoptNode) @return
|
Node |
UnImplNode.appendChild(Node newChild)
Unimplemented.
|
static void |
Hashtree2Node.appendHashToNode(java.util.Hashtable hash,
java.lang.String name,
Node container,
Document factory)
Convert a Hashtable into a Node tree.
|
void |
DOM2Helper.checkNode(Node node)
Deprecated.
Check node to see if it was created by a DOM implementation
that this helper is intended to support.
|
short |
UnImplNode.compareDocumentPosition(Node other)
Compares a node with this node with regard to their position in the
document.
|
short |
DOMHelper.getLevel(Node n)
Deprecated.
Get the depth level of this node in the tree (equals 1 for
a parentless node).
|
java.lang.String |
DOMHelper.getLocalNameOfNode(Node n)
Deprecated.
Returns the local name of the given node.
|
java.lang.String |
DOM2Helper.getLocalNameOfNode(Node n)
Deprecated.
Returns the local name of the given node, as defined by the
XML Namespaces specification.
|
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 corresponding prefix, based on the context node.
|
java.lang.String |
DOMHelper.getNamespaceOfNode(Node n)
Deprecated.
Returns the namespace of the given node.
|
java.lang.String |
DOM2Helper.getNamespaceOfNode(Node n)
Deprecated.
Returns the Namespace Name (Namespace URI) for the given node.
|
static java.lang.String |
DOMHelper.getNodeData(Node node)
Deprecated.
Get the textual contents of the node.
|
static void |
DOMHelper.getNodeData(Node node,
FastStringBuffer buf)
Deprecated.
Retrieve the text content of a DOM subtree, appending it into a
user-supplied FastStringBuffer object.
|
static Node |
DOMHelper.getParentOfNode(Node node)
Deprecated.
Obtain the XPath-model parent of a DOM node -- ownerElement for Attrs,
parent for other nodes.
|
static Node |
DOM2Helper.getParentOfNode(Node node)
Deprecated.
Get the XPath-model parent of a node.
|
Node |
DOMHelper.getRoot(Node node)
Deprecated.
|
Node |
DOMHelper.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.
|
java.lang.String |
DOMHelper.getUniqueID(Node node)
Deprecated.
Supports the XPath function GenerateID by returning a unique
identifier string for any given DOM Node.
|
Node |
UnImplNode.importNode(Node importedNode,
boolean deep)
Unimplemented.
|
Node |
UnImplNode.insertBefore(Node newChild,
Node refChild)
Unimplemented.
|
boolean |
UnImplNode.isEqualNode(Node arg)
Tests whether two nodes are equal.
|
boolean |
DOMHelper.isNamespaceNode(Node n)
Deprecated.
Test whether the given node is a namespace decl node.
|
static boolean |
DOMHelper.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 boolean |
DOM2Helper.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 boolean |
DOMHelper.isNodeTheSame(Node node1,
Node node2)
Deprecated.
Use DTMNodeProxy to determine whether two nodes are the same.
|
boolean |
UnImplNode.isSameNode(Node other)
Returns whether this node is the same node as the given one.
|
Node |
UnImplNode.removeChild(Node oldChild)
Unimplemented.
|
Node |
UnImplNode.renameNode(Node n,
java.lang.String namespaceURI,
java.lang.String name)
DOM Level 3
Renaming node
|
Node |
UnImplNode.replaceChild(Node newChild,
Node oldChild)
Unimplemented.
|
void |
DOMBuilder.setNextSibling(Node nextSibling)
Set the next sibling node, which is where the result nodes
should be inserted before.
|
void |
NodeConsumer.setOriginatingNode(Node n)
Set the node that is originating the SAX event.
|
boolean |
DOMHelper.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.
|
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.
|
void |
TreeWalker.traverseFragment(Node pos)
Perform a pre-order traversal non-recursive style.
|
Constructor and Description |
---|
DOMBuilder(Document doc,
Node node)
DOMBuilder instance constructor... it will add the DOM nodes
to the document fragment.
|
PrefixResolverDefault(Node xpathExpressionContext)
Construct a PrefixResolverDefault object.
|
Modifier and Type | Method and Description |
---|---|
Node |
NodeSet.elementAt(int i)
Get the nth element.
|
Node |
XPathContext.XPathExpressionContext.getContextNode()
Get the current context node.
|
Node |
NodeSet.getCurrentNode()
Return the last fetched node.
|
Node |
NodeSet.getRoot() |
Node |
XPathException.getStylesheetNode(ExpressionNode ex)
Get the XSLT ElemVariable that this sub-expression references.
|
Node |
NodeSet.item(int index)
Returns the
index th item in the collection. |
Node |
NodeSet.nextNode()
Returns the next node in the set and advances the position of the
iterator in the set.
|
Node |
NodeSet.peepOrNull()
Return the node at the top of the stack without popping the stack.
|
Node |
NodeSet.peepTail()
Return the node at the tail of the vector without popping
Special purpose method for TransformerImpl, pushElemTemplateElement.
|
Node |
NodeSet.peepTailSub1()
Return the node one position from the tail without popping.
|
Node |
NodeSet.pop()
Pop a node from the tail of the vector and return the result.
|
Node |
NodeSet.popAndTop()
Pop a node from the tail of the vector and return the
top of the stack after the pop.
|
Node |
NodeSet.previousNode()
Returns the previous node in the set and moves the position of the
iterator backwards in the set.
|
static Node |
XPathAPI.selectSingleNode(Node contextNode,
java.lang.String str)
Use an XPath string to select a single node.
|
Node |
CachedXPathAPI.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 |
CachedXPathAPI.selectSingleNode(Node contextNode,
java.lang.String str,
Node namespaceNode)
Use an XPath string to select a single node.
|
Modifier and Type | Method and Description |
---|---|
void |
NodeSet.addElement(Node value)
Append a Node onto the vector.
|
void |
NodeSet.addNode(Node n)
Add a node to the NodeSet.
|
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.
|
boolean |
NodeSet.contains(Node s)
Tell if the table contains the given node.
|
static XObject |
XPathAPI.eval(Node contextNode,
java.lang.String str)
Evaluate XPath string to an XObject.
|
XObject |
CachedXPathAPI.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.
|
XObject |
CachedXPathAPI.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.
|
XObject |
CachedXPathAPI.eval(Node contextNode,
java.lang.String str,
PrefixResolver prefixResolver)
Evaluate XPath string to an XObject.
|
XObject |
XPath.execute(XPathContext xctxt,
Node contextNode,
PrefixResolver namespaceContext)
Given an expression and a context, evaluate the XPath
and return the result.
|
int |
XPathContext.getDTMHandleFromNode(Node node)
Given a W3C DOM node, try and return a DTM handle.
|
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.
|
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.
|
void |
NodeSet.insertElementAt(Node value,
int at)
Inserts the specified node in this vector at the specified index.
|
void |
NodeSet.insertNode(Node n,
int pos)
Insert a node at a given position.
|
void |
NodeSet.push(Node value)
Append a Node onto the vector.
|
void |
NodeSet.pushPair(Node v1,
Node v2)
Push a pair of nodes into the stack.
|
boolean |
NodeSet.removeElement(Node s)
Removes the first occurrence of the argument from this vector.
|
void |
NodeSet.removeNode(Node n)
Remove a node.
|
static NodeIterator |
XPathAPI.selectNodeIterator(Node contextNode,
java.lang.String str)
Use an XPath string to select a nodelist.
|
NodeIterator |
CachedXPathAPI.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.
|
NodeIterator |
CachedXPathAPI.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.
|
NodeList |
CachedXPathAPI.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.
|
NodeList |
CachedXPathAPI.selectNodeList(Node contextNode,
java.lang.String str,
Node namespaceNode)
Use an XPath string to select a nodelist.
|
static Node |
XPathAPI.selectSingleNode(Node contextNode,
java.lang.String str)
Use an XPath string to select a single node.
|
Node |
CachedXPathAPI.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 |
CachedXPathAPI.selectSingleNode(Node contextNode,
java.lang.String str,
Node namespaceNode)
Use an XPath string to select a single node.
|
void |
NodeSet.setElementAt(Node node,
int index)
Sets the component at the specified index of this vector to be the
specified object.
|
void |
NodeSet.setTail(Node n)
Set the tail of the stack to the given node.
|
void |
NodeSet.setTailSub1(Node n)
Set the given node one position from the tail.
|
double |
XPathContext.XPathExpressionContext.toNumber(Node n)
Get the value of a node as a number.
|
java.lang.String |
XPathContext.XPathExpressionContext.toString(Node n)
Get the value of a node as a string.
|
Constructor and Description |
---|
NodeSet(Node node)
Create a NodeSet which contains the given Node.
|
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.
|
Modifier and Type | Method and Description |
---|---|
Node |
ContextNodeList.getCurrentNode()
Get the current node.
|
Modifier and Type | Method and Description |
---|---|
XPathNSResolver |
XPathEvaluatorImpl.createNSResolver(Node nodeResolver)
Adapts any DOM node to resolve namespaces so that an XPath expression
can be easily evaluated relative to the context of the node where it
appeared within the document.
|
java.lang.Object |
XPathEvaluatorImpl.evaluate(java.lang.String expression,
Node contextNode,
XPathNSResolver resolver,
short type,
java.lang.Object result)
Evaluates an XPath expression string and returns a result of the
specified type if possible.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
JAXPPrefixResolver.getNamespaceForPrefix(java.lang.String prefix,
Node namespaceContext)
Given a prefix and a Context Node, get the corresponding namespace.
|
Constructor and Description |
---|
XNodeSetForDOM(Node node,
DTMManager dtmMgr) |
Modifier and Type | Interface and Description |
---|---|
interface |
Attr
The
Attr interface represents an attribute in an
Element object. |
interface |
CDATASection
CDATA sections are used to escape blocks of text containing characters that
would otherwise be regarded as markup.
|
interface |
CharacterData
The
CharacterData interface extends Node with a set of
attributes and methods for accessing character data in the DOM. |
interface |
Comment
This interface inherits from
CharacterData and represents the
content of a comment, i.e., all the characters between the starting '
<! |
interface |
Document
The
Document interface represents the entire HTML or XML
document. |
interface |
DocumentFragment
DocumentFragment is a "lightweight" or "minimal"
Document object. |
interface |
DocumentType
Each
Document has a doctype attribute whose value
is either null or a DocumentType object. |
interface |
Element
The
Element interface represents an element in an HTML or XML
document. |
interface |
Entity
This interface represents a known entity, either parsed or unparsed, in an
XML document.
|
interface |
EntityReference
EntityReference nodes may be used to represent an entity
reference in the tree. |
interface |
Notation
This interface represents a notation declared in the DTD.
|
interface |
ProcessingInstruction
The
ProcessingInstruction interface represents a "processing
instruction", used in XML as a way to keep processor-specific information
in the text of the document. |
interface |
Text
The
Text interface inherits from CharacterData
and represents the textual content (termed character data in XML) of an Element or Attr . |
Modifier and Type | Method and Description |
---|---|
Node |
Document.adoptNode(Node source)
Attempts to adopt a node from another document to this document.
|
Node |
Node.appendChild(Node newChild)
Adds the node
newChild to the end of the list of children
of this node. |
Node |
Node.cloneNode(boolean deep)
Returns a duplicate of this node, i.e., serves as a generic copy
constructor for nodes.
|
Node |
Node.getFirstChild()
The first child of this node.
|
Node |
Node.getLastChild()
The last child of this node.
|
Node |
NamedNodeMap.getNamedItem(java.lang.String name)
Retrieves a node specified by name.
|
Node |
NamedNodeMap.getNamedItemNS(java.lang.String namespaceURI,
java.lang.String localName)
Retrieves a node specified by local name and namespace URI.
|
Node |
Node.getNextSibling()
The node immediately following this node.
|
Node |
Node.getParentNode()
The parent of this node.
|
Node |
Node.getPreviousSibling()
The node immediately preceding this node.
|
Node |
DOMLocator.getRelatedNode()
The node this locator is pointing to, or
null if no node
is available. |
Node |
Document.importNode(Node importedNode,
boolean deep)
Imports a node from another document to this document, without altering
or removing the source node from the original document; this method
creates a new copy of the source node.
|
Node |
Node.insertBefore(Node newChild,
Node refChild)
Inserts the node
newChild before the existing child node
refChild . |
Node |
NodeList.item(int index)
Returns the
index th item in the collection. |
Node |
NamedNodeMap.item(int index)
Returns the
index th item in the map. |
Node |
Node.removeChild(Node oldChild)
Removes the child node indicated by
oldChild from the list
of children, and returns it. |
Node |
NamedNodeMap.removeNamedItem(java.lang.String name)
Removes a node specified by name.
|
Node |
NamedNodeMap.removeNamedItemNS(java.lang.String namespaceURI,
java.lang.String localName)
Removes a node specified by local name and namespace URI.
|
Node |
Document.renameNode(Node n,
java.lang.String namespaceURI,
java.lang.String qualifiedName)
Rename an existing node of type
ELEMENT_NODE or
ATTRIBUTE_NODE . |
Node |
Node.replaceChild(Node newChild,
Node oldChild)
Replaces the child node
oldChild with newChild
in the list of children, and returns the oldChild node. |
Node |
NamedNodeMap.setNamedItem(Node arg)
Adds a node using its
nodeName attribute. |
Node |
NamedNodeMap.setNamedItemNS(Node arg)
Adds a node using its
namespaceURI and
localName . |
Modifier and Type | Method and Description |
---|---|
Node |
Document.adoptNode(Node source)
Attempts to adopt a node from another document to this document.
|
Node |
Node.appendChild(Node newChild)
Adds the node
newChild to the end of the list of children
of this node. |
short |
Node.compareDocumentPosition(Node other)
Compares the reference node, i.e. the node on which this method is
being called, with a node, i.e. the one passed as a parameter, with
regard to their position in the document and according to the
document order.
|
void |
UserDataHandler.handle(short operation,
java.lang.String key,
java.lang.Object data,
Node src,
Node dst)
This method is called whenever the node for which this handler is
registered is imported or cloned.
|
Node |
Document.importNode(Node importedNode,
boolean deep)
Imports a node from another document to this document, without altering
or removing the source node from the original document; this method
creates a new copy of the source node.
|
Node |
Node.insertBefore(Node newChild,
Node refChild)
Inserts the node
newChild before the existing child node
refChild . |
boolean |
Node.isEqualNode(Node arg)
Tests whether two nodes are equal.
|
boolean |
Node.isSameNode(Node other)
Returns whether this node is the same node as the given one.
|
Node |
Node.removeChild(Node oldChild)
Removes the child node indicated by
oldChild from the list
of children, and returns it. |
Node |
Document.renameNode(Node n,
java.lang.String namespaceURI,
java.lang.String qualifiedName)
Rename an existing node of type
ELEMENT_NODE or
ATTRIBUTE_NODE . |
Node |
Node.replaceChild(Node newChild,
Node oldChild)
Replaces the child node
oldChild with newChild
in the list of children, and returns the oldChild node. |
Node |
NamedNodeMap.setNamedItem(Node arg)
Adds a node using its
nodeName attribute. |
Node |
NamedNodeMap.setNamedItemNS(Node arg)
Adds a node using its
namespaceURI and
localName . |
Modifier and Type | Method and Description |
---|---|
Node |
MutationEvent.getRelatedNode()
relatedNode is used to identify a secondary node related
to a mutation event. |
Modifier and Type | Method and Description |
---|---|
void |
MutationEvent.initMutationEvent(java.lang.String typeArg,
boolean canBubbleArg,
boolean cancelableArg,
Node relatedNodeArg,
java.lang.String prevValueArg,
java.lang.String newValueArg,
java.lang.String attrNameArg,
short attrChangeArg)
The
initMutationEvent method is used to initialize the
value of a MutationEvent created through the
DocumentEvent interface. |
Modifier and Type | Interface and Description |
---|---|
interface |
HTMLAnchorElement
The anchor element.
|
interface |
HTMLAppletElement
An embedded Java applet.
|
interface |
HTMLAreaElement
Client-side image map area definition.
|
interface |
HTMLBaseElement
Document base URI.
|
interface |
HTMLBaseFontElement
Base font.
|
interface |
HTMLBodyElement
The HTML document body.
|
interface |
HTMLBRElement
Force a line break.
|
interface |
HTMLButtonElement
Push button.
|
interface |
HTMLDirectoryElement
Directory list.
|
interface |
HTMLDivElement
Generic block container.
|
interface |
HTMLDListElement
Definition list.
|
interface |
HTMLDocument
An
HTMLDocument is the root of the HTML hierarchy andholds the
entire content. |
interface |
HTMLElement
All HTML element interfaces derive from this class.
|
interface |
HTMLFieldSetElement
Organizes form controls into logical groups.
|
interface |
HTMLFontElement
Local change to font.
|
interface |
HTMLFormElement
The
FORM element encompasses behavior similar to acollection
and an element. |
interface |
HTMLFrameElement
Create a frame.
|
interface |
HTMLFrameSetElement
Create a grid of frames.
|
interface |
HTMLHeadElement
Document head information.
|
interface |
HTMLHeadingElement
For the
H1 to H6 elements. |
interface |
HTMLHRElement
Create a horizontal rule.
|
interface |
HTMLHtmlElement
Root of an HTML document.
|
interface |
HTMLIFrameElement
Inline subwindows.
|
interface |
HTMLImageElement
Embedded image.
|
interface |
HTMLInputElement
Form control.
|
interface |
HTMLIsIndexElement
This element is usedfor single-line text input.
|
interface |
HTMLLabelElement
Form field label text.
|
interface |
HTMLLegendElement
Provides a caption for a
FIELDSET grouping. |
interface |
HTMLLIElement
List item.
|
interface |
HTMLLinkElement
The
LINK element specifies a link to an externalresource, and
defines this document's relationship to that resource(or vice versa). |
interface |
HTMLMapElement
Client-side image map.
|
interface |
HTMLMenuElement
Menu list.
|
interface |
HTMLMetaElement
This contains generic meta-information about the document.
|
interface |
HTMLModElement
Notice of modification to part of a document.
|
interface |
HTMLObjectElement
Generic embedded object.
|
interface |
HTMLOListElement
Ordered list.
|
interface |
HTMLOptGroupElement
Group options together in logical subdivisions.
|
interface |
HTMLOptionElement
A selectable choice.
|
interface |
HTMLParagraphElement
Paragraphs.
|
interface |
HTMLParamElement
Parameters fed to the
OBJECT element. |
interface |
HTMLPreElement
Preformatted text.
|
interface |
HTMLQuoteElement
For the
Q and BLOCKQUOTE elements. |
interface |
HTMLScriptElement
Script statements.
|
interface |
HTMLSelectElement
The select element allows the selection of an option.
|
interface |
HTMLStyleElement
Style information.
|
interface |
HTMLTableCaptionElement
Table caption See the CAPTION element definition in HTML 4.0.
|
interface |
HTMLTableCellElement
The object used to represent the
TH and TD
elements. |
interface |
HTMLTableColElement
Regroups the
COL and COLGROUP elements. |
interface |
HTMLTableElement
The create* and delete* methods on the table allow authors to constructand
modify tables.
|
interface |
HTMLTableRowElement
A row in a table.
|
interface |
HTMLTableSectionElement
The
THEAD , TFOOT , and TBODY elements. |
interface |
HTMLTextAreaElement
Multi-line text field.
|
interface |
HTMLTitleElement
The document title.
|
interface |
HTMLUListElement
Unordered list.
|
Modifier and Type | Method and Description |
---|---|
Node |
HTMLCollection.item(int index)
This method retrieves a node specified by ordinal index.
|
Node |
HTMLCollection.namedItem(java.lang.String name)
This method retrieves a
Node using a name. |
Modifier and Type | Method and Description |
---|---|
Node |
LSParser.parseWithContext(LSInput input,
Node contextArg,
short action)
Parse an XML fragment from a resource identified by a
LSInput and insert the content into an existing document
at the position specified with the context and
action arguments. |
Modifier and Type | Method and Description |
---|---|
short |
LSParserFilter.acceptNode(Node nodeArg)
This method will be called by the parser at the completion of the
parsing of each node.
|
Node |
LSParser.parseWithContext(LSInput input,
Node contextArg,
short action)
Parse an XML fragment from a resource identified by a
LSInput and insert the content into an existing document
at the position specified with the context and
action arguments. |
boolean |
LSSerializer.write(Node nodeArg,
LSOutput destination)
Serialize the specified node as described above in the general
description of the
LSSerializer interface. |
java.lang.String |
LSSerializer.writeToString(Node nodeArg)
Serialize the specified node as described above in the general
description of the
LSSerializer interface. |
boolean |
LSSerializer.writeToURI(Node nodeArg,
java.lang.String uri)
A convenience method that acts as if
LSSerializer.write
was called with a LSOutput with no encoding specified
and LSOutput.systemId set to the uri
argument. |
Modifier and Type | Method and Description |
---|---|
Node |
Range.getCommonAncestorContainer()
The deepest common ancestor container of the Range's two
boundary-points.
|
Node |
Range.getEndContainer()
Node within which the Range ends
|
Node |
Range.getStartContainer()
Node within which the Range begins
|
Modifier and Type | Method and Description |
---|---|
void |
Range.insertNode(Node newNode)
Inserts a node into the Document or DocumentFragment at the start of
the Range.
|
void |
Range.selectNode(Node refNode)
Select a node and its contents
|
void |
Range.selectNodeContents(Node refNode)
Select the contents within a node
|
void |
Range.setEnd(Node refNode,
int offset)
Sets the attributes describing the end of a Range.
|
void |
Range.setEndAfter(Node refNode)
Sets the end of a Range to be after a node
|
void |
Range.setEndBefore(Node refNode)
Sets the end position to be before a node.
|
void |
Range.setStart(Node refNode,
int offset)
Sets the attributes describing the start of the Range.
|
void |
Range.setStartAfter(Node refNode)
Sets the start position to be after a node
|
void |
Range.setStartBefore(Node refNode)
Sets the start position to be before a node
|
void |
Range.surroundContents(Node newParent)
Reparents the contents of the Range to the given node and inserts the
node at the position of the start of the Range.
|
Modifier and Type | Method and Description |
---|---|
Node |
StyleSheet.getOwnerNode()
The node that associates this style sheet with the document.
|
Modifier and Type | Method and Description |
---|---|
Node |
TreeWalker.firstChild()
Moves the
TreeWalker to the first visible child of the
current node, and returns the new node. |
Node |
TreeWalker.getCurrentNode()
The node at which the
TreeWalker is currently positioned. |
Node |
TreeWalker.getRoot()
The
root node of the TreeWalker , as specified
when it was created. |
Node |
NodeIterator.getRoot()
The root node of the
NodeIterator , as specified when it
was created. |
Node |
TreeWalker.lastChild()
Moves the
TreeWalker to the last visible child of the
current node, and returns the new node. |
Node |
TreeWalker.nextNode()
Moves the
TreeWalker to the next visible node in document
order relative to the current node, and returns the new node. |
Node |
NodeIterator.nextNode()
Returns the next node in the set and advances the position of the
NodeIterator in the set. |
Node |
TreeWalker.nextSibling()
Moves the
TreeWalker to the next sibling of the current
node, and returns the new node. |
Node |
TreeWalker.parentNode()
Moves to and returns the closest visible ancestor node of the current
node.
|
Node |
TreeWalker.previousNode()
Moves the
TreeWalker to the previous visible node in
document order relative to the current node, and returns the new
node. |
Node |
NodeIterator.previousNode()
Returns the previous node in the set and moves the position of the
NodeIterator backwards in the set. |
Node |
TreeWalker.previousSibling()
Moves the
TreeWalker to the previous sibling of the
current node, and returns the new node. |
Modifier and Type | Method and Description |
---|---|
short |
NodeFilter.acceptNode(Node n)
Test whether a specified node is visible in the logical view of a
TreeWalker or NodeIterator . |
NodeIterator |
DocumentTraversal.createNodeIterator(Node root,
int whatToShow,
NodeFilter filter,
boolean entityReferenceExpansion)
Create a new
NodeIterator over the subtree rooted at the
specified node. |
TreeWalker |
DocumentTraversal.createTreeWalker(Node root,
int whatToShow,
NodeFilter filter,
boolean entityReferenceExpansion)
Create a new
TreeWalker over the subtree rooted at the
specified node. |
void |
TreeWalker.setCurrentNode(Node currentNode)
The node at which the
TreeWalker is currently positioned. |
Modifier and Type | Interface and Description |
---|---|
interface |
XPathNamespace
The
XPathNamespace interface is returned by
XPathResult interfaces to represent the XPath namespace node
type that DOM lacks. |
Modifier and Type | Method and Description |
---|---|
Node |
XPathResult.getSingleNodeValue()
The value of this single node result, which may be
null . |
Node |
XPathResult.iterateNext()
Iterates and returns the next node from the node set or
null if there are no more nodes. |
Node |
XPathResult.snapshotItem(int index)
Returns the
index th item in the snapshot collection. |
Modifier and Type | Method and Description |
---|---|
XPathNSResolver |
XPathEvaluator.createNSResolver(Node nodeResolver)
Adapts any DOM node to resolve namespaces so that an XPath expression
can be easily evaluated relative to the context of the node where it
appeared within the document.
|
java.lang.Object |
XPathExpression.evaluate(Node contextNode,
short type,
java.lang.Object result)
Evaluates this XPath expression and returns a result.
|
java.lang.Object |
XPathEvaluator.evaluate(java.lang.String expression,
Node contextNode,
XPathNSResolver resolver,
short type,
java.lang.Object result)
Evaluates an XPath expression string and returns a result of the
specified type if possible.
|
Copyright © 2014 Apache XML Project. All Rights Reserved.