Class ManualMappingInfo
java.lang.Object
org.jfree.xml.generator.model.ManualMappingInfo
The manual mapping describes, how a certain class is handled in the parser.
This defines the read and write handler implementations to be used to handle
the instantiation or serialisation of the described type.
Manual mappings will not be created by the generator, they have to be defined manually. The parser will print warnings, if the definitions are invalid.
Manual mappings will always override automatic mappings.
-
Constructor Summary
ConstructorsConstructorDescriptionManualMappingInfo(Class baseClass, Class readHandler, Class writeHandler) Creates a new manual mapping instance. -
Method Summary
Modifier and TypeMethodDescriptionReturns the base class.Returns the comments.Returns the read handler class.Returns the source.Returns the write handler class.voidsetComments(Comments comments) Sets the comments.voidSets the source.
-
Constructor Details
-
ManualMappingInfo
Creates a new manual mapping instance.- Parameters:
baseClass- the base class.readHandler- the read handler class.writeHandler- the write handler class.
-
-
Method Details
-
getBaseClass
-
getReadHandler
-
getWriteHandler
-
getComments
-
setComments
-
getSource
-
setSource
-