JCommon 1.0.17-redhat-2

org.jfree.xml.util
Class MultiplexMappingDefinition

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

public class MultiplexMappingDefinition
extends Object

Maps a class to ...


Constructor Summary
MultiplexMappingDefinition(Class baseClass, String attributeName, MultiplexMappingEntry[] entries)
          Creates a new mapping definition.
 
Method Summary
 String getAttributeName()
          Returns the attribute name.
 Class getBaseClass()
          Returns the class.
 MultiplexMappingEntry getEntryForClass(String clazz)
          Returns a mapping entry for a class.
 MultiplexMappingEntry getEntryForType(String type)
          Returns a mapping entry for a type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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 Detail

getAttributeName

public String getAttributeName()
Returns the attribute name.

Returns:
The attribute name.

getBaseClass

public Class getBaseClass()
Returns the class.

Returns:
The class.

getEntryForType

public MultiplexMappingEntry getEntryForType(String type)
Returns a mapping entry for a type.

Parameters:
type - the type.
Returns:
The mapping entry.

getEntryForClass

public MultiplexMappingEntry getEntryForClass(String clazz)
Returns a mapping entry for a class.

Parameters:
clazz - the class.
Returns:
The mapping entry.

JCommon 1.0.17-redhat-2

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