public abstract class ModelHandlerBase extends ContextAwareBase
context| Constructor and Description |
|---|
ModelHandlerBase(Context context) |
| Modifier and Type | Method and Description |
|---|---|
protected Class<? extends Model> |
getSupportedModelClass()
Subclasses should return the sub-class of Model that they expect to handle.
|
abstract void |
handle(InterpretationContext intercon,
Model model) |
void |
postHandle(InterpretationContext intercon,
Model model) |
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContextpublic ModelHandlerBase(Context context)
protected Class<? extends Model> getSupportedModelClass()
isSupportedModelType(Model)public abstract void handle(InterpretationContext intercon, Model model) throws ModelHandlerException
ModelHandlerExceptionpublic void postHandle(InterpretationContext intercon, Model model) throws ModelHandlerException
ModelHandlerExceptionCopyright © 2005–2019 QOS.ch. All rights reserved.