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

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `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