Package net.sf.saxon.query
This package contains classes specific to the implementation of XQuery
-
Interface Summary Interface Description Declaration This interface represents the union of global variable declarations and function declarations in XQuery modulesUpdateAgent An UpdateAgent is a callback class that is called to handle a document after it has been updated.XQueryFunctionBinder XQueryFunctionBinder is an extension of the FunctionLibrary interface used for function libraries that contain user-written XQuery functions. -
Class Summary Class Description Annotation This class represents an annotation that appears in a function or variable declarationsAnnotationList An immutable list of function or variable annotations, or of annotation assertionsDynamicQueryContext This object represents a dynamic context for query execution.ImportedFunctionLibrary This implementation of FunctionLibrary contains all the functions imported into a Query Module.InputStreamMarker Allows the position of an input stream to be marked and reset.QueryLibrary A QueryLibrary represents an independently compiled set of query modules that does not include a main module.QueryModule This class represents a query module, and includes information about the static context of the query module.QueryReader This class contains static methods used to read a query as a byte stream, infer the encoding if necessary, and return the text of the query as a string; also methods to import functions and variables from one module into another, and check their consistency.QueryResult This utility class takes the result sequence produced by a query, and wraps it as an XML document.SequenceWrapper This class can be used in a push pipeline: it accepts any sequence as input, and generates a document in which the items of the sequence are wrapped by elements containing information about the types of the items in the input sequence.StaticQueryContext StaticQueryContext contains information used to build a StaticContext for use when processing XQuery expressions.UnboundFunctionLibrary An UnboundFunctionLibrary is not a real function library; rather, it is used to keep track of function calls that cannot yet be bound to a known declared function, but will have to be bound when all user-declared functions are available.UndeclaredVariable An UndeclaredVariable object is created when a reference is encountered to a variable that has not yet been declared.XQueryExpression XQueryExpression represents a compiled query.XQueryFunction A user-defined function in an XQuery moduleXQueryFunctionLibrary An XQueryFunctionLibrary is a function library containing all the user-defined functions available for use within a particular XQuery module: that is, the functions declared in that module, and the functions imported from other modules.XQueryFunctionLibrary.UnresolvedCallable Inner class containing information about a reference to a function whose declaration has not yet been encountered.XQueryParser This class defines extensions to the XPath parser to handle the additional syntax supported in XQueryXQueryParser.Unescaper