public interface AttributeHandler<V>
| Modifier and Type | Method and Description |
|---|---|
V |
convert(Object value)
Converts the given (not-null) value to the expected datatype V.
|
void |
verifyAttribute(V value)
Verifies the given (not-null) attribute value is valid.
|
void verifyAttribute(V value)
IllegalArgumentException if the value is invalid,
otherwise simply returns.value - to verifyV convert(Object value)
IllegalArgumentException if it cannot be converted.value - to convertCopyright © 2012–2014. All rights reserved.