|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.actf.validation.validators.AbstractValidationContext
org.eclipse.actf.validation.validators.AccessibilityValidationContext
public class AccessibilityValidationContext
a wrapper class for the IRuleBase properties and selected global properties that are necessary to validate a component.
Field Summary |
---|
Fields inherited from class org.eclipse.actf.validation.validators.AbstractValidationContext |
---|
contextMap |
Constructor Summary | |
---|---|
AccessibilityValidationContext()
|
|
AccessibilityValidationContext(IModel arch,
ICodeProcessor codeProc,
IReporter reporter,
INodeLocator locator,
Set validatedComps,
Map componentMap)
|
Method Summary | |
---|---|
ICodeProcessor |
getCodeProcessor()
convenience method for obtaining the code processor associated with this context. |
IConfiguration |
getConfiguration()
convenience method for obtaining the configuration associated with this context. |
Map |
getElementBridgeMap()
convenience method for obtaining the component bridge map associated with this context. |
IModel |
getModel()
convenience method for obtaining the model associated with this context. |
INodeLocator |
getNodeLocator()
convenience method for obtaining the locator associated with this context. |
IReporter |
getReporter()
convenience method for obtaining the reporter associated with this context. |
Set |
getValidatedComponents()
convenience method for obtaining the set of previously validated components from this context. |
void |
setActfConfiguration(IConfiguration config)
set the configuration for this context. |
void |
setArchitecture(IModel model)
set the model for this context. |
void |
setCodeProcessor(ICodeProcessor cp)
set the code processor for this context. |
void |
setElementBridgeMap(Map compMap)
set the component bridge map for this context. |
void |
setElementLocator(INodeLocator locator)
set the locator for this context. |
void |
setReporter(IReporter reporter)
set the reporter for this context. |
void |
setValidatedComponents(Set valComp)
set the set of previously validated components for this context. |
Methods inherited from class org.eclipse.actf.validation.validators.AbstractValidationContext |
---|
clone, getParameter, setParameter |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AccessibilityValidationContext()
public AccessibilityValidationContext(IModel arch, ICodeProcessor codeProc, IReporter reporter, INodeLocator locator, Set validatedComps, Map componentMap)
Method Detail |
---|
public IModel getModel()
(IModel) getParameter(ValidationContextConstants.MODEL)
public ICodeProcessor getCodeProcessor()
(IModel) getParameter(ValidationContextConstants.CODE_PROCESSOR)
public INodeLocator getNodeLocator()
(IModel) getParameter(ValidationContextConstants.ELEMENT_LOCATOR)
public Map getElementBridgeMap()
(IModel) getParameter(ValidationContextConstants.ELEMENT_BRIDGE_MAP)
public IConfiguration getConfiguration()
(IModel) getParameter(ValidationContextConstants.CONFIGURATION
public IReporter getReporter()
(IModel) getParameter(ValidationContextConstants.REPORTER)
public Set getValidatedComponents()
(IModel) getParameter(ValidationContextConstants.VALIDATED_ELEMENTS)
public void setArchitecture(IModel model)
setParameter(ValidationContextConstants.MODEL, arch)
so long as the model is not null
model
- -
must not be null
public void setCodeProcessor(ICodeProcessor cp)
setParameter(ValidationContextConstants.CODE_PROCESSOR, cp)
so long as the code processor is not null
cp
- -
must not be null
public void setElementBridgeMap(Map compMap)
setParameter(ValidationContextConstants.ELEMENT_BRIDGE_MAP, compMap)
compMap
- public void setElementLocator(INodeLocator locator)
setParameter(ValidationContextConstants.ELEMENT_LOCATOR, locator)
so long as the locator is not null
locator
- -
must not be null
public void setActfConfiguration(IConfiguration config)
setParameter(ValidationContextConstants.CONFIGURATION, config)
so long as the configuration is not null
config
- -
must not be null
public void setReporter(IReporter reporter)
setParameter(ValidationContextConstants.REPORTER, reporter)
so long as the reporter is not null
reporter
- -
must not be null
public void setValidatedComponents(Set valComp)
setParameter(ValidationContextConstants.VALIDATED_ELEMENTS, arch)
valComp
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |