JSF-Spring

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

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

public final class ValidatorDefinition
extends java.lang.Object

A ValidatorDefinition encapsulates and describes a Validator instance. Description (e.g. validator id) is needed for registration purposes.

Author:
Andreas Kuhrwahl

Constructor Summary
ValidatorDefinition(java.lang.String validatorId, java.lang.String validatorClassName)
          Creates a definition with the given descriptors.
 
Method Summary
 java.lang.String getValidatorClassName()
           
 java.lang.String getValidatorId()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValidatorDefinition

public ValidatorDefinition(java.lang.String validatorId,
                           java.lang.String validatorClassName)
Creates a definition with the given descriptors.

Parameters:
validatorId - the id of the validator - for registration purposes
validatorClassName - the class name of the validator
Method Detail

getValidatorId

public java.lang.String getValidatorId()
Returns:
the id of the validator - for registration purposes

getValidatorClassName

public java.lang.String getValidatorClassName()
Returns:
the class name of the validator

JSF-Spring

Copyright © 2006 mindmatters GmbH & Co. KG