net.sf.saxon.xqj
Class SaxonXQStaticContext

java.lang.Object
  extended by net.sf.saxon.xqj.SaxonXQStaticContext
All Implemented Interfaces:
XQStaticContext

public class SaxonXQStaticContext
extends Object
implements XQStaticContext

Saxon implementation of the XQJ XQStaticContext interface


Constructor Summary
SaxonXQStaticContext(Configuration config)
           
 
Method Summary
 void declareNamespace(String prefix, String uri)
           
 String getBaseURI()
           
 int getBindingMode()
           
 int getBoundarySpacePolicy()
           
 int getConstructionMode()
           
 XQItemType getContextItemStaticType()
           
 int getCopyNamespacesModeInherit()
           
 int getCopyNamespacesModePreserve()
           
 String getDefaultCollation()
           
 String getDefaultElementTypeNamespace()
           
 String getDefaultFunctionNamespace()
           
 int getDefaultOrderForEmptySequences()
           
 int getHoldability()
           
 String[] getNamespacePrefixes()
           
 String getNamespaceURI(String prefix)
           
 int getOrderingMode()
           
 int getQueryLanguageTypeAndVersion()
           
 int getQueryTimeout()
           
 int getScrollability()
           
 void setBaseURI(String baseUri)
           
 void setBindingMode(int bindingMode)
           
 void setBoundarySpacePolicy(int policy)
           
 void setConstructionMode(int mode)
           
 void setContextItemStaticType(XQItemType contextItemType)
           
 void setCopyNamespacesModeInherit(int mode)
           
 void setCopyNamespacesModePreserve(int mode)
           
 void setDefaultCollation(String uri)
           
 void setDefaultElementTypeNamespace(String uri)
           
 void setDefaultFunctionNamespace(String uri)
           
 void setDefaultOrderForEmptySequences(int order)
           
 void setHoldability(int holdability)
           
 void setOrderingMode(int mode)
           
 void setQueryLanguageTypeAndVersion(int langtype)
           
 void setQueryTimeout(int seconds)
           
 void setScrollability(int scrollability)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SaxonXQStaticContext

public SaxonXQStaticContext(Configuration config)
Method Detail

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.