org.apache.activemq.util
Class BooleanEditor

java.lang.Object
  extended by java.beans.PropertyEditorSupport
      extended by 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
BooleanEditor()
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BooleanEditor

public BooleanEditor()
Method Detail

getJavaInitializationString

public String getJavaInitializationString()
Specified by:
getJavaInitializationString in interface PropertyEditor
Overrides:
getJavaInitializationString in class PropertyEditorSupport

getAsText

public String getAsText()
Specified by:
getAsText in interface PropertyEditor
Overrides:
getAsText in class PropertyEditorSupport

setAsText

public void setAsText(String text)
               throws IllegalArgumentException
Specified by:
setAsText in interface PropertyEditor
Overrides:
setAsText in class PropertyEditorSupport
Throws:
IllegalArgumentException

getTags

public String[] getTags()
Specified by:
getTags in interface PropertyEditor
Overrides:
getTags in class PropertyEditorSupport


Copyright © 2005–2013 The Apache Software Foundation. All rights reserved.