Package net.sf.saxon.tree.wrapper
package net.sf.saxon.tree.wrapper
This package provides a number of classes supporting the general capability to wrap external
XML tree models as instances of the Saxon NodeInfo
interface, making them
amenable to XPath processing
-
ClassDescriptionA node in the XML parse tree representing an XML element, character content, or attribute.AbstractVirtualNode is an abstract superclass for VirtualNode implementations in which the underlying node is itself a Saxon NodeInfo.A
RebasedDocument
represents a view of a real Document in which all nodes are mapped to a different base URI and/or system ID using supplied mapping functions.A RebasedNode is a view of a node, in a virtual tree that maps the base URI and/or system ID to new valuesInterface that extends NodeInfo by providing a method to get the position of a node relative to its siblings.This class represents a node within a tree produced by the snapshot() function, as a virtual copy of the relevant nodes in another tree.A SpaceStrippedDocument represents a view of a real Document in which selected whitespace text nodes are treated as having been stripped.A StrippedNode is a view of a node, in a virtual tree that has whitespace text nodes stripped from it.A TypeStrippedDocument represents a view of a real Document in which all nodes are untypedA TypeStrippedNode is a view of a node, in a virtual tree that has type annotations stripped from it.This class represents a node that is a virtual copy of another node: that is, it behaves as a node that's the same as another node, but has different identity.VirtualCopier implements the XPath axes as applied to a VirtualCopy node.This interface is implemented by NodeInfo implementations that act as wrappers on some underlying tree.Implementation of TreeInfo for a Virtual Copy treeThis class represents a virtual copy of a node with type annotations strippedCallback to create a VirtualNode that wraps a given NodeInfoA WrappingIterator delivers wrappers for the nodes delivered by its underlying iterator.