Package net.sf.saxon.xqj

This package contains an implementation of the XQJ specification defined in JSR 225.

See:
          Description

Interface Summary
ObjectConverter This interface is based on the "CommonHandler" concept defined in early drafts of XQJ.
SaxonXQItemAccessor All Saxon implementations of XQItemAccessor must implement this interface
 

Class Summary
Closable This class represents the common ability of many XQJ classes to be closed.
SaxonDuration Saxon implementation of the JAXP class javax.xml.datatype.Duration.
SaxonXMLGregorianCalendar Saxon implementation of the JAXP class javax.xml.datatype.XMLGregorianCalendar.
SaxonXQConnection Saxon implementation of the XQL interface XQConnection.
SaxonXQDataFactory Saxon implementation of the XQJ interface XQDataFactory.
SaxonXQDataSource Saxon implementation of the XQJ XQDataSource interface.
SaxonXQDynamicContext Saxon implementation of the XQJ DynamicContext interface
SaxonXQExpression Saxon implementation of the XQJ XQExpression interface
SaxonXQForwardSequence The class is a Saxon implementation of the XQJ interface XQResultSequence.
SaxonXQItem This Saxon class is used to implement both the XQItem and XQResultItem interfaces in XQJ.
SaxonXQItemType Saxon implementation of the XQJ XQItemType interface
SaxonXQMetaData Saxon implementation of the XQMetaData interface
SaxonXQPreparedExpression Saxon implementation of the XQJ interface XQPreparedExpression.
SaxonXQSequence Saxon implementation of the XQSequence interface in XQJ, which represents an XDM sequence together with a current position.
SaxonXQSequenceType  
SaxonXQStaticContext Saxon implementation of the XQJ XQStaticContext interface
StandardObjectConverter This class provides all the conversion methods used to convert data between XDM values and Java values in the XQJ API.
 

Package net.sf.saxon.xqj Description

This package contains an implementation of the XQJ specification defined in JSR 225. This API is not yet part of the Java Standard Edition platform, but it is widely supported by a variety of Java-based XQuery engines.

Saxon's implementation of the XQDataSource class is SaxonXQDataSource. Generally, this is the only class that applications need to access directly (all other access can be done by using standard XQJ interfaces). However, if there is a need to mix XQuery access with other Saxon functionality such as schema processing, then it is often useful to cast the XQJ objects to their underlying Saxon implementation classes, which make additional methods available.

In general it is not possible to mix Saxon implementation classes of the XQJ interface with implementation classes from other vendors. That is, if an interface specifies that a value of an XQJ type must be passed as an argument, Saxon in general requires the value to belong to a Saxon implementation of that interface.

Michael H. Kay
Saxonica Limited
30 July 2010



Copyright (c) 2004-2010 Saxonica Limited. All rights reserved.