Saxon.Api - the Saxon Application Programming Interface for .NET
This namespace contains Saxon's application programming interfaces for using XSLT, XQuery, XPath and XSD on .NET.
The top-level object is the Processor; this allows creation of factory classes for using each of the different processing languages.
The classes are all found in each of the assemblies: saxon-ee-api-10.#.dll
,
saxon-pe-api-10.#.dll
, and saxon-he-api-10.#.dll
.
Further background information about this API is available at https://www.saxonica.com/html/documentation10/dotnet/dotnetapi.html
Interface Summary |
|
---|---|
Name | Description |
ExtensionFunction |
This is an interface for simple external/extension functions. Users can implement this interface and register the implementation with the Processor; the function will then be available for calling from all queries, stylesheets, and XPath expressions compiled under this Processor. |
ICollectionFinder |
An instance of CollectionFinder can be registered with the Saxon configuration; it
is called in response
to calls on the fn:collection() and fn:uri-collection() functions.
When these functions are called, the |
IErrorReporter |
The |
IInvalidityHandler |
Interface for reporting validation errors found during validation of an instance document against a schema. |
IMessageListener |
An |
IMessageListener2 |
An |
IPredicate |
Interface that represents a predicate (boolean-valued |
IQueryResolver |
Interface defining a user-supplied class used to retrieve XQuery library modules listed
in an |
IResource |
This interface defines a Resource. The Resource objects belong to a collection.
It is used to support the fn:collection() and fn:uri-collection() functions.
It is recommended (but is not universally the case) that fetching (and where necessary
parsing)
the content of a Resource should be delayed until the |
IResourceCollection |
This interface defines a ResourceCollection. This class is used to map the URI of collection into a sequence of Resource objects. It is used to support the fn:collection() and fn:uri-collection() functions. |
IResourceFactory |
A ResourceFactory is used for constructing a particular type of resource |
IResultDocumentHandler |
An |
IXmlLocation |
An |
SchemaResolver |
The |
XmlDestination |
An abstract destination for the results of a query or transformation |
Class Summary |
|
---|---|
Name | Description |
BinaryResource |
BinaryResource |
CatalogCollection |
CatalogCollection |
DirectoryCollection |
This class represents a resource collection containing all, or selected, files within a filestore directory |
DocumentBuilder |
The |
DomDestination |
This class represents a Destination (for example, the destination of the output of a transformation) in which the results are written to a newly constructed DOM tree in memory. |
DynamicContext |
The class |
DynamicError |
The |
EmptyEnumerator |
An implementation of IEnumerator that iterates over an empty sequence. |
ErrorReporter |
The |
ErrorReporterToStaticError |
|
ErrorReporterWrapper |
|
ExtensionFunctionCall |
An instance of this class will be created by the compiler for each function call to
this extension function
that is found in the source code. The class is always instantiated by calling the
method |
ExtensionFunctionDefinition |
Abstract superclass for user-written extension functions. An extension function may be implemented as a subclass of this class, with appropriate implementations of the defined methods. More precisely, a subclass of |
Feature |
Feature defines a set of constants, representing the details of Saxon configuration
options which can be supplied to the Saxon method |
FeatureKeys |
|
InvalidityHandlerWrapper |
This class |
JarCollection |
A JarCollection represents a collection of resources held in a JAR or ZIP archive, accessess typically using a URI using the "jar" URI scheme, or simply a "file" URI where the target file is a JAR or ZIP file. |
NamespaceConstant |
Holds a set of constants representing known namespaces. |
NullDestination |
A |
Predicate |
This class implements the |
Predicates |
This non-instantiable class provides a number of useful implementations of the |
Processor |
The |
QName |
The |
RawDestination |
A |
Resource |
Resource Wrapper class for a Java Resource object |
ResourceCollection |
ResourceCollection class that implements the IResourceCollection interface. This class is used to map the URI of collection into a sequence of Resource objects. It is used to support the fn:collection() and fn:uri-collection() functions. |
SchemaManager |
A |
SchemaValidator |
A |
Serializer |
A |
StandardCollectionFinder |
Default implementation of the CollectionFinder interface. |
StandardLogger |
The default Logger used by Saxon on the .NET platform. All messages are written by default to System.err. The logger can be configured by setting a different output destination, and by setting a minimum threshold for the severity of messages to be output. |
StaticContext |
The class |
StaticError |
The |
Step |
A |
Steps |
This non-instantiable class provides a number of useful implementations of the |
TextWriterDestination |
A |
URIQueryParameters |
A set of query parameters on a URI passed to the |
ValidationFailure |
This exception indicates a failure when validating an instance against a type defined in a schema. |
WhitespacePolicy |
|
XdmAnyArrayType |
Singleton class representing the item type |
XdmAnyFunctionType |
Singleton class representing the item type |
XdmAnyItemType |
Singleton class representing the item type |
XdmAnyMapType |
Singleton class representing the item type |
XdmAnyNodeType |
Singleton class representing the item type |
XdmArray |
The class |
XdmAtomicType |
An instance of class |
XdmAtomicValue |
The class |
XdmDestination |
An |
XdmDestination.TreeProtector |
|
XdmEmptySequence |
The class |
XdmExternalObjectValue |
The class |
XdmFunctionItem |
The class |
XdmItem |
The class |
XdmItemType |
Abstract class representing an item type. This may be the generic item type |
XdmMap |
The class |
XdmNode |
The class |
XdmNodeKind |
Instances of |
XdmSequenceType |
An instance of class |
XdmValue |
A value in the XDM data model. A value is a sequence of zero or more items, each item being an atomic value, a node, or a function item. |
XmlProcessingError |
The |
XmlResource |
The class is an implementation of the generic Resource object (typically an item in a collection) representing an XML document |
XPathCompiler |
An |
XPathExecutable |
An |
XPathSelector |
An |
XQueryCompiler |
The |
XQueryEvaluator |
An |
XQueryExecutable |
An |
Xslt30Transformer |
An Xslt30Transformer represents a compiled and loaded stylesheet ready for execution. The Xslt30Transformer holds details of the dynamic evaluation context for the stylesheet. |
XsltCompiler |
An |
XsltExecutable |
An |
XsltExecutable.ParameterDetails |
Information about a global parameter to a stylesheet. |
XsltPackage |
An |
XsltTransformer |
An |
Enum Summary |
|
---|---|
Name | Description |
HostLanguage |
Identifiies a host language in which XPath expressions appear. Generally used when different error codes need to be returned depending on the host language. |
RecoveryPolicy |
|
SchemaValidationMode |
Enumeration identifying the various Schema validation modes |
TreeModel |
Enumeration identifying the different tree model implementations |
XdmAxis |
Enumeration identifying the thirteen XPath axes |
Exception Summary |
|
---|---|
Name | Description |
DynamicError |
The |
StaticError |
The |