Package net.sf.saxon.tree.wrapper
package net.sf.saxon.tree.wrapper
This package defines a number of implementations of "virtual nodes" implemented as wrappers around other nodes.
The SpaceStrippedNode
class provides a virtual tree in which whitespace text nodes in the underlying real
tree are ignored.
The TypeStrippedNode
class provides a virtual tree in which type annotations in the underlying real tree
are ignored.
The VirtualCopy
class provides a tree that is the same as the underlying tree in everything except
node identity.
Michael H. Kay
Saxonica Limited
28 November 2011
-
ClassDescriptionAbstractVirtualNode is an abstract superclass for VirtualNode implementations in which the underlying node is itself a Saxon NodeInfo.Interface that extends NodeInfo by providing a method to get the position of a node relative to its siblings.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.A virtual copy of a document nodeThis interface is implemented by NodeInfo implementations that act as wrappers on some underlying tree.This 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.