Package net.sf.saxon.trans
package net.sf.saxon.trans
This package provides a miscellaneous collection of
helper classes for XSLT transformation. They are of no direct interest to user applications,
except for the XPathException
class, which is used to represent many
errors in public methods.
-
ClassDescriptionThis is a helper class for classes such as net.sf.saxon.Transform and net.sf.saxon.Query that process command line optionsThis class exists to hold information associated with a specific XSLT compilation episode.A CompoundMode is a mode representing the templates contained within an xsl:override element in a using package together with the rules in the corresponding mode of the base package.Class used to read a config.xml file and transfer all settings from the file to the ConfigurationDecimalFormatManager manages the collection of named and unnamed decimal formats, for use by the format-number() function.This class is modelled on Java's DecimalFormatSymbols, but it allows the use of any Unicode character to represent symbols such as the decimal point and the grouping separator, whereas DecimalFormatSymbols restricts these to a char (1-65535).Utility class used to perform dynamic loading of user-hook implementationsClass containing utility methods for handling error messagesEnumeration class giving the different streamability categories defined for stylesheet functions in XSLT 3.0This interface provides access to a collection of global variables.Instantiator<T>Interface representing a factory class for instantiating instances of a specific classCorresponds to a single xsl:key declaration.A set of xsl:key definitions in a stylesheet that share the same nameA key index is an index maintained to support xsl:key key definitions, including both user-defined keys and keys added by the optimizer.KeyManager manages the set of key definitions in a stylesheet, and the indexes associated with these key definitions.Exception thrown when there are problems with the license fileMaker<T>Interface representing a factory class for instances of a specific type.A Mode is a collection of rules; the selection of a rule to apply to a given element is determined by a Pattern.Interface for helper classes used to process all the rules in the ModeInterface for helper classes used to filter a chain of rulesThis exception class is used when early (compile-time) evaluation of an expression is attempted, and the expression requires knowledge of the current dateTime or implicit timezone.This is a marker interface: if a URIResolver implements this interface and returns null from its resolve() method, then the standard URI resolver will not be invoked.This class reads the XML exported form of a package and reconstructs the package object in memory.An exception used to signal that no more input is required from the parser, and that parsing can therefore be abandoned early (but without signaling any error to the user)The class acts as a register of Saxon-specific error codes.A Mode is a collection of rules; the selection of a rule to apply to a given element is determined by a Pattern.Interface used around a group of rules - principally at the group start and the group endA cache of the stylesheets (as XsltExecutables) used in calls to the fn:transform function, in a stylesheet or query.The symbolic name of a component consists of the component kind (e.g.Subclass of SymbolicName used for function names (including the arity)Utility class for collecting and reporting timing information, used only under diagnostic controlManager for xsl:item-type declarations in a stylesheet.When implementing certain interfaces Saxon is not able to throw a checked exception because the interface definition does not allow it.Enumeration class giving the different visibility levels defined for components in XSLT 3.0Indicates where the visibility property of a component came fromAn unchecked exception, triggered when a user-supplied
ErrorReporter
requests that processing should be abortedThe XmlProcessingException class is a concrete implementation of theXmlProcessingError
interface that wraps anXPathException
object.The XmlProcessingIncident class is a concrete implementation of theXmlProcessingError
interface that holds all the required information internally.XPathException is used to indicate an error (static or dynamic) in an XPath expression, or in a query or stylesheet.Subclass of XPathException used to report circularitiesSubclass of XPathException used to report stack overflowThis class is an extension of the Controller class, used when executing XSLT stylesheets.