org.exist.xquery.functions
Class FunGetDateTimeComponent
java.lang.Object
org.exist.xquery.AbstractExpression
org.exist.xquery.PathExpr
org.exist.xquery.Function
org.exist.xquery.BasicFunction
org.exist.xquery.functions.FunGetDateTimeComponent
- All Implemented Interfaces:
- CompiledXQuery, Expression
- public class FunGetDateTimeComponent
- extends BasicFunction
- Author:
- wolf
| Methods inherited from class org.exist.xquery.Function |
analyze, checkArgument, checkArguments, createFunction, dump, getArgument, getArgumentCount, getArguments, getASTNode, getCardinality, getDependencies, getName, getParent, getSignature, isCalledAs, returnsType, setArguments, setASTNode, setParent, setPrimaryAxis, toString |
| Methods inherited from class org.exist.xquery.PathExpr |
add, add, addPath, addPredicate, dump, getContext, getDocumentSet, getExpression, getLastExpression, getLength, getLiteralValue, getSource, isValid, replaceLastExpression, reset, resetState, setContext, setSource |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
fnGetDayFromDateTime
public static final FunctionSignature fnGetDayFromDateTime
fnGetMonthFromDateTime
public static final FunctionSignature fnGetMonthFromDateTime
fnGetYearFromDateTime
public static final FunctionSignature fnGetYearFromDateTime
fnHoursFromDateTime
public static final FunctionSignature fnHoursFromDateTime
fnMinutesFromDateTime
public static final FunctionSignature fnMinutesFromDateTime
fnSecondsFromDateTime
public static final FunctionSignature fnSecondsFromDateTime
fnTimezoneFromDateTime
public static final FunctionSignature fnTimezoneFromDateTime
FunGetDateTimeComponent
public FunGetDateTimeComponent(XQueryContext context,
FunctionSignature signature)
- Parameters:
context - signature -
eval
public Sequence eval(Sequence[] args,
Sequence contextSequence)
throws XPathException
- Description copied from class:
BasicFunction
- Process the function. All arguments are passed in the array args. The number of
arguments, their type and cardinality have already been checked to match
the function signature.
- Specified by:
eval in class BasicFunction
- Parameters:
args - contextSequence -
- Returns:
-
- Throws:
XPathException
<oXygen/>
XML Editor
provides support for editing and debugging XQuery
expressions against the eXist XML Database.