|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.saxon.query.StaticQueryContext
com.saxonica.expr.StaticQueryContextPE
public class StaticQueryContextPE
A version of StaticQueryContext for Saxon-PE, that extends the capability by allowing compilation of XQuery 1.1 syntax
| Constructor Summary | |
|---|---|
StaticQueryContextPE(Configuration config)
Create a StaticQueryContext using a given Configuration. |
|
| Method Summary | |
|---|---|
FunctionLibrary |
getExtensionFunctionLibrary()
Get any function library that was previously set using setExtensionFunctionLibrary(net.sf.saxon.functions.FunctionLibrary). |
protected QueryParser |
newQueryParser(String language,
boolean updating,
String languageVersion)
Get a new QueryParser. |
void |
setExtensionFunctionLibrary(FunctionLibrary library)
Set a library of extension functions. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StaticQueryContextPE(Configuration config)
config - the Saxon Configuration| Method Detail |
|---|
protected QueryParser newQueryParser(String language,
boolean updating,
String languageVersion)
language - updating - indicates whether or not XQuery update syntax may be used.languageVersion - public void setExtensionFunctionLibrary(FunctionLibrary library)
library - the function library to be added (replacing any that has previously been set).
May be null to clear a previously-set librarypublic FunctionLibrary getExtensionFunctionLibrary()
setExtensionFunctionLibrary(net.sf.saxon.functions.FunctionLibrary).
getExtensionFunctionLibrary in class StaticQueryContext
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||