|
MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectch.ethz.mxquery.xdmio.XDMAtomicItemFactory
public class XDMAtomicItemFactory
Factory to create items of all atomic types in XDM
| Constructor Summary | |
|---|---|
XDMAtomicItemFactory()
|
|
| Method Summary | |
|---|---|
static XDMIterator |
createAnyURI(java.lang.String uri)
Creates an AnyURI Item |
static XDMIterator |
createBase64Binary(byte[] binValue)
Creates a Base 64 Binary Item |
static XDMIterator |
createBase64Binary(java.lang.String base64Val)
Creates a Base 64 Binary Item |
static XDMIterator |
createBoolean(boolean val)
Creates a Boolean Item |
static XDMIterator |
createByte(byte bVal)
Creates a Byte Item |
static XDMIterator |
createDate(java.lang.String dVal)
Creates a Date Item |
static XDMIterator |
createDateTime(java.lang.String dTimeVal)
Creates a DateTime Item |
static XDMIterator |
createDecimal(MXQueryBigDecimal dVal)
Creates a Decimal Item |
static XDMIterator |
createDouble(MXQueryDouble dVal)
Creates a Double Item |
static XDMIterator |
createDuration(java.lang.String durVal)
Creates a Duration Item |
static XDMIterator |
createFloat(MXQueryFloat fVal)
Creates a Float Item |
static XDMIterator |
createGDay(int gDayVal)
Creates a Gregorian Day Item |
static XDMIterator |
createGMonth(int gMonthVal)
Creates a Gregorian Month Item |
static XDMIterator |
createGMonthDay(int gMonthVal,
int gDayVal)
Creates a Gregorian MonthDay Item |
static XDMIterator |
createGYear(int gYearVal)
Creates a Gregorian Year Item |
static XDMIterator |
createGYearMonth(int gYearVal,
int gMonthVal)
Creates a Gregorian YearMonth Item |
static XDMIterator |
createHexBinary(byte[] binValue)
Creates a Hex Binary Item from a binary representation |
static XDMIterator |
createHexBinary(java.lang.String hexVal)
Creates a Hex Binary Item from a string representation |
static XDMIterator |
createInt(int intVal)
Creates an Int Item |
static XDMIterator |
createInteger(long intVal)
Creates an Integer Item |
static XDMIterator |
createLong(long longVal)
Creates a Long Item |
static XDMIterator |
createNCName(java.lang.String ncname)
Creates a NCName Item |
static XDMIterator |
createNegativeInteger(long longVal)
Creates a Negative Integer Item |
static XDMIterator |
createNonNegativeInteger(long longVal)
Creates a Non-Negative Integer Item |
static XDMIterator |
createNonPositiveInteger(long longVal)
Creates a Non-Positive Integer Item |
static XDMIterator |
createPositiveInteger(long longVal)
Creates a Positive Integer Item |
static XDMIterator |
createQName(java.lang.String prefix,
java.lang.String localName)
Creates a QName Item |
static XDMIterator |
createQName(java.lang.String namespace,
java.lang.String prefix,
java.lang.String localName)
Creates a qualified QName Item |
static XDMIterator |
createShort(short shortVal)
Creates a Short Item |
static XDMIterator |
createString(java.lang.String str)
Creates a String Item |
static XDMIterator |
createTime(java.lang.String timeVal)
Creates a Time Item |
static XDMIterator |
createUnsignedByte(short ubVal)
Creates an Unsigned Byte Item |
static XDMIterator |
createUnsignedInt(long usVal)
Creates an Unsigned Int Item |
static XDMIterator |
createUnsignedLong(long ulVal)
Creates an Unsigned Long Item. |
static XDMIterator |
createUnsignedShort(int uiVal)
Creates an Unsigned Short Item |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XDMAtomicItemFactory()
| Method Detail |
|---|
public static XDMIterator createAnyURI(java.lang.String uri)
throws MXQueryException
uri - the String to be represented as anyURI item
MXQueryException
public static XDMIterator createBase64Binary(java.lang.String base64Val)
throws MXQueryException
base64Val - String representation of a Base 64 value
MXQueryException
public static XDMIterator createBase64Binary(byte[] binValue)
throws MXQueryException
binValue - binary values to be represented as Base 64
MXQueryException
public static XDMIterator createBoolean(boolean val)
throws MXQueryException
val - the boolean value for the item
MXQueryException
public static XDMIterator createByte(byte bVal)
throws MXQueryException
bVal - the byte value for the item
MXQueryException
public static XDMIterator createDate(java.lang.String dVal)
throws MXQueryException
dVal - a String expressing the date for this item (XML Schema/XQuery format)
MXQueryException
public static XDMIterator createDateTime(java.lang.String dTimeVal)
throws MXQueryException
dTimeVal - a String expressing the dateTime for this item (XML Schema/XQuery format)
MXQueryException
public static XDMIterator createDuration(java.lang.String durVal)
throws MXQueryException
durVal - a String expressing the duration for this item (XML Schema/XQuery format)
MXQueryException
public static XDMIterator createDecimal(MXQueryBigDecimal dVal)
throws MXQueryException
dVal - a MXQueryBigDecimal expressing the decimal value for this item
MXQueryException
public static XDMIterator createDouble(MXQueryDouble dVal)
throws MXQueryException
dVal - a MXQueryDouble expressing the double value for this item
MXQueryException
public static XDMIterator createFloat(MXQueryFloat fVal)
throws MXQueryException
fVal - a MXQueryFloat expressing the float value for this item
MXQueryException
public static XDMIterator createGDay(int gDayVal)
throws MXQueryException
gDayVal - the day number (1-31) expressing the Gregorian Day for this item
MXQueryException
public static XDMIterator createGMonth(int gMonthVal)
throws MXQueryException
gMonthVal - the month number (1-12) expressing the Gregorian Month for this item
MXQueryException
public static XDMIterator createGMonthDay(int gMonthVal,
int gDayVal)
throws MXQueryException
gMonthVal - gMonthVal the month number (1-12) expressing the Gregorian Month for this itemgDayVal - the day number (1-31) expressing the Gregorian Day for this item
MXQueryException
public static XDMIterator createGYear(int gYearVal)
throws MXQueryException
gYearVal - the year number expressing the Gregorian Year for this item
MXQueryException
public static XDMIterator createGYearMonth(int gYearVal,
int gMonthVal)
throws MXQueryException
gYearVal - gYearVal the year number expressing the Gregorian Year for this itemgMonthVal - gMonthVal the month number (1-12) expressing the Gregorian Month for this item
MXQueryException
public static XDMIterator createHexBinary(java.lang.String hexVal)
throws MXQueryException
hexVal - a string expressing the hex binary value for this item
MXQueryException
public static XDMIterator createHexBinary(byte[] binValue)
throws MXQueryException
binValue - a byte array expressing the hex binary value for this item
MXQueryException
public static XDMIterator createInt(int intVal)
throws MXQueryException
intVal - an integer expressing the int value for this item
MXQueryException
public static XDMIterator createInteger(long intVal)
throws MXQueryException
intVal - an integer expressing the integer value for this item
MXQueryException
public static XDMIterator createLong(long longVal)
throws MXQueryException
longVal - a long expressing the long value for this item
MXQueryException
public static XDMIterator createNCName(java.lang.String ncname)
throws MXQueryException
ncname - a String expressing the NCNAME value for this item
MXQueryException
public static XDMIterator createNegativeInteger(long longVal)
throws MXQueryException
longVal - a long expressing the negative integer value for this item
MXQueryException
public static XDMIterator createNonNegativeInteger(long longVal)
throws MXQueryException
longVal - a long expressing the non-negative integer value for this item
MXQueryException
public static XDMIterator createNonPositiveInteger(long longVal)
throws MXQueryException
longVal - a long expressing the non-positive integer value for this item
MXQueryException
public static XDMIterator createPositiveInteger(long longVal)
throws MXQueryException
longVal - a long expressing the positive integer value for this item
MXQueryException
public static XDMIterator createQName(java.lang.String prefix,
java.lang.String localName)
throws MXQueryException
prefix - a string representing the namespace prefixlocalName - a string representing the local name
MXQueryException
public static XDMIterator createQName(java.lang.String namespace,
java.lang.String prefix,
java.lang.String localName)
throws MXQueryException
namespace - a string representing the namespace URIprefix - a string representing the namespace prefixlocalName - a string representing the local name
MXQueryException
public static XDMIterator createShort(short shortVal)
throws MXQueryException
shortVal - a short expressing the short value for this item
MXQueryException
public static XDMIterator createString(java.lang.String str)
throws MXQueryException
str - a String expressing the string value for this item
MXQueryException
public static XDMIterator createTime(java.lang.String timeVal)
throws MXQueryException
timeVal - a string expressing the time value for this item (XML Schema/XQuery format)
MXQueryException
public static XDMIterator createUnsignedByte(short ubVal)
throws MXQueryException
ubVal - a short expressing the unsigned byte value for this item
MXQueryException
public static XDMIterator createUnsignedInt(long usVal)
throws MXQueryException
usVal - a long expressing the unsigned int value for this item
MXQueryException
public static XDMIterator createUnsignedLong(long ulVal)
throws MXQueryException
ulVal - a long expressing the unsigned long value for this item
MXQueryException
public static XDMIterator createUnsignedShort(int uiVal)
throws MXQueryException
uiVal - an integer expressing the unsigned short value for this item
MXQueryException
|
MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||