Package 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.
-
Constructor Summary
ConstructorsConstructorDescriptionMultiplexMappingInfo
(Class baseClass) Creates a new instance for the specified class.MultiplexMappingInfo
(Class baseClass, String typeAttribute) Creates a new instance for the specified class. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Tests this object for equality with another object.Returns the base class.TypeInfo[]
Returns the child classes.Returns the comments.Returns the source.Returns the type attribute.int
hashCode()
Returns a hash code for this object.void
setChildClasses
(TypeInfo[] childClasses) Sets the child classes.void
setComments
(Comments comments) Sets the comments.void
Sets the source.
-
Constructor Details
-
MultiplexMappingInfo
Creates a new instance for the specified class.- Parameters:
baseClass
- the base class.
-
MultiplexMappingInfo
Creates a new instance for the specified class.- Parameters:
baseClass
- the base class (null
not permitted).typeAttribute
- the type attribute (null
not permitted).
-
-
Method Details
-
getBaseClass
Returns the base class.- Returns:
- The base class.
-
getTypeAttribute
Returns the type attribute.- Returns:
- The type attribute.
-
getChildClasses
Returns the child classes.- Returns:
- The child classes.
-
setChildClasses
Sets the child classes.- Parameters:
childClasses
- the child classes.
-
getComments
Returns the comments.- Returns:
- The comments.
-
setComments
Sets the comments.- Parameters:
comments
- the comments.
-
getSource
Returns the source.- Returns:
- The source.
-
setSource
Sets the source.- Parameters:
source
- the source.
-
equals
Tests this object for equality with another object. -
hashCode
Returns a hash code for this object.
-