org.exist.xquery.functions
Class FunInScopePrefixes
java.lang.Object
org.exist.xquery.AbstractExpression
org.exist.xquery.PathExpr
org.exist.xquery.Function
org.exist.xquery.BasicFunction
org.exist.xquery.functions.FunInScopePrefixes
- All Implemented Interfaces:
- CompiledXQuery, Expression, CompiledExpression
public class FunInScopePrefixes
- extends BasicFunction
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, SINGLE_STEP_EXECUTION, USE_TREE_TRAVERSAL |
Methods inherited from class org.exist.xquery.Function |
accept, analyze, 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, replaceExpression, replaceLastExpression, reset, resetState, setContext, setSource |
signature
public static final FunctionSignature signature
FunInScopePrefixes
public FunInScopePrefixes(XQueryContext context)
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
collectNamespacePrefixes
public static void collectNamespacePrefixes(ElementImpl element,
Map prefixes)
collectNamespacePrefixes
public static void collectNamespacePrefixes(Element element,
Map prefixes)
collectNamespacePrefixes
public static void collectNamespacePrefixes(ElementImpl element,
Map prefixes)
Copyright (C) Wolfgang Meier. All rights reserved.