com.redspr.beanldom.info
Class ArrayInfo

java.lang.Object
  |
  +--com.redspr.beanldom.info.BaseInfo
        |
        +--com.redspr.beanldom.info.ArrayInfo
All Implemented Interfaces:
ClassInfo

public final class ArrayInfo
extends BaseInfo

How to add an array

Author:
Sam Hough

Field Summary
 
Fields inherited from interface com.redspr.beanldom.ClassInfo
ARRAY, BEAN, VALUE
 
Constructor Summary
ArrayInfo()
           
 
Method Summary
 Object[] getArray(Object o)
          not very exciting doing this here but seems polite
 int getType()
          How should the implementation handle objects of this class
 
Methods inherited from class com.redspr.beanldom.info.BaseInfo
getAttributes, getElements, getValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArrayInfo

public ArrayInfo()
Method Detail

getType

public int getType()
Description copied from interface: ClassInfo
How should the implementation handle objects of this class


getArray

public Object[] getArray(Object o)
not very exciting doing this here but seems polite

Specified by:
getArray in interface ClassInfo
Overrides:
getArray in class BaseInfo