|
||||||||||
| 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
private class 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? |
| Methods inherited from class org.apache.commons.betwixt.XMLIntrospector.BeanType |
|---|
toString |
| 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 null| Method Detail |
|---|
public java.lang.Class getElementType()
XMLIntrospector.BeanType
getElementType in class XMLIntrospector.BeanType#getElementTypepublic java.lang.String getBeanName()
XMLIntrospector.BeanType
getBeanName in class XMLIntrospector.BeanTypeXMLIntrospector.BeanType.getBeanName()public boolean isPrimitiveType()
XMLIntrospector.BeanType
isPrimitiveType in class XMLIntrospector.BeanTypeXMLIntrospector.BeanType.isPrimitiveType()public boolean isLoopType()
XMLIntrospector.BeanType
isLoopType in class XMLIntrospector.BeanTypeXMLIntrospector.BeanType.isLoopType()public boolean isMapType()
XMLIntrospector.BeanType
isMapType in class XMLIntrospector.BeanTypeXMLIntrospector.BeanType.isMapType()public BeanProperty[] getProperties()
XMLIntrospector.BeanType
getProperties in class XMLIntrospector.BeanTypeXMLIntrospector.BeanType.getProperties()
private void addAllSuperinterfaces(java.lang.Class clazz,
java.util.ArrayList propertyDescriptors)
clazz - Class, not nullpropertyDescriptors - ArrayList of PropertyDescriptors', not null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||