com.saxonica.expr
Class JavaExtensionFunctionCall.ConfigurationCheckingFunction

java.lang.Object
  extended by com.saxonica.expr.JavaExtensionFunctionCall.ConfigurationCheckingFunction
All Implemented Interfaces:
ItemMappingFunction
Enclosing class:
JavaExtensionFunctionCall

public static class JavaExtensionFunctionCall.ConfigurationCheckingFunction
extends Object
implements ItemMappingFunction

This class checks that NodeInfo objects returned by an extension function were created under the right Configuration


Constructor Summary
JavaExtensionFunctionCall.ConfigurationCheckingFunction(Configuration config)
           
 
Method Summary
 Item mapItem(Item item)
          Map one item to another item.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaExtensionFunctionCall.ConfigurationCheckingFunction

public JavaExtensionFunctionCall.ConfigurationCheckingFunction(Configuration config)
Method Detail

mapItem

public Item mapItem(Item item)
             throws XPathException
Map one item to another item.

Specified by:
mapItem in interface ItemMappingFunction
Parameters:
item - The input item to be mapped.
Returns:
either the output item, or null.
Throws:
XPathException - if a dynamic error occurs


Copyright (c) 2004-2011 Saxonica Limited. All rights reserved.