org.exist.xquery.functions.xmldb
Class XMLDBAbstractCollectionManipulator

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
All Implemented Interfaces:
CompiledXQuery, Expression, CompiledExpression
Direct Known Subclasses:
XMLDBChmodCollection, XMLDBChmodResource, XMLDBCollectionAvailable, XMLDBCopy, XMLDBCreateCollection, XMLDBCreated, XMLDBGetChildCollections, XMLDBGetChildResources, XMLDBHasLock, XMLDBLoadFromPattern, XMLDBMove, XMLDBPermissions, XMLDBRemove, XMLDBRename, XMLDBSetCollectionPermissions, XMLDBSetResourcePermissions, XMLDBSize, XMLDBStore, XMLDBXUpdate

public abstract class XMLDBAbstractCollectionManipulator
extends BasicFunction

Author:
Luigi P. Bai, finder@users.sf.net, 2004, gev, delirium

Field Summary
 
Fields inherited from class org.exist.xquery.Function
BUILTIN_FUNCTION_NS
 
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, POSITIONAL_PREDICATE, SINGLE_STEP_EXECUTION, USE_TREE_TRAVERSAL
 
Constructor Summary
XMLDBAbstractCollectionManipulator(XQueryContext context, FunctionSignature signature)
           
XMLDBAbstractCollectionManipulator(XQueryContext context, FunctionSignature signature, boolean errorIfAbsent)
           
 
Method Summary
 Sequence eval(Sequence[] args, Sequence contextSequence)
          Process the function.
 
Methods inherited from class org.exist.xquery.BasicFunction
eval
 
Methods inherited from class org.exist.xquery.Function
accept, analyze, createFunction, dump, getArgument, getArgumentCount, getArguments, getCardinality, getDependencies, getName, getParent, getSignature, isCalledAs, returnsType, setArguments, setParent, setPrimaryAxis, toString
 
Methods inherited from class org.exist.xquery.PathExpr
add, add, addPath, addPredicate, dump, getColumn, getContext, getDocumentSet, getExpression, getLastExpression, getLength, getLine, getLiteralValue, getPrimaryAxis, isValid, replaceExpression, replaceLastExpression, reset, resetState, setContext, setUseStaticContext
 
Methods inherited from class org.exist.xquery.AbstractExpression
eval, getContextDocSet, getContextId, getExpressionId, getSource, setASTNode, setContextDocSet, setLocation
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.exist.xquery.CompiledXQuery
eval, getSource
 

Constructor Detail

XMLDBAbstractCollectionManipulator

public XMLDBAbstractCollectionManipulator(XQueryContext context,
                                          FunctionSignature signature)

XMLDBAbstractCollectionManipulator

public XMLDBAbstractCollectionManipulator(XQueryContext context,
                                          FunctionSignature signature,
                                          boolean errorIfAbsent)
Method Detail

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
Throws:
XPathException


Copyright (C) Wolfgang Meier. All rights reserved.