net.sf.saxon.xqj
Class SaxonXQStaticContext
java.lang.Object
net.sf.saxon.xqj.SaxonXQStaticContext
- All Implemented Interfaces:
- XQStaticContext
public class SaxonXQStaticContext
- extends Object
- implements XQStaticContext
Saxon implementation of the XQJ XQStaticContext interface
SaxonXQStaticContext
public SaxonXQStaticContext(Configuration config)
declareNamespace
public void declareNamespace(String prefix,
String uri)
throws XQException
- Specified by:
declareNamespace
in interface XQStaticContext
- Throws:
XQException
getBaseURI
public String getBaseURI()
- Specified by:
getBaseURI
in interface XQStaticContext
getBindingMode
public int getBindingMode()
- Specified by:
getBindingMode
in interface XQStaticContext
getBoundarySpacePolicy
public int getBoundarySpacePolicy()
- Specified by:
getBoundarySpacePolicy
in interface XQStaticContext
getConstructionMode
public int getConstructionMode()
- Specified by:
getConstructionMode
in interface XQStaticContext
getContextItemStaticType
public XQItemType getContextItemStaticType()
- Specified by:
getContextItemStaticType
in interface XQStaticContext
getCopyNamespacesModeInherit
public int getCopyNamespacesModeInherit()
- Specified by:
getCopyNamespacesModeInherit
in interface XQStaticContext
getCopyNamespacesModePreserve
public int getCopyNamespacesModePreserve()
- Specified by:
getCopyNamespacesModePreserve
in interface XQStaticContext
getDefaultCollation
public String getDefaultCollation()
- Specified by:
getDefaultCollation
in interface XQStaticContext
getDefaultElementTypeNamespace
public String getDefaultElementTypeNamespace()
- Specified by:
getDefaultElementTypeNamespace
in interface XQStaticContext
getDefaultFunctionNamespace
public String getDefaultFunctionNamespace()
- Specified by:
getDefaultFunctionNamespace
in interface XQStaticContext
getDefaultOrderForEmptySequences
public int getDefaultOrderForEmptySequences()
- Specified by:
getDefaultOrderForEmptySequences
in interface XQStaticContext
getNamespacePrefixes
public String[] getNamespacePrefixes()
- Specified by:
getNamespacePrefixes
in interface XQStaticContext
getNamespaceURI
public String getNamespaceURI(String prefix)
throws XQException
- Specified by:
getNamespaceURI
in interface XQStaticContext
- Throws:
XQException
getOrderingMode
public int getOrderingMode()
- Specified by:
getOrderingMode
in interface XQStaticContext
getHoldability
public int getHoldability()
- Specified by:
getHoldability
in interface XQStaticContext
getQueryLanguageTypeAndVersion
public int getQueryLanguageTypeAndVersion()
- Specified by:
getQueryLanguageTypeAndVersion
in interface XQStaticContext
getQueryTimeout
public int getQueryTimeout()
- Specified by:
getQueryTimeout
in interface XQStaticContext
getScrollability
public int getScrollability()
- Specified by:
getScrollability
in interface XQStaticContext
setBaseURI
public void setBaseURI(String baseUri)
- Specified by:
setBaseURI
in interface XQStaticContext
setBindingMode
public void setBindingMode(int bindingMode)
- Specified by:
setBindingMode
in interface XQStaticContext
setBoundarySpacePolicy
public void setBoundarySpacePolicy(int policy)
throws XQException
- Specified by:
setBoundarySpacePolicy
in interface XQStaticContext
- Throws:
XQException
setConstructionMode
public void setConstructionMode(int mode)
throws XQException
- Specified by:
setConstructionMode
in interface XQStaticContext
- Throws:
XQException
setContextItemStaticType
public void setContextItemStaticType(XQItemType contextItemType)
- Specified by:
setContextItemStaticType
in interface XQStaticContext
setCopyNamespacesModeInherit
public void setCopyNamespacesModeInherit(int mode)
throws XQException
- Specified by:
setCopyNamespacesModeInherit
in interface XQStaticContext
- Throws:
XQException
setCopyNamespacesModePreserve
public void setCopyNamespacesModePreserve(int mode)
throws XQException
- Specified by:
setCopyNamespacesModePreserve
in interface XQStaticContext
- Throws:
XQException
setDefaultCollation
public void setDefaultCollation(String uri)
- Specified by:
setDefaultCollation
in interface XQStaticContext
setDefaultElementTypeNamespace
public void setDefaultElementTypeNamespace(String uri)
throws XQException
- Specified by:
setDefaultElementTypeNamespace
in interface XQStaticContext
- Throws:
XQException
setDefaultFunctionNamespace
public void setDefaultFunctionNamespace(String uri)
- Specified by:
setDefaultFunctionNamespace
in interface XQStaticContext
setDefaultOrderForEmptySequences
public void setDefaultOrderForEmptySequences(int order)
throws XQException
- Specified by:
setDefaultOrderForEmptySequences
in interface XQStaticContext
- Throws:
XQException
setOrderingMode
public void setOrderingMode(int mode)
- Specified by:
setOrderingMode
in interface XQStaticContext
setQueryTimeout
public void setQueryTimeout(int seconds)
- Specified by:
setQueryTimeout
in interface XQStaticContext
setHoldability
public void setHoldability(int holdability)
throws XQException
- Specified by:
setHoldability
in interface XQStaticContext
- Throws:
XQException
setQueryLanguageTypeAndVersion
public void setQueryLanguageTypeAndVersion(int langtype)
throws XQException
- Specified by:
setQueryLanguageTypeAndVersion
in interface XQStaticContext
- Throws:
XQException
setScrollability
public void setScrollability(int scrollability)
throws XQException
- Specified by:
setScrollability
in interface XQStaticContext
- Throws:
XQException
Copyright (C) Michael H. Kay. All rights reserved.