org.apache.jackrabbit.spi.commons.query.sql
Class ASTLiteral

java.lang.Object
  extended by org.apache.jackrabbit.spi.commons.query.sql.SimpleNode
      extended by org.apache.jackrabbit.spi.commons.query.sql.ASTLiteral
All Implemented Interfaces:
Node

public class ASTLiteral
extends SimpleNode


Field Summary
 
Fields inherited from class org.apache.jackrabbit.spi.commons.query.sql.SimpleNode
children, id, parent, parser
 
Constructor Summary
ASTLiteral(int id)
           
ASTLiteral(JCRSQLParser p, int id)
           
 
Method Summary
 int getType()
           
 String getValue()
           
 Object jjtAccept(JCRSQLParserVisitor visitor, Object data)
          Accept the visitor
 void setType(int type)
           
 void setValue(String value)
           
 String toString()
           
 
Methods inherited from class org.apache.jackrabbit.spi.commons.query.sql.SimpleNode
childrenAccept, dump, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ASTLiteral

public ASTLiteral(int id)

ASTLiteral

public ASTLiteral(JCRSQLParser p,
                  int id)
Method Detail

getValue

public String getValue()

setValue

public void setValue(String value)

getType

public int getType()

setType

public void setType(int type)

jjtAccept

public Object jjtAccept(JCRSQLParserVisitor visitor,
                        Object data)
Accept the visitor. *

Specified by:
jjtAccept in interface Node
Overrides:
jjtAccept in class SimpleNode

toString

public String toString()
Overrides:
toString in class SimpleNode


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