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:
 javax.jcr.query.qom.DynamicOperand,javax.jcr.query.qom.Length,javax.jcr.query.qom.Operand
public class LengthImpl extends DynamicOperandImpl implements javax.jcr.query.qom.Length
LengthImpl... 
- 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectaccept(QOMTreeVisitor visitor, java.lang.Object data)Accepts avisitorand calls the appropriate visit method depending on the type of this QOM node.javax.jcr.query.qom.PropertyValuegetPropertyValue()Gets the property value for which to compute the length.java.lang.StringtoString()- 
Methods inherited from class org.apache.jackrabbit.spi.commons.query.qom.DynamicOperandImpl
getSelectorName, getSelectorQName 
 - 
 
 - 
 
- 
- 
Method Detail
- 
getPropertyValue
public javax.jcr.query.qom.PropertyValue getPropertyValue()
Gets the property value for which to compute the length.- Specified by:
 getPropertyValuein interfacejavax.jcr.query.qom.Length- Returns:
 - the property value; non-null
 
 
- 
accept
public java.lang.Object accept(QOMTreeVisitor visitor, java.lang.Object data) throws java.lang.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:
 java.lang.Exception
 
- 
toString
public java.lang.String toString()
- Overrides:
 toStringin classjava.lang.Object
 
 - 
 
 -