Package org.jfree.xml.util
Class MultiplexMappingDefinition
java.lang.Object
org.jfree.xml.util.MultiplexMappingDefinition
Maps a class to ...
-
Constructor Summary
ConstructorsConstructorDescriptionMultiplexMappingDefinition
(Class baseClass, String attributeName, MultiplexMappingEntry[] entries) Creates a new mapping definition. -
Method Summary
Modifier and TypeMethodDescriptionReturns the attribute name.Returns the class.getEntryForClass
(String clazz) Returns a mapping entry for a class.getEntryForType
(String type) Returns a mapping entry for a type.
-
Constructor Details
-
MultiplexMappingDefinition
public MultiplexMappingDefinition(Class baseClass, String attributeName, MultiplexMappingEntry[] entries) Creates a new mapping definition.- Parameters:
baseClass
- the class.attributeName
- the attribute name.entries
- the entries.
-
-
Method Details
-
getAttributeName
Returns the attribute name.- Returns:
- The attribute name.
-
getBaseClass
Returns the class.- Returns:
- The class.
-
getEntryForType
Returns a mapping entry for a type.- Parameters:
type
- the type.- Returns:
- The mapping entry.
-
getEntryForClass
Returns a mapping entry for a class.- Parameters:
clazz
- the class.- Returns:
- The mapping entry.
-