org.apache.geronimo.deployment.service
Class JavaBeanXmlAttributeEditor

java.lang.Object
  extended by java.beans.PropertyEditorSupport
      extended by org.apache.geronimo.deployment.service.JavaBeanXmlAttributeEditor
All Implemented Interfaces:
PropertyEditor
Direct Known Subclasses:
BasicExtendedJMXConnectorInfoEditor

public class JavaBeanXmlAttributeEditor
extends PropertyEditorSupport


Constructor Summary
JavaBeanXmlAttributeEditor(Class clazz)
           
 
Method Summary
 String getAsText()
           
protected  JavabeanType getJavabeanType(Object javaBean)
           
protected  void handle(Object javaBean, PropertyDescriptor propertyDescriptor, JavabeanType javabeanType)
           
protected  boolean isPrimitive(Object propertyValue)
           
protected  JavaBeanXmlAttributeBuilder newXmlAttributeBuilder()
           
 void setAsText(String text)
           
 
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, 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

JavaBeanXmlAttributeEditor

public JavaBeanXmlAttributeEditor(Class clazz)
Method Detail

newXmlAttributeBuilder

protected JavaBeanXmlAttributeBuilder newXmlAttributeBuilder()

setAsText

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

getAsText

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

getJavabeanType

protected JavabeanType getJavabeanType(Object javaBean)

handle

protected void handle(Object javaBean,
                      PropertyDescriptor propertyDescriptor,
                      JavabeanType javabeanType)

isPrimitive

protected boolean isPrimitive(Object propertyValue)


Copyright © 2003-2008 The Apache Geronimo development community. All Rights Reserved.