org.exist.xquery.functions.xmldb
Class XMLDBMove

java.lang.Object
  extended by org.exist.xquery.AbstractExpression
      extended by org.exist.xquery.PathExpr
          extended by org.exist.xquery.Function
              extended by org.exist.xquery.BasicFunction
                  extended by org.exist.xquery.functions.xmldb.XMLDBAbstractCollectionManipulator
                      extended by org.exist.xquery.functions.xmldb.XMLDBMove
All Implemented Interfaces:
CompiledXQuery, Expression, RewritableExpression, org.xmldb.api.base.CompiledExpression

public class XMLDBMove
extends XMLDBAbstractCollectionManipulator


Field Summary
protected static FunctionParameterSequenceType ARG_RESOURCE
           
protected static FunctionParameterSequenceType ARG_SOURCE
           
protected static FunctionParameterSequenceType ARG_TARGET
           
protected static org.apache.log4j.Logger logger
           
static FunctionSignature[] signatures
           
 
Fields inherited from class org.exist.xquery.Function
BUILTIN_FUNCTION_NS, mySignature
 
Fields inherited from class org.exist.xquery.PathExpr
inPredicate, keepVirtual, LOG, staticContext, steps
 
Fields inherited from class org.exist.xquery.AbstractExpression
column, context, contextDocSet, contextId, line, unordered
 
Fields inherited from interface org.exist.xquery.Expression
DOT_TEST, EXPRESSION_ID_INVALID, IGNORE_CONTEXT, IN_NODE_CONSTRUCTOR, IN_PREDICATE, IN_UPDATE, IN_WHERE_CLAUSE, NEED_INDEX_INFO, NO_CONTEXT_ID, NON_STREAMABLE, POSITIONAL_PREDICATE, SINGLE_STEP_EXECUTION, UNORDERED, USE_TREE_TRAVERSAL
 
Constructor Summary
XMLDBMove(XQueryContext context, FunctionSignature signature)
           
 
Method Summary
 Sequence evalWithCollection(org.xmldb.api.base.Collection collection, Sequence[] args, Sequence contextSequence)
           
 
Methods inherited from class org.exist.xquery.functions.xmldb.XMLDBAbstractCollectionManipulator
createCollection, createCollectionPath, createLocalCollection, eval, getCollectionParameterNumber, setCollectionParameterNumber
 
Methods inherited from class org.exist.xquery.BasicFunction
eval
 
Methods inherited from class org.exist.xquery.Function
accept, analyze, checkArgument, checkArguments, createFunction, dump, getArgument, getArgumentCount, getArguments, getCardinality, getDependencies, getName, getParent, getParentModule, getSignature, isCalledAs, returnsType, setArguments, setParent, setPrimaryAxis, simplify, toString
 
Methods inherited from class org.exist.xquery.PathExpr
add, add, addPath, addPredicate, allowMixNodesInReturn, dump, getColumn, getContext, getDocumentSet, getExpression, getLastExpression, getLength, getLine, getLiteralValue, getPrimaryAxis, getSubExpression, getSubExpressionCount, isValid, replaceExpression, replaceLastExpression, reset, resetState, setContext, setUseStaticContext
 
Methods inherited from class org.exist.xquery.AbstractExpression
eval, getContextDocSet, getContextId, getExpressionId, getSource, match, needsReset, setASTNode, setContextDocSet, setContextId, setLocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.exist.xquery.CompiledXQuery
eval, getSource
 

Field Detail

logger

protected static final org.apache.log4j.Logger logger

ARG_SOURCE

protected static final FunctionParameterSequenceType ARG_SOURCE

ARG_TARGET

protected static final FunctionParameterSequenceType ARG_TARGET

ARG_RESOURCE

protected static final FunctionParameterSequenceType ARG_RESOURCE

signatures

public static final FunctionSignature[] signatures
Constructor Detail

XMLDBMove

public XMLDBMove(XQueryContext context,
                 FunctionSignature signature)
Method Detail

evalWithCollection

public Sequence evalWithCollection(org.xmldb.api.base.Collection collection,
                                   Sequence[] args,
                                   Sequence contextSequence)
                            throws XPathException
Specified by:
evalWithCollection in class XMLDBAbstractCollectionManipulator
Throws:
XPathException