public abstract class AbstractIncludeAction extends Action
ACTION_CLASS_ATTRIBUTE, CLASS_ATTRIBUTE, FILE_ATTRIBUTE, KEY_ATTRIBUTE, NAME_ATTRIBUTE, PATTERN_ATTRIBUTE, SCOPE_ATTRIBUTE, VALUE_ATTRIBUTEcontext| Constructor and Description |
|---|
AbstractIncludeAction() |
| Modifier and Type | Method and Description |
|---|---|
void |
begin(InterpretationContext ec,
String name,
Attributes attributes)
Called when the parser encounters an element matching a
Pattern. |
protected void |
close(InputStream in) |
void |
end(InterpretationContext ec,
String name) |
protected String |
getAttributeInUse() |
URL |
getUrl() |
protected void |
handleError(String message,
Exception e) |
protected boolean |
isOptional() |
protected abstract void |
processInclude(InterpretationContext ic,
URL url) |
body, getColumnNumber, getLineColStr, getLineNumber, toStringaddError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContextpublic URL getUrl()
protected abstract void processInclude(InterpretationContext ic, URL url) throws JoranException
JoranExceptionpublic void begin(InterpretationContext ec, String name, Attributes attributes) throws ActionException
ActionPattern.begin in class Actionec - interpretation contextname - name of actionattributes - attributes of actionActionException - failed to process actionprotected void close(InputStream in)
protected String getAttributeInUse()
protected boolean isOptional()
public void end(InterpretationContext ec, String name) throws ActionException
end in class ActionActionExceptionCopyright © 2005–2014 QOS.ch. All rights reserved.