JSF-Spring

de.mindmatters.faces.spring.factory.aspectj
Class ConverterDefinition

java.lang.Object
  extended by de.mindmatters.faces.spring.factory.aspectj.ConverterDefinition

public final class ConverterDefinition
extends java.lang.Object

A ConverterDefinition encapsulates and describes a Converter instance. Description (e.g. kind of registration) is needed for registration purposes.

Author:
Andreas Kuhrwahl

Constructor Summary
ConverterDefinition(java.lang.String converterRegistrar, java.lang.String converterClassName, boolean registerById)
          Creates a definition with the given descriptors.
 
Method Summary
 java.lang.String getConverterClassName()
           
 java.lang.String getConverterRegistrar()
           
 boolean registerById()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConverterDefinition

public ConverterDefinition(java.lang.String converterRegistrar,
                           java.lang.String converterClassName,
                           boolean registerById)
Creates a definition with the given descriptors.

Parameters:
converterRegistrar - the registration key
converterClassName - the class name of the converter
registerById - true if the converter should be registered by id false if by class
Method Detail

getConverterRegistrar

public java.lang.String getConverterRegistrar()
Returns:
the registration key

getConverterClassName

public java.lang.String getConverterClassName()
Returns:
the class name of the converter

registerById

public boolean registerById()
Returns:
true if the converter should be registered by id false if by class

JSF-Spring

Copyright © 2006 mindmatters GmbH & Co. KG