Class BindVariableValueImpl
- java.lang.Object
-
- org.apache.jackrabbit.spi.commons.query.qom.AbstractQOMNode
-
- org.apache.jackrabbit.spi.commons.query.qom.StaticOperandImpl
-
- org.apache.jackrabbit.spi.commons.query.qom.BindVariableValueImpl
-
- All Implemented Interfaces:
BindVariableValue,Operand,StaticOperand
public class BindVariableValueImpl extends StaticOperandImpl implements BindVariableValue
BindVariableValueImpl...
-
-
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.StringgetBindVariableName()Gets the name of the bind variable.NamegetBindVariableQName()Gets the name of the bind variable.StringtoString()-
Methods inherited from class org.apache.jackrabbit.spi.commons.query.qom.AbstractQOMNode
getJCRName, getJCRPath, protect, quote, quote
-
-
-
-
Method Detail
-
getBindVariableQName
public Name getBindVariableQName()
Gets the name of the bind variable.- Returns:
- the bind variable name; non-null
-
getBindVariableName
public String getBindVariableName()
Gets the name of the bind variable.- Specified by:
getBindVariableNamein interfaceBindVariableValue- Returns:
- the bind variable name; 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
-
-