org.eclipse.actf.validation.validators
Class AbstractValidationContext

java.lang.Object
  extended by org.eclipse.actf.validation.validators.AbstractValidationContext
All Implemented Interfaces:
Cloneable, IValidationContext
Direct Known Subclasses:
AccessibilityValidationContext

public abstract class AbstractValidationContext
extends Object
implements IValidationContext, Cloneable

base implementation for all ValidationContexts instances in ACTF.

Author:
John Buslawski

Field Summary
protected  HashMap contextMap
           
 
Constructor Summary
AbstractValidationContext()
           
 
Method Summary
 Object clone()
           
 Object getParameter(String name)
          gets the parameter keyed by the name
 void setParameter(String name, Object value)
          sets the parameter to be stored in the IValidationContext
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

contextMap

protected HashMap contextMap
Constructor Detail

AbstractValidationContext

public AbstractValidationContext()
Method Detail

getParameter

public Object getParameter(String name)
Description copied from interface: IValidationContext
gets the parameter keyed by the name

Specified by:
getParameter in interface IValidationContext
Parameters:
name - -- name of the parameter as a String
Returns:
the value of the parameter

setParameter

public void setParameter(String name,
                         Object value)
Description copied from interface: IValidationContext
sets the parameter to be stored in the IValidationContext

Specified by:
setParameter in interface IValidationContext
Parameters:
name - -- name of the parameter as a String
value - -- the value of the parameter

clone

public Object clone()
Overrides:
clone in class Object