public class LengthOperand extends DynamicOperand
LengthOperand
implements a length operand.EMPTY
Constructor and Description |
---|
LengthOperand(PropertyValueOperand property)
Creates a new length operand.
|
Modifier and Type | Method and Description |
---|---|
Value[] |
getValues(ScoreNode sn,
EvaluationContext context)
Returns the values for the given score node
sn of this
dynamic operand. |
public LengthOperand(PropertyValueOperand property)
property
- the operand for which to return the length.public Value[] getValues(ScoreNode sn, EvaluationContext context) throws RepositoryException
sn
of this
dynamic operand. If there are no values for the given score node, then
an empty array is returned.getValues
in class DynamicOperand
sn
- the current score node.context
- the evaluation context.RepositoryException
- if an error occurs while retrieving the value.Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.