railo.runtime.functions.decision
Class IsValid
java.lang.Object
railo.runtime.functions.decision.IsValid
- All Implemented Interfaces:
- Serializable, Function
public final class IsValid
- extends Object
- implements Function
- See Also:
- Serialized Form
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)
|
IsValid
public IsValid()
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