public class ArrayClassFactory extends Object implements ClassFactory
ClassFactory interface to
create Arrays of objects. The object descriptions are created on
demand.| Constructor and Description |
|---|
ArrayClassFactory()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
configure(Configuration config)
Configures this factory.
|
boolean |
equals(Object o)
ArrayClassFactories are always equal, there is nothing that could
not be equal :)
|
ObjectDescription |
getDescriptionForClass(Class c)
Returns an object description for a class.
|
Iterator |
getRegisteredClasses()
Returns an iterator for the registered classes.
|
ObjectDescription |
getSuperClassObjectDescription(Class d,
ObjectDescription knownSuperClass)
Returns an object description for the super class of a class.
|
int |
hashCode()
Returns a hash code value for the object.
|
public ObjectDescription getDescriptionForClass(Class c)
getDescriptionForClass in interface ClassFactoryc - the class.public ObjectDescription getSuperClassObjectDescription(Class d, ObjectDescription knownSuperClass)
getSuperClassObjectDescription in interface ClassFactoryd - the class.knownSuperClass - the last known super class or null.public Iterator getRegisteredClasses()
This method exists to support query tools for UI design, do not rely on it for day to day work.
getRegisteredClasses in interface ClassFactorypublic void configure(Configuration config)
The configuration contents may change during the reporting.
configure in interface ClassFactoryconfig - the configuration, never nullpublic boolean equals(Object o)
equals in interface ClassFactoryequals in class Objecto - the other object.public int hashCode()
java.util.Hashtable.hashCode in interface ClassFactoryhashCode in class ObjectCopyright © 2009-2012 jtstand.com. All Rights Reserved.