net.sf.saxon.javax.xml.xquery
Interface XQDataFactory

All Known Subinterfaces:
XQConnection, XQDataSource
All Known Implementing Classes:
SaxonXQConnection, SaxonXQDataFactory, SaxonXQDataSource

public interface XQDataFactory

XQJ interfaces reconstructed from version 0.5 documentation


Method Summary
 XQItemType createAtomicItemType(int baseType)
           
 XQItem createItem(XQItem item)
           
 XQItem createItemFromAtomicValue(java.lang.String value, XQItemType type)
           
 XQItem createItemFromBoolean(boolean value, XQItemType type)
           
 XQItem createItemFromByte(byte value, XQItemType type)
           
 XQItem createItemFromDocument(org.xml.sax.InputSource value)
           
 XQItem createItemFromDouble(double value, XQItemType type)
           
 XQItem createItemFromFloat(float value, XQItemType type)
           
 XQItem createItemFromInt(int value, XQItemType type)
           
 XQItem createItemFromLong(long value, XQItemType type)
           
 XQItem createItemFromNode(org.w3c.dom.Node value, XQItemType type)
           
 XQItem createItemFromObject(java.lang.Object value, XQItemType type)
           
 XQItem createItemFromShort(short value, XQItemType type)
           
 XQItemType createItemType(int itemkind, int basetype, javax.xml.namespace.QName nodename)
           
 XQItemType createItemType(int itemkind, int basetype, javax.xml.namespace.QName nodename, javax.xml.namespace.QName typename, java.net.URI schemaURI, boolean nillable)
           
 XQSequence createSequence(java.util.Iterator i)
           
 XQSequence createSequence(XQSequence s)
           
 XQSequenceType createSequenceType(XQItemType item, int occurrence)
           
 

Method Detail

createAtomicItemType

public XQItemType createAtomicItemType(int baseType)
                                throws XQException
Throws:
XQException

createItem

public XQItem createItem(XQItem item)
                  throws XQException
Throws:
XQException

createItemFromAtomicValue

public XQItem createItemFromAtomicValue(java.lang.String value,
                                        XQItemType type)
                                 throws XQException
Throws:
XQException

createItemFromBoolean

public XQItem createItemFromBoolean(boolean value,
                                    XQItemType type)
                             throws XQException
Throws:
XQException

createItemFromByte

public XQItem createItemFromByte(byte value,
                                 XQItemType type)
                          throws XQException
Throws:
XQException

createItemFromDocument

public XQItem createItemFromDocument(org.xml.sax.InputSource value)
                              throws XQException,
                                     java.io.IOException
Throws:
XQException
java.io.IOException

createItemFromDouble

public XQItem createItemFromDouble(double value,
                                   XQItemType type)
                            throws XQException
Throws:
XQException

createItemFromFloat

public XQItem createItemFromFloat(float value,
                                  XQItemType type)
                           throws XQException
Throws:
XQException

createItemFromInt

public XQItem createItemFromInt(int value,
                                XQItemType type)
                         throws XQException
Throws:
XQException

createItemFromLong

public XQItem createItemFromLong(long value,
                                 XQItemType type)
                          throws XQException
Throws:
XQException

createItemFromNode

public XQItem createItemFromNode(org.w3c.dom.Node value,
                                 XQItemType type)
                          throws XQException
Throws:
XQException

createItemFromObject

public XQItem createItemFromObject(java.lang.Object value,
                                   XQItemType type)
                            throws XQException
Throws:
XQException

createItemFromShort

public XQItem createItemFromShort(short value,
                                  XQItemType type)
                           throws XQException
Throws:
XQException

createItemType

public XQItemType createItemType(int itemkind,
                                 int basetype,
                                 javax.xml.namespace.QName nodename)
                          throws XQException
Throws:
XQException

createItemType

public XQItemType createItemType(int itemkind,
                                 int basetype,
                                 javax.xml.namespace.QName nodename,
                                 javax.xml.namespace.QName typename,
                                 java.net.URI schemaURI,
                                 boolean nillable)
                          throws XQException
Throws:
XQException

createSequence

public XQSequence createSequence(java.util.Iterator i)
                          throws XQException
Throws:
XQException

createSequence

public XQSequence createSequence(XQSequence s)
                          throws XQException
Throws:
XQException

createSequenceType

public XQSequenceType createSequenceType(XQItemType item,
                                         int occurrence)
                                  throws XQException
Throws:
XQException