Class LengthImpl
- java.lang.Object
-
- org.apache.jackrabbit.spi.commons.query.qom.AbstractQOMNode
-
- org.apache.jackrabbit.spi.commons.query.qom.DynamicOperandImpl
-
- org.apache.jackrabbit.spi.commons.query.qom.LengthImpl
-
- All Implemented Interfaces:
DynamicOperand,Length,Operand
public class LengthImpl extends DynamicOperandImpl implements Length
LengthImpl...
-
-
Field Summary
-
Fields inherited from class org.apache.jackrabbit.spi.commons.query.qom.AbstractQOMNode
resolver
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectaccept(QOMTreeVisitor visitor, Object data)Accepts avisitorand calls the appropriate visit method depending on the type of this QOM node.PropertyValuegetPropertyValue()Gets the property value for which to compute the length.StringtoString()-
Methods inherited from class org.apache.jackrabbit.spi.commons.query.qom.DynamicOperandImpl
getSelectorName, getSelectorQName
-
Methods inherited from class org.apache.jackrabbit.spi.commons.query.qom.AbstractQOMNode
getJCRName, getJCRPath, protect, quote, quote
-
-
-
-
Method Detail
-
getPropertyValue
public PropertyValue getPropertyValue()
Gets the property value for which to compute the length.- Specified by:
getPropertyValuein interfaceLength- Returns:
- the property value; non-null
-
accept
public Object accept(QOMTreeVisitor visitor, Object data) throws Exception
Accepts avisitorand calls the appropriate visit method depending on the type of this QOM node.- Specified by:
acceptin classAbstractQOMNode- Parameters:
visitor- the visitor.data- user defined data, which is passed to the visit method.- Throws:
Exception
-
-