de.fraunhofer.ipsi.ipsixq.api.impl
Class QueryHandler

java.lang.Object
  extended by de.fraunhofer.ipsi.ipsixq.api.impl.QueryHandler

public class QueryHandler
extends java.lang.Object

Author:
Michael Stark

Constructor Summary
QueryHandler()
           
 
Method Summary
static java.util.List<de.fraunhofer.ipsi.ipsixq.coretree.CoreExpression> getCoreExpressions(XQueryModule module, StaticContext context)
           
static de.fraunhofer.ipsi.ipsixq.datatypes.Type getInferredType(StaticContext staticContext, java.util.List<de.fraunhofer.ipsi.ipsixq.coretree.CoreExpression> coreExpressions)
           
static Sequence getQueryResult(StaticContext staticContext, EvaluationContext dynamicContext, java.util.List<de.fraunhofer.ipsi.ipsixq.coretree.CoreExpression> coreExpressions)
           
static XQueryModule getXQueryModule(java.io.Reader reader)
           
static void initDynamicContext(XQueryModule module, EvaluationContext context)
           
static void initStaticContext(XQueryModule module, StaticContext context)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryHandler

public QueryHandler()
Method Detail

getXQueryModule

public static XQueryModule getXQueryModule(java.io.Reader reader)
                                    throws XQueryException
Throws:
XQueryException

initStaticContext

public static void initStaticContext(XQueryModule module,
                                     StaticContext context)
                              throws XQueryException
Throws:
XQueryException

initDynamicContext

public static void initDynamicContext(XQueryModule module,
                                      EvaluationContext context)
                               throws XQueryException
Throws:
XQueryException

getCoreExpressions

public static java.util.List<de.fraunhofer.ipsi.ipsixq.coretree.CoreExpression> getCoreExpressions(XQueryModule module,
                                                                                                   StaticContext context)
                                                                                            throws XQueryException
Throws:
XQueryException

getInferredType

public static de.fraunhofer.ipsi.ipsixq.datatypes.Type getInferredType(StaticContext staticContext,
                                                                       java.util.List<de.fraunhofer.ipsi.ipsixq.coretree.CoreExpression> coreExpressions)
                                                                throws XQueryException
Throws:
XQueryException

getQueryResult

public static Sequence getQueryResult(StaticContext staticContext,
                                      EvaluationContext dynamicContext,
                                      java.util.List<de.fraunhofer.ipsi.ipsixq.coretree.CoreExpression> coreExpressions)
                               throws XQueryException
Throws:
XQueryException