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 | 
|---|---|
javax.jcr.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 javax.jcr.Value[] getValues(ScoreNode sn, EvaluationContext context) throws javax.jcr.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 DynamicOperandsn - the current score node.context - the evaluation context.javax.jcr.RepositoryException - if an error occurs while retrieving the value.Copyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.