Package org.jfree.xml.util
Class ManualMappingDefinition
java.lang.Object
org.jfree.xml.util.ManualMappingDefinition
Maps a class to a read handler and a write handler.
-
Constructor Summary
ConstructorsConstructorDescriptionManualMappingDefinition
(Class baseClass, String readHandler, String writeHandler) Creates a mapping between the class and the read and write handlers. -
Method Summary
Modifier and TypeMethodDescriptionReturns the class.Returns the name of the read handler.Returns the name of the write handler.
-
Constructor Details
-
ManualMappingDefinition
Creates a mapping between the class and the read and write handlers.- Parameters:
baseClass
- the class (null
not permitted).readHandler
- the name of the read handler.writeHandler
- the name of the write handler.
-
-
Method Details
-
getBaseClass
Returns the class.- Returns:
- The class.
-
getReadHandler
Returns the name of the read handler.- Returns:
- The name of the read handler.
-
getWriteHandler
Returns the name of the write handler.- Returns:
- The name of the write handler.
-