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


Method Summary
 VirtualNode makeWrapper(NodeInfo node, VirtualNode parent)
          Factory method to wrap a node with a wrapper that implements the Saxon NodeInfo interface.
 

Method Detail

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 node
parent - 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.