|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StringCoercionExtension
Interface to extend to implement custom coerce of String
s to an instance of the given type, when when validating
Proposition
Term
s
Method Summary | |
---|---|
boolean |
canCoerce(String type,
String value)
Can this StringCoercionExtension coerce the given type and value into an Object? |
Object |
coerce(String type,
String value)
Returns an Object of the given type populated with the given value. |
Method Detail |
---|
boolean canCoerce(String type, String value)
type
- of Object to coerce to.value
- value to use for coerced type
Object coerce(String type, String value)
type
- to coerce Object tovalue
- to coerce
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |