Package org.apache.activemq.util
Class BooleanEditor
- java.lang.Object
-
- java.beans.PropertyEditorSupport
-
- org.apache.activemq.util.BooleanEditor
-
- All Implemented Interfaces:
PropertyEditor
public class BooleanEditor extends PropertyEditorSupport
Used by xbean to set booleans. Important: Do not use this for other purposes than xbean, as property editors are not thread safe, and they are slow to use.
-
-
Constructor Summary
Constructors Constructor Description BooleanEditor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAsText()
String
getJavaInitializationString()
String[]
getTags()
void
setAsText(String text)
-
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getCustomEditor, getSource, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor
-
-
-
-
Method Detail
-
getJavaInitializationString
public String getJavaInitializationString()
- Specified by:
getJavaInitializationString
in interfacePropertyEditor
- Overrides:
getJavaInitializationString
in classPropertyEditorSupport
-
getAsText
public String getAsText()
- Specified by:
getAsText
in interfacePropertyEditor
- Overrides:
getAsText
in classPropertyEditorSupport
-
setAsText
public void setAsText(String text) throws IllegalArgumentException
- Specified by:
setAsText
in interfacePropertyEditor
- Overrides:
setAsText
in classPropertyEditorSupport
- Throws:
IllegalArgumentException
-
getTags
public String[] getTags()
- Specified by:
getTags
in interfacePropertyEditor
- Overrides:
getTags
in classPropertyEditorSupport
-
-