Package org.rumbledb.context
Class RuntimeStaticContext
java.lang.Object
org.rumbledb.context.RuntimeStaticContext
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRuntimeStaticContext(RumbleRuntimeConfiguration configuration, ExecutionMode executionMode, ExceptionMetadata metadata) RuntimeStaticContext(RumbleRuntimeConfiguration configuration, SequenceType staticType, ExecutionMode executionMode, ExceptionMetadata metadata) RuntimeStaticContext(RumbleRuntimeConfiguration configuration, SequenceType staticType, ExecutionMode executionMode, ExceptionMetadata metadata, StaticContext staticContext) RuntimeStaticContext(RuntimeStaticContext oldContext) -
Method Summary
Modifier and TypeMethodDescriptionvoidresolvePrefix(String prefix) Resolves a namespace prefix using in-scope bindings from this context, falling back to built-in prefixes (fn, xs, ...).voidtoString()withExecutionMode(ExecutionMode newExecutionMode) Creates a new context with a different execution mode (e.g. when building nested iterator contexts from a call-siteRuntimeStaticContext).withMetadata(ExceptionMetadata newMetadata) Creates a new context with different metadata (e.g. when building nested iterator contexts from a call-siteRuntimeStaticContext).withStaticType(SequenceType newStaticType) Creates a new context with a different static type (e.g. when building nested iterator contexts from a call-siteRuntimeStaticContext).
-
Constructor Details
-
RuntimeStaticContext
-
RuntimeStaticContext
public RuntimeStaticContext(RumbleRuntimeConfiguration configuration, SequenceType staticType, ExecutionMode executionMode, ExceptionMetadata metadata) -
RuntimeStaticContext
public RuntimeStaticContext(RumbleRuntimeConfiguration configuration, SequenceType staticType, ExecutionMode executionMode, ExceptionMetadata metadata, StaticContext staticContext) -
RuntimeStaticContext
public RuntimeStaticContext(RumbleRuntimeConfiguration configuration, ExecutionMode executionMode, ExceptionMetadata metadata)
-
-
Method Details
-
toString
-
getConfiguration
-
getStaticType
-
getExecutionMode
-
setExecutionMode
-
getMetadata
-
getStaticallyKnownNamespaces
-
getSerializationParameters
-
dropDecimalFormats
public void dropDecimalFormats() -
getDecimalFormats
-
getDefaultDecimalFormat
-
resolvePrefix
Resolves a namespace prefix using in-scope bindings from this context, falling back to built-in prefixes (fn, xs, ...). For the default element/type namespace, pass"".- Returns:
- the namespace URI, or
nullif the prefix is not bound
-
withStaticType
Creates a new context with a different static type (e.g. when building nested iterator contexts from a call-siteRuntimeStaticContext). -
withExecutionMode
Creates a new context with a different execution mode (e.g. when building nested iterator contexts from a call-siteRuntimeStaticContext). -
withMetadata
Creates a new context with different metadata (e.g. when building nested iterator contexts from a call-siteRuntimeStaticContext).
-