railo.runtime.functions.decision
Class IsValid

java.lang.Object
  extended by railo.runtime.functions.decision.IsValid
All Implemented Interfaces:
Serializable, Function

public final class IsValid
extends Object
implements Function

See Also:
Serialized Form

Constructor Summary
IsValid()
           
 
Method Summary
static boolean call(PageContext pc, String type, Object value)
          check for many diff types
static boolean call(PageContext pc, String type, Object value, Object objPattern)
          regex check
static boolean call(PageContext pc, String type, Object value, Object objMin, Object objMax)
           
static boolean regex(String value, String strPattern)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IsValid

public IsValid()
Method Detail

call

public static boolean call(PageContext pc,
                           String type,
                           Object value)
                    throws ExpressionException
check for many diff types

Parameters:
pc -
type -
value -
Returns:
Throws:
ExpressionException

call

public static boolean call(PageContext pc,
                           String type,
                           Object value,
                           Object objPattern)
                    throws PageException
regex check

Parameters:
pc -
type -
value -
objPattern -
Returns:
Throws:
PageException

regex

public static boolean regex(String value,
                            String strPattern)

call

public static boolean call(PageContext pc,
                           String type,
                           Object value,
                           Object objMin,
                           Object objMax)
                    throws PageException
Throws:
PageException


Copyright © 2012 Railo