Package net.sf.saxon.lib


package net.sf.saxon.lib

This package collects together interfaces intended for user applications to implement in order to customize Saxon's behavior, default implementations of these interfaces, and classes containing constants that are used in public Saxon interfaces.

These interfaces were brought together into this package in Saxon 9.3, having previously been dispersed around the package hierarchy and mixed with classes and interfaces intended only for internal use.

  • Class
    Description
    An ActiveSource is a Source that is capable of delivering an XML document to a Receiver;
    This class is an extension of the JAXP Source interface.
    The standard implementation of the ResourceResolver interface for use with catalogs.
    An EntityResolver that first tries one supplied EntityResolver, and if that returns null, falls back to another.
    An ResourceResolver that first tries one supplied ResourceResolver, and if that returns null, falls back to another.
    A CollationURIResolver accepts a collation name as input, and returns a collation (represented by a StringCollator as output.
    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.
    A ResourceResolver that allows properties to be set and examined
    This class defines a set of rules for converting between different atomic types.
    A wrapper around the Java cryptography classes to make a SHA-256 digest.
    A DirectResourceResolver is a ResourceResolver that resolves requests using the direct, native capabilities of the platform.
    This class is an implementation of the JAXP Source interface.
    An implementation of the SAX EntityResolver2 interface implemented by calling a supplied ResourceResolver
    This interface defines a Saxon plug-in used to resolve calls on the XPath 3.0 functions available-environment-variables() and environment-variable().
    The ErrorReporter is a generic functional interface for reporting errors and warnings.
    A bridging class that allows errors in an XSLT Transformation, or in a Query, to be reported to a JAXP ErrorListener.
    This abstract class is provided to allow user-written extension functions to be implemented with the full capabilities of functions that are an intrinsic part of the Saxon product.
    This abstract class is provided to allow user-written extension functions to be implemented with the full capabilities of functions that are an intrinsic part of the Saxon product.
    This interface must be implemented by any third-party object model that can be wrapped with a wrapper that implements the Saxon Object Model (the NodeInfo interface).
    Feature defines a set of constants, representing the details of Saxon configuration options which can be supplied to the Saxon method Configuration.setProperty(), and to other interfaces
    FeatureCode defines a set of integer constants, representing unique identifiers for the features that can be configured.
     
     
    FeatureKeys defines a set of constants, representing the names of Saxon configuration options which can be supplied to the Saxon implementations of the JAXP interfaces TransformerFactory, SchemaFactory, Validator, and ValidationHandler, and to other interfaces such as the s9api Processor
    Interface to a user-supplied class that handles XQuery annotation assertions in a particular namespace.
    Interface to a class used to perform dynamic loading of classes such as user-hook implementations, as well as product-supplied resources like stylesheets and DTDs.
    This interface can be implemented by users (there are no implementations in Saxon itself).
    An Invalidity is a validation error, that is, a failure of the instance document to conform to the schema being used for validation.
    Interface for reporting validation errors found during validation of an instance document against a schema.
    Interface for reporting validation errors found during validation of an instance document against a schema.
    Interface for reporting validation errors found during validation of an instance document against a schema.
    This class InvalidityReportGenerator extends the standard error handler for errors found during validation of an instance document against a schema, used if user specifies -report option on validate.
    Interface allowing localization modules for different languages to be dynamically loaded
    Interface to diagnostic event logging mechanism.
    A ModuleURIResolver is used when resolving references to query modules.
    This class is not instantiated, it exists to hold a set of constants representing known namespaces.
    Interface Numberer supports number formatting.
    This interface defines an OutputURIResolver.
    This class is an implementation of the ResultDocumentResolver interface that wraps a supplied OutputURIResolver.
    This class defines options for parsing and/or validating a source document.
    This class implements the rules in a property such as XMLConstants.ACCESS_EXTERNAL_SCHEMA, which constrain the set of URIs that can be used by supplying a list of permitted protocols.
     
    This class is an implementation of the JAXP Result interface.
    The standard JAXP URIResolver is given a relative URI and a base URI and returns the resource identified by this combination.
    This interface defines a Resource.
    This interface defines a ResourceCollection.
    A ResourceFactory is used for constructing a particular type of resource
    A bundle of information made available when requesting resource resolution.
    Interface for processing a resource request to deliver a resource
    Convenience class to allow a ResourceResolver to be implemented as a lambda expression.
    A ResourceResolver implemented by wrapping a supplied URIResolver
    The ResultDocumentResolver interface may be implemented by a user application; it is a callback that is called whenever an xsl:result-document instruction is executed.
    Provides string constants that can be used to set output properties for a Transformer, or to retrieve output properties from a Transformer or Templates object.
    A SchemaURIResolver is used when resolving references to schema documents.
    Helper class to construct a serialization pipeline for a given result destination and a given set of output properties.
    This interface defines a SourceResolver.
    StandardCollationURIResolver allows a Collation to be created given a URI starting with "http://saxon.sf.net/collation" followed by a set of query parameters.
    This class is an abstract superclass of classes such as the StandardErrorListener and StandardInvalidityHandler, and exists to provide common utility methods for these classes, and for similar user-written classes if required
    Default implementation of the EnvironmentVariableResolver.
    A default implementation of the SAX ErrorHandler interface.
    StandardErrorListener is the standard error handler for XSLT and XQuery processing errors, used if no other ErrorListener is nominated.
    StandardErrorReporter is the standard error handler for processing XSLT and XQuery static errors, used if no other error handler is nominated.
    This class StandardInvalidityHandler, despite its name, is not directly used by Saxon, and in particular it is NOT the default InvalidityHandler.
    The default Logger used by Saxon on the Java platform.
    This is the default implementation of the new Saxon 11 interface for user-defined handling of xsl:message and xsl:assert output.
    This class is the standard ModuleURIResolver used to implement the "import module" declaration in a Query Prolog.
    This class defines the default OutputURIResolver.
    This class defines the default ResultDocumentResolver.
    Default implementation of the UnparsedTextURIResolver, used if no other implementation is nominated to the Configuration.
    This class checks whether a string is a valid URI.
    This class provides the service of converting a URI into an Source.
    Factory class for creating a customized instance of StaticQueryContext
    StAxResultHandler is a helper class
    This interface represents a "collation" as defined in XPath, that is, a set of rules for comparing strings
    This interface is implemented by a collation that is capable of supporting the XPath functions that require matching of a substring: namely contains(), starts-with, ends-with, substring-before, and substring-after.
    An implementation of Saxon's Logger interface that writes all messages through to a supplied java.util.logging.Logger.
    This interface defines methods that are called by Saxon during the execution of a stylesheet or query, if tracing is switched on.
    An UnparsedTextURIResolver accepts an absolute URI and optionally an encoding name as input, and returns a Reader as its result.
    This interface defines a method for checking whether a string is considered to be a valid URI.
    This class contains constants and static methods to manipulate the validation property of a type.
    Defines a class that is notified of validation statistics at the end of a validation episode
    Function annotation handler for annotations in the built-in namespace http://www.w3.org/2012/xquery.