public abstract class BaseModelAction extends Action
ACTION_CLASS_ATTRIBUTE, CLASS_ATTRIBUTE, FILE_ATTRIBUTE, KEY_ATTRIBUTE, NAME_ATTRIBUTE, PATTERN_ATTRIBUTE, SCOPE_ATTRIBUTE, VALUE_ATTRIBUTEcontext| Constructor and Description |
|---|
BaseModelAction() |
| Modifier and Type | Method and Description |
|---|---|
void |
begin(InterpretationContext intercon,
String name,
Attributes attributes)
Called when the parser encounters an element matching a
Pattern. |
void |
body(InterpretationContext ec,
String body)
Called to pass the body (as text) contained within an element.
|
protected abstract Model |
buildCurrentModel(InterpretationContext interpretationContext,
String name,
Attributes attributes) |
void |
end(InterpretationContext interpretationContext,
String name) |
protected boolean |
validPreconditions(InterpretationContext intercon,
String name,
Attributes attributes)
Validate preconditions of this action.
|
atLine, getColumnNumber, getLineColStr, getLineNumber, nearLine, toStringaddError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContextpublic void begin(InterpretationContext intercon, String name, Attributes attributes) throws ActionException
ActionPattern.begin in class ActionActionExceptionprotected abstract Model buildCurrentModel(InterpretationContext interpretationContext, String name, Attributes attributes)
protected boolean validPreconditions(InterpretationContext intercon, String name, Attributes attributes)
interpretationContext - name - attributes - public void body(InterpretationContext ec, String body)
Actionpublic void end(InterpretationContext interpretationContext, String name) throws ActionException
end in class ActionActionExceptionCopyright © 2005–2019 QOS.ch. All rights reserved.