com.ihr.xbrl.formula
Class XPathXQueryFunctionBridge

java.lang.Object
  extended by com.ihr.xbrl.formula.XPathXQueryFunctionBridge
All Implemented Interfaces:
javax.xml.xpath.XPathFunction

public class XPathXQueryFunctionBridge
extends java.lang.Object
implements javax.xml.xpath.XPathFunction


Constructor Summary
XPathXQueryFunctionBridge(net.sf.saxon.expr.instruct.UserFunction f, net.sf.saxon.om.NodeInfo contextNode)
           
 
Method Summary
static net.sf.saxon.value.Value<?> convertJavaObjectToXPath(java.lang.Object object, net.sf.saxon.value.SequenceType requiredType, net.sf.saxon.expr.XPathContext context)
           
static net.sf.saxon.value.Value<?> convertToBestFit(java.lang.Object object, net.sf.saxon.Configuration config)
           
 java.lang.Object evaluate(java.util.List args)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XPathXQueryFunctionBridge

public XPathXQueryFunctionBridge(net.sf.saxon.expr.instruct.UserFunction f,
                                 net.sf.saxon.om.NodeInfo contextNode)
Method Detail

evaluate

public java.lang.Object evaluate(java.util.List args)
                          throws javax.xml.xpath.XPathFunctionException
Specified by:
evaluate in interface javax.xml.xpath.XPathFunction
Throws:
javax.xml.xpath.XPathFunctionException

convertJavaObjectToXPath

public static net.sf.saxon.value.Value<?> convertJavaObjectToXPath(java.lang.Object object,
                                                                   net.sf.saxon.value.SequenceType requiredType,
                                                                   net.sf.saxon.expr.XPathContext context)
                                                            throws net.sf.saxon.trans.XPathException
Throws:
net.sf.saxon.trans.XPathException

convertToBestFit

public static net.sf.saxon.value.Value<?> convertToBestFit(java.lang.Object object,
                                                           net.sf.saxon.Configuration config)
                                                    throws net.sf.saxon.trans.XPathException
Throws:
net.sf.saxon.trans.XPathException


Copyright 2006-2009 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa