public abstract class AbstractBooleanElementType extends AbstractElementType<Boolean>
Constructor and Description |
---|
AbstractBooleanElementType() |
Modifier and Type | Method and Description |
---|---|
Boolean |
castValue(String value)
Cast an untyped value (string) to an object of the corresponding type
|
Object |
fromJSONForClient(Object json)
Convert the given client side JSON object to the types value
|
boolean |
isSimple()
Determines if this type is simple or not.
|
_singleValueToJSON, _singleValueToSAX, getManagedClass, getManagedClassArray, isCompatible, parseConfiguration, toString, valueToJSONForClient, valueToSAX
getId, setPluginInfo
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getId
setPluginInfo
public AbstractBooleanElementType()
public Boolean castValue(String value) throws BadItemTypeException
ElementType
value
- the value to castBadItemTypeException
- if the String value can't be cast to the typepublic Object fromJSONForClient(Object json)
ElementType
json
- the JSON object to convertpublic boolean isSimple()
ElementType
true
if the type is simple, false
otherwise