Class MultiplexMappingDefinition

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

public class MultiplexMappingDefinition extends Object
Maps a class to ...
  • Field Details

    • baseClass

      private Class baseClass
      The class.
    • attributeName

      private String attributeName
      The attribute name.
    • forwardMappings

      private HashMap forwardMappings
      The forward mappings.
    • reverseMappings

      private HashMap reverseMappings
      The reverse mappings.
  • Constructor Details

    • 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 Details

    • 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.