JCommon 1.0.17-redhat-2

org.jfree.xml.util
Class ManualMappingDefinition

java.lang.Object
  extended by org.jfree.xml.util.ManualMappingDefinition

public class ManualMappingDefinition
extends Object

Maps a class to a read handler and a write handler.


Constructor Summary
ManualMappingDefinition(Class baseClass, String readHandler, String writeHandler)
          Creates a mapping between the class and the read and write handlers.
 
Method Summary
 Class getBaseClass()
          Returns the class.
 String getReadHandler()
          Returns the name of the read handler.
 String getWriteHandler()
          Returns the name of the write handler.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ManualMappingDefinition

public ManualMappingDefinition(Class baseClass,
                               String readHandler,
                               String writeHandler)
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 Detail

getBaseClass

public Class getBaseClass()
Returns the class.

Returns:
The class.

getReadHandler

public String getReadHandler()
Returns the name of the read handler.

Returns:
The name of the read handler.

getWriteHandler

public String getWriteHandler()
Returns the name of the write handler.

Returns:
The name of the write handler.

JCommon 1.0.17-redhat-2

Copyright © 2001-2012 JFree.org. All Rights Reserved.