org.exist.xquery.value
Class TimeValue
java.lang.Object
org.exist.xquery.value.AtomicValue
org.exist.xquery.value.ComputableValue
org.exist.xquery.value.AbstractDateTimeValue
org.exist.xquery.value.TimeValue
- All Implemented Interfaces:
- Item, Sequence
- public class TimeValue
- extends AbstractDateTimeValue
- Author:
- Wolfgang Meier (wolfgang@exist-db.org), Piotr Kaminski
| Methods inherited from class org.exist.xquery.value.AbstractDateTimeValue |
adjustedToTimezone, compareTo, compareTo, conversionPreference, div, getCanonicalCalendar, getImplicitCalendar, getPart, getStringValue, getTimeInMillis, getTimezone, getTrimmedCalendar, max, min, mult, toJavaObject, validateTimezone, withoutTimezone |
| Methods inherited from class org.exist.xquery.value.AtomicValue |
add, addAll, atomize, clearContext, contains, copyTo, dump, effectiveBooleanValue, endsWith, getCardinality, getDocumentSet, getItemType, getLength, isCached, isPersistentSet, itemAt, iterate, removeDuplicates, setIsCached, setSelfAsContext, startsWith, toNodeSet, toSAX, toSequence, toString, unorderedIterator |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TimeValue
public TimeValue()
throws XPathException
TimeValue
public TimeValue(XMLGregorianCalendar calendar)
throws XPathException
createSameKind
protected AbstractDateTimeValue createSameKind(XMLGregorianCalendar cal)
throws XPathException
- Specified by:
createSameKind in class AbstractDateTimeValue
- Throws:
XPathException
getXMLSchemaType
protected QName getXMLSchemaType()
- Specified by:
getXMLSchemaType in class AbstractDateTimeValue
getType
public int getType()
- Description copied from interface:
Item
- Return the type of this item according to the type constants defined in class
Type.
- Specified by:
getType in interface Item- Overrides:
getType in class AtomicValue
convertTo
public AtomicValue convertTo(int requiredType)
throws XPathException
- Description copied from interface:
Item
- Convert this item into an atomic value, whose type corresponds to
the specified target type. requiredType should be one of the type
constants defined in
Type. An XPathException is thrown
if the conversion is impossible.
- Specified by:
convertTo in interface Item- Specified by:
convertTo in class AbstractDateTimeValue
- Throws:
XPathException
minus
public ComputableValue minus(ComputableValue other)
throws XPathException
- Specified by:
minus in class ComputableValue
- Throws:
XPathException
plus
public ComputableValue plus(ComputableValue other)
throws XPathException
- Overrides:
plus in class AbstractDateTimeValue
- Throws:
XPathException
<oXygen/>
XML Editor
provides support for editing and debugging XQuery
expressions against the eXist XML Database.