org.jboss.common.beans.property
Class AtomicBooleanEditor
java.lang.Object
java.beans.PropertyEditorSupport
org.jboss.common.beans.property.PropertyEditorSupport<AtomicBoolean>
org.jboss.common.beans.property.AtomicBooleanEditor
- All Implemented Interfaces:
- PropertyEditor
public class AtomicBooleanEditor
- extends PropertyEditorSupport<AtomicBoolean>
AtomicBoolean property editor.
- Author:
- Ales Justin, baranowb
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AtomicBooleanEditor
public AtomicBooleanEditor()
setAsText
public void setAsText(String text)
- Description copied from interface:
PropertyEditor
- Set the property value by parsing a given String. May raise
java.lang.IllegalArgumentException if either the String is
badly formatted or if this kind of property can't be expressed
as text.
- Specified by:
setAsText in interface PropertyEditor- Specified by:
setAsText in class PropertyEditorSupport<AtomicBoolean>
- Parameters:
text - The string to be parsed.
getTags
public String[] getTags()
- Specified by:
getTags in interface PropertyEditor- Overrides:
getTags in class PropertyEditorSupport
- Returns:
- the values {"true", "false"}
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.