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 Object
accept(QOMTreeVisitor visitor, Object data)
Accepts avisitor
and calls the appropriate visit method depending on the type of this QOM node.String
getBindVariableName()
Gets the name of the bind variable.Name
getBindVariableQName()
Gets the name of the bind variable.String
toString()
-
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:
getBindVariableName
in interfaceBindVariableValue
- Returns:
- the bind variable name; non-null
-
accept
public Object accept(QOMTreeVisitor visitor, Object data) throws Exception
Accepts avisitor
and calls the appropriate visit method depending on the type of this QOM node.- Specified by:
accept
in classAbstractQOMNode
- Parameters:
visitor
- the visitor.data
- user defined data, which is passed to the visit method.- Throws:
Exception
-
-