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