net.sf.saxon.tree.wrapper
Interface WrappingFunction
- All Known Implementing Classes:
- SpaceStrippedDocument, SpaceStrippedNode, TypeStrippedDocument, TypeStrippedNode
public interface WrappingFunction
Callback to create a VirtualNode that wraps a given NodeInfo
makeWrapper
VirtualNode makeWrapper(NodeInfo node,
VirtualNode parent)
- 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
Copyright (c) 2004-2011 Saxonica Limited. All rights reserved.