org.jfree.xml.generator.model
Class MultiplexMappingInfo
java.lang.Object
org.jfree.xml.generator.model.MultiplexMappingInfo
Defines the multiplex entries for a certain base class. Multiplexers are
used to select a specific handler if more than one class will match the
property type.
Multiplexers override automatic mappings and can be redefined using manual
mappings.
MultiplexMappingInfo
public MultiplexMappingInfo(Class baseClass)
Creates a new instance for the specified class.
baseClass
- the base class.
MultiplexMappingInfo
public MultiplexMappingInfo(Class baseClass,
String typeAttribute)
Creates a new instance for the specified class.
baseClass
- the base class (null
not permitted).typeAttribute
- the type attribute (null
not permitted).
equals
public boolean equals(Object o)
Tests this object for equality with another object.
getBaseClass
public Class getBaseClass()
Returns the base class.
getSource
public String getSource()
Returns the source.
hashCode
public int hashCode()
Returns a hash code for this object.
setChildClasses
public void setChildClasses(TypeInfo[] childClasses)
Sets the child classes.
childClasses
- the child classes.
setSource
public void setSource(String source)
Sets the source.