org.apache.myfaces.commons.validator
Class CSVValidator

java.lang.Object
  extended by org.apache.myfaces.commons.validator.ValidatorBase
      extended by org.apache.myfaces.commons.validator.AbstractCSVValidator
          extended by org.apache.myfaces.commons.validator.CSVValidator
All Implemented Interfaces:
java.util.EventListener, javax.faces.component.PartialStateHolder, javax.faces.component.StateHolder, javax.faces.validator.Validator

public class CSVValidator
extends AbstractCSVValidator


Field Summary
static java.lang.String VALIDATOR_ID
           
 
Fields inherited from class org.apache.myfaces.commons.validator.AbstractCSVValidator
CSV_INVALID_SEPARATOR_MESSAGE_ID, CSV_NOT_STRING_MESSAGE_ID, CSV_SUFFIX_MESSAGE_ID
 
Fields inherited from interface javax.faces.validator.Validator
NOT_IN_RANGE_MESSAGE_ID
 
Constructor Summary
CSVValidator()
           
 
Method Summary
 java.lang.String getSeparator()
           
 java.lang.String getSubvalidatorId()
           
 void setSeparator(java.lang.String separator)
           
 void setSubvalidatorId(java.lang.String subvalidatorId)
           
 
Methods inherited from class org.apache.myfaces.commons.validator.AbstractCSVValidator
validate
 
Methods inherited from class org.apache.myfaces.commons.validator.ValidatorBase
clearInitialState, getDetailMessage, getFacesContext, getFacesMessage, getMessage, getStateHelper, getStateHelper, getStringValue, getSummaryMessage, getValueExpression, initialStateMarked, isTransient, markInitialState, restoreAttachedState, restoreState, saveAttachedState, saveState, setDetailMessage, setMessage, setSummaryMessage, setTransient, setValueExpression
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VALIDATOR_ID

public static final java.lang.String VALIDATOR_ID
See Also:
Constant Field Values
Constructor Detail

CSVValidator

public CSVValidator()
Method Detail

getSubvalidatorId

public java.lang.String getSubvalidatorId()
Specified by:
getSubvalidatorId in class AbstractCSVValidator
Returns:
the VALIDATOR_ID of the actual validator to be used

setSubvalidatorId

public void setSubvalidatorId(java.lang.String subvalidatorId)
Specified by:
setSubvalidatorId in class AbstractCSVValidator

getSeparator

public java.lang.String getSeparator()
Specified by:
getSeparator in class AbstractCSVValidator
Returns:
the separator character to separate values

setSeparator

public void setSeparator(java.lang.String separator)
Specified by:
setSeparator in class AbstractCSVValidator


Copyright © 2007-2010 The Apache Software Foundation. All Rights Reserved.