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 StringgetAsText()StringgetJavaInitializationString()String[]getTags()voidsetAsText(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:
getJavaInitializationStringin interfacePropertyEditor- Overrides:
getJavaInitializationStringin classPropertyEditorSupport
-
getAsText
public String getAsText()
- Specified by:
getAsTextin interfacePropertyEditor- Overrides:
getAsTextin classPropertyEditorSupport
-
setAsText
public void setAsText(String text) throws IllegalArgumentException
- Specified by:
setAsTextin interfacePropertyEditor- Overrides:
setAsTextin classPropertyEditorSupport- Throws:
IllegalArgumentException
-
getTags
public String[] getTags()
- Specified by:
getTagsin interfacePropertyEditor- Overrides:
getTagsin classPropertyEditorSupport
-
-