Package net.sf.saxon.tree.wrapper
Interface WrappingFunction
- All Known Implementing Classes:
RebasedNode
,SpaceStrippedNode
,TypeStrippedNode
public interface WrappingFunction
Callback to create a VirtualNode that wraps a given NodeInfo
-
Method Summary
Modifier and TypeMethodDescriptionmakeWrapper
(NodeInfo node, VirtualNode parent) Factory method to wrap a node with a wrapper that implements the Saxon NodeInfo interface.
-
Method Details
-
makeWrapper
Factory method to wrap a node with a wrapper that implements the Saxon NodeInfo interface.- Parameters:
node
- The underlying nodeparent
- The wrapper for the parent of the node (null if unknown)- Returns:
- The new wrapper for the supplied node
-