public class Constraints extends Object
| Modifier and Type | Method and Description |
|---|---|
static Object |
buildObject(String type,
String value)
Builds an object out of a type and a String representation.
|
static Object |
check(String type,
String value,
String constraints)
Builds an object out of a type and a String representation and tests it against
the specified constraints.
|
public static Object check(String type, String value, String constraints)
type - the expected type of the objectvalue - the String representation of the objectconstraints - the constraints the final object must satisfyCopyright © 2015 LSST. All rights reserved.