public class XPathHelper
extends java.lang.Object
| Constructor and Description | 
|---|
| XPathHelper(net.sf.saxon.s9api.XPathCompiler compiler,
           XBRLVariableSetResource set,
           java.util.Collection<javax.xml.namespace.QName> declaredVariables,
           XMLEvaluationContextProvider contextProvider,
           XBRLEvaluationContext evalContext)Instantiates a new x path helper. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | evaluateBoolean(net.sf.saxon.s9api.XPathSelector sel)Evaluate boolean. | 
| net.sf.saxon.s9api.XdmValue | evaluateList(java.lang.String expression)Evaluate list. | 
| net.sf.saxon.s9api.XdmValue | evaluateList(net.sf.saxon.s9api.XPathSelector sel)Evaluate list. | 
| net.sf.saxon.s9api.XdmItem | evaluateNode(java.lang.String expression)Evaluate node. | 
| net.sf.saxon.s9api.XdmItem | evaluateNode(net.sf.saxon.s9api.XPathSelector sel)Evaluate node. | 
| java.lang.String | evaluateString(java.lang.String expression)Evaluate string. | 
| net.sf.saxon.s9api.XPathCompiler | getCompiler()Gets the compiler. | 
| DTSContainer | getContainer()Gets the container. | 
| XMLEvaluationContextProvider | getContextProvider()Gets the context provider. | 
| XBRLVariableSetResource | getSet()Gets the sets the. | 
| XBRLEvaluationContext | getXBRLEvaluationContext()Gets the XBRL evaluation context. | 
public XPathHelper(net.sf.saxon.s9api.XPathCompiler compiler,
                   XBRLVariableSetResource set,
                   java.util.Collection<javax.xml.namespace.QName> declaredVariables,
                   XMLEvaluationContextProvider contextProvider,
                   XBRLEvaluationContext evalContext)
            throws XFValidationException
compiler - the XPathCompiler associated with this object instance.set - this variable is used internally in the evaluate* methods and in the getContainer() method in order to expose the DTS container to other objects.declaredVariables - a collection of QNames with the variable names declared for the resolution of XPath expressionscontextProvider - the context provider for the evaluation of XPath ExpressionsevalContext - The XBRL Evaluation contextXFValidationException - the XF validation exceptionpublic XBRLEvaluationContext getXBRLEvaluationContext()
public XMLEvaluationContextProvider getContextProvider()
public net.sf.saxon.s9api.XdmItem evaluateNode(net.sf.saxon.s9api.XPathSelector sel)
sel - the selpublic net.sf.saxon.s9api.XdmItem evaluateNode(java.lang.String expression)
expression - the expressionpublic java.lang.String evaluateString(java.lang.String expression)
expression - the expressionpublic XBRLVariableSetResource getSet()
public DTSContainer getContainer()
public net.sf.saxon.s9api.XPathCompiler getCompiler()
public net.sf.saxon.s9api.XdmValue evaluateList(java.lang.String expression)
expression - the expressionpublic net.sf.saxon.s9api.XdmValue evaluateList(net.sf.saxon.s9api.XPathSelector sel)
sel - the selpublic boolean evaluateBoolean(net.sf.saxon.s9api.XPathSelector sel)
                        throws XFValidationException
sel - the selXFValidationException - the XF validation exceptionCopyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa