public class StringToBooleanTransform extends Transform
| Constructor and Description |
|---|
StringToBooleanTransform() |
| Modifier and Type | Method and Description |
|---|---|
Class<?> |
getSourceType()
Type of the incoming value.
|
Class<?> |
getTargetType()
Type of the outgoing value.
|
boolean |
isExplicit() |
Object |
transformDirect(Object value)
This method transforms a value of the source type into a value
of the target type.
|
getDescription, getDisplayName, getSourceTypeName, getTargetTypeName, toString, transformpublic Object transformDirect(Object value) throws TransformationException
transformDirect in class Transformvalue - Incoming value of source typeTransformationException - if value is an incorrect input type or
the transformation failspublic Class<?> getSourceType()
getSourceType in class Transformpublic Class<?> getTargetType()
getTargetType in class Transformpublic boolean isExplicit()
isExplicit in class TransformCopyright © 2017 JBoss by Red Hat. All rights reserved.