net.sf.saxon.xqj
Class SaxonXQStaticContext
java.lang.Object
net.sf.saxon.xqj.SaxonXQStaticContext
- All Implemented Interfaces:
- javax.xml.xquery.XQStaticContext
public class SaxonXQStaticContext
- extends java.lang.Object
- implements javax.xml.xquery.XQStaticContext
Saxon implementation of the XQJ XQStaticContext interface
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
preserveBoundarySpace
boolean preserveBoundarySpace
constructionModeIsPreserve
boolean constructionModeIsPreserve
inheritNamespaces
boolean inheritNamespaces
preserveNamespaces
boolean preserveNamespaces
emptyLeast
boolean emptyLeast
isOrdered
boolean isOrdered
contextItemStaticType
SaxonXQItemType contextItemStaticType
defaultCollationName
java.lang.String defaultCollationName
defaultElementNamespace
java.lang.String defaultElementNamespace
defaultFunctionNamespace
java.lang.String defaultFunctionNamespace
SaxonXQStaticContext
public SaxonXQStaticContext(Configuration config)
- Create a SaxonXQStaticContext object, the Saxon implementation of XQStaticContext in XQJ
- Parameters:
config
- the Saxon configuration
getSaxonStaticQueryContext
protected StaticQueryContext getSaxonStaticQueryContext()
- Get a new Saxon StaticQueryContext object holding the information held in this
XQStaticContext
- Returns:
- a newly constructed StaticQueryContext object
declareNamespace
public void declareNamespace(java.lang.String prefix,
java.lang.String uri)
throws javax.xml.xquery.XQException
- Specified by:
declareNamespace
in interface javax.xml.xquery.XQStaticContext
- Throws:
javax.xml.xquery.XQException
getBaseURI
public java.lang.String getBaseURI()
- Specified by:
getBaseURI
in interface javax.xml.xquery.XQStaticContext
getBindingMode
public int getBindingMode()
- Specified by:
getBindingMode
in interface javax.xml.xquery.XQStaticContext
getBoundarySpacePolicy
public int getBoundarySpacePolicy()
- Specified by:
getBoundarySpacePolicy
in interface javax.xml.xquery.XQStaticContext
getConstructionMode
public int getConstructionMode()
- Specified by:
getConstructionMode
in interface javax.xml.xquery.XQStaticContext
getContextItemStaticType
public javax.xml.xquery.XQItemType getContextItemStaticType()
- Specified by:
getContextItemStaticType
in interface javax.xml.xquery.XQStaticContext
getCopyNamespacesModeInherit
public int getCopyNamespacesModeInherit()
- Specified by:
getCopyNamespacesModeInherit
in interface javax.xml.xquery.XQStaticContext
getCopyNamespacesModePreserve
public int getCopyNamespacesModePreserve()
- Specified by:
getCopyNamespacesModePreserve
in interface javax.xml.xquery.XQStaticContext
getDefaultCollation
public java.lang.String getDefaultCollation()
- Specified by:
getDefaultCollation
in interface javax.xml.xquery.XQStaticContext
getDefaultElementTypeNamespace
public java.lang.String getDefaultElementTypeNamespace()
- Specified by:
getDefaultElementTypeNamespace
in interface javax.xml.xquery.XQStaticContext
getDefaultFunctionNamespace
public java.lang.String getDefaultFunctionNamespace()
- Specified by:
getDefaultFunctionNamespace
in interface javax.xml.xquery.XQStaticContext
getDefaultOrderForEmptySequences
public int getDefaultOrderForEmptySequences()
- Specified by:
getDefaultOrderForEmptySequences
in interface javax.xml.xquery.XQStaticContext
getNamespacePrefixes
public java.lang.String[] getNamespacePrefixes()
- Specified by:
getNamespacePrefixes
in interface javax.xml.xquery.XQStaticContext
getNamespaceURI
public java.lang.String getNamespaceURI(java.lang.String prefix)
throws javax.xml.xquery.XQException
- Specified by:
getNamespaceURI
in interface javax.xml.xquery.XQStaticContext
- Throws:
javax.xml.xquery.XQException
getOrderingMode
public int getOrderingMode()
- Specified by:
getOrderingMode
in interface javax.xml.xquery.XQStaticContext
getHoldability
public int getHoldability()
- Specified by:
getHoldability
in interface javax.xml.xquery.XQStaticContext
getQueryLanguageTypeAndVersion
public int getQueryLanguageTypeAndVersion()
- Specified by:
getQueryLanguageTypeAndVersion
in interface javax.xml.xquery.XQStaticContext
getQueryTimeout
public int getQueryTimeout()
- Specified by:
getQueryTimeout
in interface javax.xml.xquery.XQStaticContext
getScrollability
public int getScrollability()
- Specified by:
getScrollability
in interface javax.xml.xquery.XQStaticContext
setBaseURI
public void setBaseURI(java.lang.String baseUri)
throws javax.xml.xquery.XQException
- Specified by:
setBaseURI
in interface javax.xml.xquery.XQStaticContext
- Throws:
javax.xml.xquery.XQException
setBindingMode
public void setBindingMode(int bindingMode)
throws javax.xml.xquery.XQException
- Specified by:
setBindingMode
in interface javax.xml.xquery.XQStaticContext
- Throws:
javax.xml.xquery.XQException
setBoundarySpacePolicy
public void setBoundarySpacePolicy(int policy)
throws javax.xml.xquery.XQException
- Specified by:
setBoundarySpacePolicy
in interface javax.xml.xquery.XQStaticContext
- Throws:
javax.xml.xquery.XQException
setConstructionMode
public void setConstructionMode(int mode)
throws javax.xml.xquery.XQException
- Specified by:
setConstructionMode
in interface javax.xml.xquery.XQStaticContext
- Throws:
javax.xml.xquery.XQException
setContextItemStaticType
public void setContextItemStaticType(javax.xml.xquery.XQItemType contextItemType)
- Specified by:
setContextItemStaticType
in interface javax.xml.xquery.XQStaticContext
setCopyNamespacesModeInherit
public void setCopyNamespacesModeInherit(int mode)
throws javax.xml.xquery.XQException
- Specified by:
setCopyNamespacesModeInherit
in interface javax.xml.xquery.XQStaticContext
- Throws:
javax.xml.xquery.XQException
setCopyNamespacesModePreserve
public void setCopyNamespacesModePreserve(int mode)
throws javax.xml.xquery.XQException
- Specified by:
setCopyNamespacesModePreserve
in interface javax.xml.xquery.XQStaticContext
- Throws:
javax.xml.xquery.XQException
setDefaultCollation
public void setDefaultCollation(java.lang.String uri)
throws javax.xml.xquery.XQException
- Specified by:
setDefaultCollation
in interface javax.xml.xquery.XQStaticContext
- Throws:
javax.xml.xquery.XQException
setDefaultElementTypeNamespace
public void setDefaultElementTypeNamespace(java.lang.String uri)
throws javax.xml.xquery.XQException
- Specified by:
setDefaultElementTypeNamespace
in interface javax.xml.xquery.XQStaticContext
- Throws:
javax.xml.xquery.XQException
setDefaultFunctionNamespace
public void setDefaultFunctionNamespace(java.lang.String uri)
throws javax.xml.xquery.XQException
- Specified by:
setDefaultFunctionNamespace
in interface javax.xml.xquery.XQStaticContext
- Throws:
javax.xml.xquery.XQException
setDefaultOrderForEmptySequences
public void setDefaultOrderForEmptySequences(int order)
throws javax.xml.xquery.XQException
- Specified by:
setDefaultOrderForEmptySequences
in interface javax.xml.xquery.XQStaticContext
- Throws:
javax.xml.xquery.XQException
setOrderingMode
public void setOrderingMode(int mode)
throws javax.xml.xquery.XQException
- Specified by:
setOrderingMode
in interface javax.xml.xquery.XQStaticContext
- Throws:
javax.xml.xquery.XQException
setQueryTimeout
public void setQueryTimeout(int seconds)
throws javax.xml.xquery.XQException
- Specified by:
setQueryTimeout
in interface javax.xml.xquery.XQStaticContext
- Throws:
javax.xml.xquery.XQException
setHoldability
public void setHoldability(int holdability)
throws javax.xml.xquery.XQException
- Specified by:
setHoldability
in interface javax.xml.xquery.XQStaticContext
- Throws:
javax.xml.xquery.XQException
setQueryLanguageTypeAndVersion
public void setQueryLanguageTypeAndVersion(int langtype)
throws javax.xml.xquery.XQException
- Specified by:
setQueryLanguageTypeAndVersion
in interface javax.xml.xquery.XQStaticContext
- Throws:
javax.xml.xquery.XQException
setScrollability
public void setScrollability(int scrollability)
throws javax.xml.xquery.XQException
- Specified by:
setScrollability
in interface javax.xml.xquery.XQStaticContext
- Throws:
javax.xml.xquery.XQException
checkNotNull
protected void checkNotNull(java.lang.Object arg)
throws javax.xml.xquery.XQException
- Throws:
javax.xml.xquery.XQException