org.apache.commons.betwixt
Class XMLIntrospector.BeanType

java.lang.Object
  extended byorg.apache.commons.betwixt.XMLIntrospector.BeanType
Direct Known Subclasses:
XMLIntrospector.DynaClassBeanType, XMLIntrospector.JavaBeanType
Enclosing class:
XMLIntrospector

private abstract class XMLIntrospector.BeanType
extends java.lang.Object

Some type of pseudo-bean


Constructor Summary
private XMLIntrospector.BeanType()
           
 
Method Summary
abstract  java.lang.String getBeanName()
          Gets the name for this bean type
abstract  java.lang.Class getElementType()
          Gets the type to be used by the associated element
abstract  BeanProperty[] getProperties()
          Gets the properties associated with this bean.
abstract  boolean isLoopType()
          Is this type a loop?
abstract  boolean isMapType()
          is this type a map?
abstract  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
 

Constructor Detail

XMLIntrospector.BeanType

private XMLIntrospector.BeanType()
Method Detail

getBeanName

public abstract java.lang.String getBeanName()
Gets the name for this bean type

Returns:
the bean type name, not null

getElementType

public abstract java.lang.Class getElementType()
Gets the type to be used by the associated element

Returns:
a Class that is the type not null

isPrimitiveType

public abstract boolean isPrimitiveType()
Is this type a primitive?

Returns:
true if this type should be treated by betwixt as a primitive

isMapType

public abstract boolean isMapType()
is this type a map?

Returns:
true this should be treated as a map.

isLoopType

public abstract boolean isLoopType()
Is this type a loop?

Returns:
true if this should be treated as a loop

getProperties

public abstract BeanProperty[] getProperties()
Gets the properties associated with this bean.

Returns:
the BeanProperty's, not null

toString

public java.lang.String toString()
Create string representation

Returns:
something useful for logging