de.fraunhofer.ipsi.ipsixq.api
Interface XQIQueryHandler

All Known Implementing Classes:
XQIQueryHandlerDefault

public interface XQIQueryHandler


Method Summary
 java.lang.String getCoreQuery()
          Method getCoreQuery
 EvaluationContext getDynamicContext()
          Method getDynamicContext
 java.lang.String getImportedAttributeDecls()
          Method getImportedAttributeDecls
 java.lang.String getImportedElementDecls()
          Method getImportedElementDecls
 java.lang.String getImportedTypeDefns()
          Method getImportedTypeDefns
 java.lang.String getInferredType()
          Method getInferredType
 Sequence getQueryResult()
          Method getQueryResult
 void getQueryResult(ResultHandler handler)
          Method getQueryResult
 StaticContext getStaticContext()
          Method getStaticContext
 XQueryNode getXQuery()
          Method getXQuery
 void setOptimize(boolean b)
          Method setOptimize
 void setParserTracing(boolean b)
          Method setParserTracing
 void syntaxCheck()
          Method syntaxCheck
 

Method Detail

getStaticContext

StaticContext getStaticContext()
                               throws XQueryException
Method getStaticContext

Returns:
a StaticContext
Throws:
ParseException
XQueryException

getDynamicContext

EvaluationContext getDynamicContext()
                                    throws XQueryException
Method getDynamicContext

Returns:
an EvaluationContext
Throws:
ParseException
XQueryException

setParserTracing

void setParserTracing(boolean b)
Method setParserTracing

Parameters:
b - a boolean

setOptimize

void setOptimize(boolean b)
Method setOptimize

Parameters:
b - a boolean

syntaxCheck

void syntaxCheck()
                 throws XQueryException
Method syntaxCheck

Throws:
XQueryException

getXQuery

XQueryNode getXQuery()
                     throws XQueryException
Method getXQuery

Returns:
a String
Throws:
XQueryException

getCoreQuery

java.lang.String getCoreQuery()
                              throws XQueryException
Method getCoreQuery

Returns:
a String
Throws:
XQueryException

getInferredType

java.lang.String getInferredType()
                                 throws XQueryException
Method getInferredType

Returns:
a String
Throws:
XQueryException

getImportedElementDecls

java.lang.String getImportedElementDecls()
                                         throws XQueryException
Method getImportedElementDecls

Returns:
a String
Throws:
ParseException
QueryException
XQueryException

getImportedAttributeDecls

java.lang.String getImportedAttributeDecls()
                                           throws XQueryException
Method getImportedAttributeDecls

Returns:
a String
Throws:
ParseException
QueryException
XQueryException

getImportedTypeDefns

java.lang.String getImportedTypeDefns()
                                      throws XQueryException
Method getImportedTypeDefns

Returns:
a String
Throws:
ParseException
QueryException
XQueryException

getQueryResult

Sequence getQueryResult()
                        throws XQueryException
Method getQueryResult

Returns:
an AnyType
Throws:
ParseException
QueryException
XQueryException

getQueryResult

void getQueryResult(ResultHandler handler)
                    throws XQueryException
Method getQueryResult

Parameters:
handler - a ContentHandler
Throws:
ParseException
QueryException
XQueryException