Java org.springframework.beans.propertyeditors CustomBooleanEditor fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.beans.propertyeditors CustomBooleanEditor fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.beans.propertyeditors CustomBooleanEditor.

The text is from its open source code.

Subclass

org.springframework.beans.propertyeditors.CustomBooleanEditor has subclasses.
Click this link to see all its subclasses.

Field

StringVALUE_TRUE
Value of "true" .
StringVALUE_FALSE
Value of "false" .
StringVALUE_ON
Value of "on" .
StringVALUE_OFF
Value of "off" .
StringVALUE_YES
Value of "yes" .
StringVALUE_NO
Value of "no" .
StringVALUE_1
Value of "1" .
StringVALUE_0
Value of "0" .

Constructor

CustomBooleanEditor(boolean allowEmpty)
Create a new CustomBooleanEditor instance, with "true"/"on"/"yes" and "false"/"off"/"no" as recognized String values.
CustomBooleanEditor(@Nullable String trueString, @Nullable String falseString, boolean allowEmpty)
Create a new CustomBooleanEditor instance, with configurable String values for true and false.

Method

ObjectgetValue()
Gets the value of the property.
voidsetAsText(@Nullable String text)