Class BooleanTypeWrapper

  • All Implemented Interfaces:
    java.io.Serializable, TypeWrapper

    public final class BooleanTypeWrapper
    extends AbstractSimpleTypeWrapper
    Converting String to Boolean and vice versa is also straightforward.
    Version:
    $Revision: 03dc0884e86f $
    See Also:
    Serialized Form
    • Method Detail

      • getInstance

        public static TypeWrapper getInstance()
        Returns:
        the singleton instance.
      • fromString

        public java.lang.Object fromString​(java.lang.String value)
        Attempts to convert a parameter value expressed as string into an instance of the appropriate (for this parameter) type.
        Specified by:
        fromString in interface TypeWrapper
        Overrides:
        fromString in class AbstractSimpleTypeWrapper
        Parameters:
        value - parameter value as string
        Returns:
        parameter value as an instance of the proper type