org.exist.xquery.functions
Class ExtPhrase
java.lang.Object
org.exist.xquery.AbstractExpression
org.exist.xquery.PathExpr
org.exist.xquery.Function
org.exist.xquery.functions.ExtFulltext
org.exist.xquery.functions.ExtPhrase
- All Implemented Interfaces:
- CompiledExpression, CompiledXQuery, Expression
- public class ExtPhrase
- extends ExtFulltext
phrase() function : search an exact phrase in a NodeSet
- Author:
- Bruno Chatel (March 30, 2005)
Methods inherited from class org.exist.xquery.Function |
createFunction, getArgument, getArgumentCount, getArguments, getASTNode, getCardinality, getName, getParent, getSignature, isCalledAs, setArguments, setASTNode, setParent, setPrimaryAxis |
Methods inherited from class org.exist.xquery.PathExpr |
accept, add, add, addPath, addPredicate, dump, getContext, getDocumentSet, getExpression, getLastExpression, getLength, getLiteralValue, getSource, isValid, replaceLastExpression, reset, setContext, setSource |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ExtPhrase
public ExtPhrase(XQueryContext context)
- Parameters:
context
-
evalQuery
public Sequence evalQuery(java.lang.String searchArg,
NodeSet nodes)
throws XPathException
- Overrides:
evalQuery
in class ExtFulltext
- Parameters:
searchArg
- nodes
-
- Throws:
XPathException
dump
public void dump(ExpressionDumper dumper)
- Description copied from interface:
Expression
- Write a diagnostic dump of the expression to the passed
ExpressionDumper
.
- Specified by:
dump
in interface Expression
- Overrides:
dump
in class ExtFulltext
toString
public java.lang.String toString()
- Overrides:
toString
in class ExtFulltext
Copyright (C) Wolfgang Meier. All rights reserved.