public abstract class SaxonXQDataFactory extends Object implements XQDataFactory
For Javadoc specifications of the public methods in this class, see the XQJ documentation.
| Constructor and Description |
|---|
SaxonXQDataFactory() |
abstract Configuration getConfiguration()
abstract XQCommonHandler getCommonHandler()
static int mapSaxonTypeToXQJ(int type)
type - the Saxon type codepublic XQItemType createAtomicItemType(int baseType) throws XQException
createAtomicItemType in interface XQDataFactorybaseType - the built-in atomic type, typically a constant such as
XQItemType.XQBASETYPE_BOOLEANXQException - if the supplied baseType parameter is not an atomic typepublic XQItem createItem(XQItem item)
createItem in interface XQDataFactorypublic XQItem createItemFromAtomicValue(String value, XQItemType type) throws XQException
createItemFromAtomicValue in interface XQDataFactoryXQExceptionpublic XQItem createItemFromBoolean(boolean value, XQItemType type) throws XQException
createItemFromBoolean in interface XQDataFactoryXQExceptionpublic XQItem createItemFromByte(byte value, XQItemType type) throws XQException
createItemFromByte in interface XQDataFactoryXQExceptionpublic XQItem createItemFromDocument(InputSource source) throws XQException, IOException
createItemFromDocument in interface XQDataFactoryXQExceptionIOExceptionpublic XQItem createItemFromDouble(double value, XQItemType type) throws XQException
createItemFromDouble in interface XQDataFactoryXQExceptionpublic XQItem createItemFromFloat(float value, XQItemType type) throws XQException
createItemFromFloat in interface XQDataFactoryXQExceptionpublic XQItem createItemFromInt(int value, XQItemType type) throws XQException
createItemFromInt in interface XQDataFactoryXQExceptionpublic XQItem createItemFromLong(long value, XQItemType type) throws XQException
createItemFromLong in interface XQDataFactoryXQExceptionpublic XQItem createItemFromNode(Node value, XQItemType type) throws XQException
createItemFromNode in interface XQDataFactoryXQExceptionpublic XQItem createItemFromObject(Object value, XQItemType type) throws XQException
createItemFromObject in interface XQDataFactoryXQExceptionpublic XQItem createItemFromShort(short value, XQItemType type) throws XQException
createItemFromShort in interface XQDataFactoryXQExceptionpublic XQItemType createItemType(int itemkind, int basetype, QName nodename) throws XQException
createItemType in interface XQDataFactoryXQExceptionpublic XQItemType createItemType(int itemkind, int basetype, QName nodename, QName typename, URI schemaURI, boolean nillable) throws XQException
createItemType in interface XQDataFactoryXQExceptionpublic XQSequence createSequence(Iterator i) throws XQException
createSequence in interface XQDataFactoryXQExceptionpublic XQSequence createSequence(XQSequence s) throws XQException
createSequence in interface XQDataFactoryXQExceptionpublic XQSequenceType createSequenceType(XQItemType item, int occurrence) throws XQException
createSequenceType in interface XQDataFactoryXQException