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