org.apache.jackrabbit.spi.commons.query.qom
Class BindVariableValueImpl

java.lang.Object
  extended by org.apache.jackrabbit.spi.commons.query.qom.AbstractQOMNode
      extended by org.apache.jackrabbit.spi.commons.query.qom.StaticOperandImpl
          extended by 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
 Object accept(QOMTreeVisitor visitor, Object data)
          Accepts a visitor 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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 interface BindVariableValue
Returns:
the bind variable name; non-null

accept

public Object accept(QOMTreeVisitor visitor,
                     Object data)
              throws Exception
Accepts a visitor and calls the appropriate visit method depending on the type of this QOM node.

Specified by:
accept in class AbstractQOMNode
Parameters:
visitor - the visitor.
data - user defined data, which is passed to the visit method.
Throws:
Exception

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.