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,
java.lang.String name,
org.xml.sax.Attributes attributes)
Called when the parser encounters an element matching a
Pattern. |
protected void |
close(java.io.InputStream in) |
void |
end(InterpretationContext ec,
java.lang.String name) |
protected java.lang.String |
getAttributeInUse() |
java.net.URL |
getUrl() |
protected void |
handleError(java.lang.String message,
java.lang.Exception e) |
protected boolean |
isOptional() |
protected abstract void |
processInclude(InterpretationContext ic,
java.net.URL url) |
body, getColumnNumber, getLineColStr, getLineNumber, toStringaddError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContextpublic java.net.URL getUrl()
protected abstract void processInclude(InterpretationContext ic, java.net.URL url) throws JoranException
JoranExceptionprotected void handleError(java.lang.String message,
java.lang.Exception e)
public void begin(InterpretationContext ec, java.lang.String name, org.xml.sax.Attributes attributes) throws ActionException
ActionPattern.begin in class Actionec - interpretation contextname - name of actionattributes - attributes of actionActionException - failed to process actionprotected void close(java.io.InputStream in)
protected java.lang.String getAttributeInUse()
protected boolean isOptional()
public void end(InterpretationContext ec, java.lang.String name) throws ActionException
end in class ActionActionException