public class ArrayClassFactory extends java.lang.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(java.lang.Object o)
ArrayClassFactories are always equal, there is nothing that could
not be equal :)
|
ObjectDescription |
getDescriptionForClass(java.lang.Class c)
Returns an object description for a class.
|
java.util.Iterator |
getRegisteredClasses()
Returns an iterator for the registered classes.
|
ObjectDescription |
getSuperClassObjectDescription(java.lang.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 ArrayClassFactory()
public ObjectDescription getDescriptionForClass(java.lang.Class c)
getDescriptionForClass
in interface ClassFactory
c
- the class.public ObjectDescription getSuperClassObjectDescription(java.lang.Class d, ObjectDescription knownSuperClass)
getSuperClassObjectDescription
in interface ClassFactory
d
- the class.knownSuperClass
- the last known super class or null.public java.util.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 ClassFactory
public void configure(Configuration config)
The configuration contents may change during the reporting.
configure
in interface ClassFactory
config
- the configuration, never nullpublic boolean equals(java.lang.Object o)
equals
in interface ClassFactory
equals
in class java.lang.Object
o
- the other object.public int hashCode()
java.util.Hashtable
.hashCode
in interface ClassFactory
hashCode
in class java.lang.Object