Class NodeNameOperand
- java.lang.Object
-
- org.apache.jackrabbit.core.query.lucene.constraint.DynamicOperand
-
- org.apache.jackrabbit.core.query.lucene.constraint.NodeNameOperand
-
public class NodeNameOperand extends DynamicOperand
NodeNameOperandimplements a node name operand.
-
-
Field Summary
-
Fields inherited from class org.apache.jackrabbit.core.query.lucene.constraint.DynamicOperand
EMPTY
-
-
Constructor Summary
Constructors Constructor Description NodeNameOperand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Value[]getValues(ScoreNode sn, EvaluationContext context)Returns the name of the node denoted by the given score nodesn.
-
-
-
Method Detail
-
getValues
public Value[] getValues(ScoreNode sn, EvaluationContext context) throws RepositoryException
Returns the name of the node denoted by the given score nodesn.- Specified by:
getValuesin classDynamicOperand- Parameters:
sn- the score node.context- the evaluation context.- Returns:
- the node name.
- Throws:
RepositoryException- if an error occurs while reading the name.
-
-