public class NodeNameOperand extends DynamicOperand
NodeNameOperand
implements a node name operand.EMPTY
Constructor and Description |
---|
NodeNameOperand() |
Modifier and Type | Method and Description |
---|---|
javax.jcr.Value[] |
getValues(ScoreNode sn,
EvaluationContext context)
Returns the name of the node denoted by the given score node
sn . |
public javax.jcr.Value[] getValues(ScoreNode sn, EvaluationContext context) throws javax.jcr.RepositoryException
sn
.getValues
in class DynamicOperand
sn
- the score node.context
- the evaluation context.javax.jcr.RepositoryException
- if an error occurs while reading the name.Copyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.