|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.betwixt.XMLIntrospector.BeanType
org.apache.commons.betwixt.XMLIntrospector.JavaBeanType
Supports standard Java Beans
Field Summary | |
private java.lang.Class |
beanClass
Bean class |
private java.beans.BeanInfo |
beanInfo
Introspected bean |
private java.lang.String |
name
Bean name |
private BeanProperty[] |
properties
Bean properties |
Constructor Summary | |
XMLIntrospector.JavaBeanType(java.beans.BeanInfo beanInfo)
Constructs a BeanType for a standard Java Bean |
Method Summary | |
private void |
addAllSuperinterfaces(java.lang.Class clazz,
java.util.ArrayList propertyDescriptors)
Adds all super interfaces. |
java.lang.String |
getBeanName()
Gets the name for this bean type |
java.lang.Class |
getElementType()
Gets the type to be used by the associated element |
BeanProperty[] |
getProperties()
Gets the properties associated with this bean. |
boolean |
isLoopType()
Is this type a loop? |
boolean |
isMapType()
is this type a map? |
boolean |
isPrimitiveType()
Is this type a primitive? |
java.lang.String |
toString()
Create string representation |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private java.beans.BeanInfo beanInfo
private java.lang.Class beanClass
private java.lang.String name
private BeanProperty[] properties
Constructor Detail |
public XMLIntrospector.JavaBeanType(java.beans.BeanInfo beanInfo)
beanInfo
- the BeanInfo describing the standard Java Bean, not nullMethod Detail |
public java.lang.Class getElementType()
XMLIntrospector.BeanType
getElementType
in class XMLIntrospector.BeanType
#getElementType
public java.lang.String getBeanName()
XMLIntrospector.BeanType
getBeanName
in class XMLIntrospector.BeanType
BeanType#getBeanName
public boolean isPrimitiveType()
XMLIntrospector.BeanType
isPrimitiveType
in class XMLIntrospector.BeanType
BeanType#isPrimitiveType
public boolean isLoopType()
XMLIntrospector.BeanType
isLoopType
in class XMLIntrospector.BeanType
BeanType#isLoopType
public boolean isMapType()
XMLIntrospector.BeanType
isMapType
in class XMLIntrospector.BeanType
BeanType#isMapType
public BeanProperty[] getProperties()
XMLIntrospector.BeanType
getProperties
in class XMLIntrospector.BeanType
BeanType#getProperties
private void addAllSuperinterfaces(java.lang.Class clazz, java.util.ArrayList propertyDescriptors)
clazz
- Class
, not nullpropertyDescriptors
- ArrayList
of PropertyDescriptor
s', not nullpublic java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |