net.sourceforge.wurfl.lang.oneparam.string
Class Constant<V>

java.lang.Object
  extended by net.sourceforge.wurfl.lang.twoparam.TwoParamOp<V,Curry,R>
      extended by net.sourceforge.wurfl.lang.oneparam.OneParamOp<V,String>
          extended by net.sourceforge.wurfl.lang.oneparam.string.Constant<V>

public class Constant<V>
extends OneParamOp<V,String>

Return a constant string value.


Nested Class Summary
 
Nested classes/interfaces inherited from class net.sourceforge.wurfl.lang.oneparam.OneParamOp
OneParamOp.Type
 
Field Summary
static Constant EMPTY_OP
           
static Constant NULL_OP
           
 
Fields inherited from class net.sourceforge.wurfl.lang.twoparam.TwoParamOp
logger
 
Method Summary
 String execute(V a)
           
static StringOp get(String val)
           
static Constant getConstant(String val)
           
 String getDescription()
           
static StringOp nullOp()
           
 String toString()
           
 
Methods inherited from class net.sourceforge.wurfl.lang.oneparam.OneParamOp
execute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NULL_OP

public static final Constant NULL_OP

EMPTY_OP

public static final Constant EMPTY_OP
Method Detail

execute

public String execute(V a)
Specified by:
execute in class OneParamOp<V,String>

getDescription

public String getDescription()

toString

public String toString()
Overrides:
toString in class Object

getConstant

public static Constant getConstant(String val)

nullOp

public static StringOp nullOp()

get

public static StringOp get(String val)


Copyright © 2012 ScientiaMobile Inc.. All Rights Reserved.