faa.tg.prep.tmf.radar.validation
Class AbstractValidator

java.lang.Object
  extended by faa.tg.filters.AbstractFilter
      extended by faa.tg.prep.tmf.radar.validation.AbstractValidator
All Implemented Interfaces:
Filter, FilterableListener, java.io.Serializable, java.util.EventListener

public abstract class AbstractValidator
extends AbstractFilter

  Abstract class AbstractValidator

  See the source: AbstractValidator.java 
 

Version:
$Id: AbstractValidator.java,v 3.1 2006/03/14 15:57:37 samf Exp $
Author:
Jim Mauroff TGF
See Also:
Serialized Form

Field Summary
static java.lang.String CVS_VERSION_ID
          The CVS Version ID
(package private) static long serialVersionUID
           
private  ValidationException validationException
           
 
Fields inherited from class faa.tg.filters.AbstractFilter
DEFAULT_PASS_THROUGH, listeners, passThrough
 
Constructor Summary
AbstractValidator()
           
 
Method Summary
 ValidationException getValidationException()
           
 void handleObject(Filterable event)
          Called to have filter receive events that the Filter is registered for.
 void setValidationException(java.lang.String message)
           
abstract  boolean validate(java.lang.String theValue)
           
 
Methods inherited from class faa.tg.filters.AbstractFilter
addFilterableListener, fire, getPassThrough, removeFilterableListener, setPassThrough, substituteFileVariables
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

static final long serialVersionUID
See Also:
Constant Field Values

CVS_VERSION_ID

public static final java.lang.String CVS_VERSION_ID
The CVS Version ID

See Also:
Constant Field Values

validationException

private ValidationException validationException
Constructor Detail

AbstractValidator

public AbstractValidator()
Method Detail

validate

public abstract boolean validate(java.lang.String theValue)

getValidationException

public ValidationException getValidationException()

setValidationException

public void setValidationException(java.lang.String message)

handleObject

public void handleObject(Filterable event)
Description copied from class: AbstractFilter
Called to have filter receive events that the Filter is registered for. This is where most of the work of the filter is done. To pass the evt on to the next Filter(s) call fire()

Specified by:
handleObject in interface FilterableListener
Specified by:
handleObject in class AbstractFilter
Parameters:
event - The event containing the Filterable object.