StaticContextSettings ClassStaticContextSettings ClassStaticContextSettings Class
This serves as a base class for the user-controllable static context settings of XQuery 1.0, XPath 2.0 and XSLT 2.0.
Inheritance Hierarchy
- System.ObjectSystem.ObjectSystem::Object
- XmlPrime.StaticContextSettingsXmlPrime.StaticContextSettingsXmlPrime::StaticContextSettings
- XmlPrime.XQuerySettingsXmlPrime.XQuerySettingsXmlPrime::XQuerySettings
- XmlPrime.XsltSettingsXmlPrime.XsltSettingsXmlPrime::XsltSettings
- XmlPrime.XPathSettingsXmlPrime.XPathSettingsXmlPrime::XPathSettings
The StaticContextSettingsStaticContextSettingsStaticContextSettings
type exposes the following members.
Constructors
Constructor | Description | |
---|---|---|
![]() | StaticContextSettings (XmlNameTable)StaticContextSettings (XmlNameTable)StaticContextSettings (XmlNameTable^) | Initializes a new instance of the StaticContextSettingsStaticContextSettingsStaticContextSettings class with the specified XmlNameTableXmlNameTableXmlNameTable. |
![]() | StaticContextSettings (XmlNameTable, IXmlNamespaceResolver)StaticContextSettings (XmlNameTable, IXmlNamespaceResolver)StaticContextSettings (XmlNameTable^, IXmlNamespaceResolver^) | Initializes a new instance of the StaticContextSettingsStaticContextSettingsStaticContextSettings class with the specified XmlNameTableXmlNameTableXmlNameTable and in scope namespaces. |
Properties
Property | Description | |
---|---|---|
![]() | BaseURIBaseURIBaseURI | Gets or sets the base URI. |
![]() | CollationResolverCollationResolverCollationResolver | Gets or sets the resolver for collation URIs . |
![]() | CollectionTypeResolverCollectionTypeResolverCollectionTypeResolver |
Sets the resolver used to compute the type of calls to the fn:collection function .
|
![]() | CompilationWarningsCompilationWarningsCompilationWarnings | Gets or sets a value specifying which compilation warnings should be reported. |
![]() | ContextItemTypeContextItemTypeContextItemType | Gets or sets the static type of the initial context item. |
![]() | DecimalFormatsDecimalFormatsDecimalFormats | Gets the decimal formats. |
![]() | DefaultCollationDefaultCollationDefaultCollation | Gets or sets the default collation URI. |
![]() | DefaultElementNamespaceDefaultElementNamespaceDefaultElementNamespace | Gets or sets the default namespace for element and type names. |
![]() | DefaultFunctionNamespaceDefaultFunctionNamespaceDefaultFunctionNamespace | Gets or sets the default namespace for function names. |
![]() | DocumentTypeResolverDocumentTypeResolverDocumentTypeResolver |
Sets the resolver used to compute the type of calls to the fn:doc function.
|
![]() | InputSettingsInputSettingsInputSettings | Gets or sets the input settings. |
![]() | LibrariesLibrariesLibraries | Gets or sets the set of additional libraries available to the query. |
![]() | NamespacesNamespacesNamespaces | Gets or sets the statically known namespaces. |
![]() | NameTableNameTableNameTable | Gets the XmlNameTableXmlNameTableXmlNameTable to be used for atomized string comparisons. |
![]() | OptimizationLevelOptimizationLevelOptimizationLevel | Gets or sets the level of optimization to perform when compiling an XPath expressiona, an XQuery program or an XSL transformation. |
![]() | ParameterTypesParameterTypesParameterTypes | Gets the parameter types. |
![]() | SchemasSchemasSchemas | Gets or sets the set of schemas used for type checking and schema validation in the query. |
![]() | XmlVersionXmlVersionXmlVersion | Gets or sets the XML version to be used. |
Methods
Method | Description | |
---|---|---|
![]() | DeclareNamespaceDeclareNamespaceDeclareNamespace |
Declares a namespace prefix and associates it with a namespace URI, adding the (prefix, URI) pair to the set of statically known namespaces.
|
![]() | Object.EqualsObject.EqualsObject::Equals | Determines whether the specified objectObjectobject is equal to the current objectObjectobject.(Inherited from System.ObjectSystem.ObjectSystem::Object) |
![]() | Object.FinalizeObject.FinalizeObject::Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from System.ObjectSystem.ObjectSystem::Object) |
![]() | Object.GetHashCodeObject.GetHashCodeObject::GetHashCode | Serves as a hash function for a particular type. (Inherited from System.ObjectSystem.ObjectSystem::Object) |
![]() | Object.GetTypeObject.GetTypeObject::GetType | Gets the type of the current instance.(Inherited from System.ObjectSystem.ObjectSystem::Object) |
![]() | ImportModule (string)ImportModule (String)ImportModule (String^) | Imports the library with the specified target namespace. |
![]() | ImportModule (XdmModule)ImportModule (XdmModule)ImportModule (XdmModule^) | Adds the specified module to the set of available libraries and imports the library with the module's namespace. |
![]() | ImportSchema (string)ImportSchema (String)ImportSchema (String^) | Imports the schema with the specified target namespace. |
![]() | ImportSchema (XmlSchema)ImportSchema (XmlSchema)ImportSchema (XmlSchema^) | Adds a schema to the set of available schemas, and imports its namespace. |
![]() | Object.MemberwiseCloneObject.MemberwiseCloneObject::MemberwiseClone | Creates a shallow copy of the current objectObjectobject.(Inherited from System.ObjectSystem.ObjectSystem::Object) |
![]() | Object.ToStringObject.ToStringObject::ToString | Returns a string that represents the current object.(Inherited from System.ObjectSystem.ObjectSystem::Object) |
Events
Event | Description | |
---|---|---|
![]() | CompilationErrorCompilationErrorCompilationError | Occurs when a compilation error is encountered. |
Remarks
The static context of an expression is the information that is available during static analysis of the expression, prior to its evaluation.