org.sql.generation.implementation.grammar.factories
Class DefaultLiteralFactory

java.lang.Object
  extended by org.sql.generation.implementation.grammar.factories.DefaultLiteralFactory
All Implemented Interfaces:
LiteralFactory

public class DefaultLiteralFactory
extends Object
implements LiteralFactory

Author:
Stanislav Muhametsin

Constructor Summary
DefaultLiteralFactory()
           
 
Method Summary
 DateTimeLiteral dt(Date date)
           
 SQLFunctionLiteral func(String name, ValueExpression... parameters)
           
 DirectLiteral l(String literalContents)
           
 NumericLiteral n(Number number)
           
 DirectLiteral param()
           
 StringLiteral s(String literal)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultLiteralFactory

public DefaultLiteralFactory()
Method Detail

l

public DirectLiteral l(String literalContents)
Specified by:
l in interface LiteralFactory

param

public DirectLiteral param()
Specified by:
param in interface LiteralFactory

s

public StringLiteral s(String literal)
Specified by:
s in interface LiteralFactory

dt

public DateTimeLiteral dt(Date date)
Specified by:
dt in interface LiteralFactory

n

public NumericLiteral n(Number number)
Specified by:
n in interface LiteralFactory

func

public SQLFunctionLiteral func(String name,
                               ValueExpression... parameters)
Specified by:
func in interface LiteralFactory


Copyright © 2010. All Rights Reserved.