com.redspr.beanldom.info
Class LBeanInfo
java.lang.Object
|
+--com.redspr.beanldom.info.BaseInfo
|
+--com.redspr.beanldom.info.LBeanInfo
- All Implemented Interfaces:
- ClassInfo
- public final class LBeanInfo
- extends BaseInfo
Determines xml attribute and elements for a Java Bean.
- Author:
- Sam Hough
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LBeanInfo
public LBeanInfo(Class clazz)
getType
public int getType()
- Description copied from interface:
ClassInfo
- How should the implementation handle objects of this class
getAttributes
public PropertyInfo[] getAttributes()
- Description copied from interface:
ClassInfo
- list of attributes for this class. Return a zero length
array if none.
- Specified by:
getAttributes in interface ClassInfo- Overrides:
getAttributes in class BaseInfo
getElements
public PropertyInfo[] getElements()
- Description copied from interface:
ClassInfo
- list of elements for this class. Return a zero length
array if none. NB one entry even for an array.
- Specified by:
getElements in interface ClassInfo- Overrides:
getElements in class BaseInfo