org.apache.jackrabbit.core.query.lucene.constraint
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
NodeNameOperand
implements a node name operand.
Fields inherited from class org.apache.jackrabbit.core.query.lucene.constraint.DynamicOperand |
EMPTY |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NodeNameOperand
public NodeNameOperand()
getValues
public Value[] getValues(ScoreNode sn,
EvaluationContext context)
throws RepositoryException
- Returns the name of the node denoted by the given score node
sn
.
- Specified by:
getValues
in class DynamicOperand
- Parameters:
sn
- the score node.context
- the evaluation context.
- Returns:
- the node name.
- Throws:
RepositoryException
- if an error occurs while reading the name.
Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.