org.jfree.xml.generator.model
Class ManualMappingInfo

java.lang.Object
  extended byorg.jfree.xml.generator.model.ManualMappingInfo

public class ManualMappingInfo
extends java.lang.Object

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
ManualMappingInfo(java.lang.Class baseClass, java.lang.Class readHandler, java.lang.Class writeHandler)
           
 
Method Summary
 java.lang.Class getBaseClass()
           
 Comments getComments()
           
 java.lang.Class getReadHandler()
           
 java.lang.String getSource()
           
 java.lang.Class getWriteHandler()
           
 void setComments(Comments comments)
           
 void setSource(java.lang.String source)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ManualMappingInfo

public ManualMappingInfo(java.lang.Class baseClass,
                         java.lang.Class readHandler,
                         java.lang.Class writeHandler)
Method Detail

getBaseClass

public java.lang.Class getBaseClass()

getReadHandler

public java.lang.Class getReadHandler()

getWriteHandler

public java.lang.Class getWriteHandler()

getComments

public Comments getComments()

setComments

public void setComments(Comments comments)

getSource

public java.lang.String getSource()

setSource

public void setSource(java.lang.String source)