Package org.apache.activemq.util
Class BooleanEditor
java.lang.Object
java.beans.PropertyEditorSupport
org.apache.activemq.util.BooleanEditor
- All Implemented Interfaces:
PropertyEditor
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 -
Method Summary
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getCustomEditor, getSource, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor
-
Constructor Details
-
BooleanEditor
public BooleanEditor()
-
-
Method Details
-
getJavaInitializationString
- Specified by:
getJavaInitializationStringin interfacePropertyEditor- Overrides:
getJavaInitializationStringin classPropertyEditorSupport
-
getAsText
- Specified by:
getAsTextin interfacePropertyEditor- Overrides:
getAsTextin classPropertyEditorSupport
-
setAsText
- Specified by:
setAsTextin interfacePropertyEditor- Overrides:
setAsTextin classPropertyEditorSupport- Throws:
IllegalArgumentException
-
getTags
- Specified by:
getTagsin interfacePropertyEditor- Overrides:
getTagsin classPropertyEditorSupport
-