org.springmodules.validation.valang.functions
Class EnumLiteralFunction

java.lang.Object
  extended by org.springmodules.validation.valang.functions.LiteralFunction
      extended by org.springmodules.validation.valang.functions.EnumLiteralFunction
All Implemented Interfaces:
Function

public class EnumLiteralFunction
extends LiteralFunction

Container for an enum value.

This is done for performance reasons since based on tests checking each time if a class is an enum degrades performance.

Author:
David Winterfeldt

Constructor Summary
EnumLiteralFunction(Object literal)
          Constructor
 
Method Summary
 
Methods inherited from class org.springmodules.validation.valang.functions.LiteralFunction
getResult
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnumLiteralFunction

public EnumLiteralFunction(Object literal)
Constructor



Copyright © 2009. All Rights Reserved.