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 Type
    Method
    Description
    Factory method to wrap a node with a wrapper that implements the Saxon NodeInfo interface.
  • Method Details

    • 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