public abstract class AbstractIncludeAction extends Action
ACTION_CLASS_ATTRIBUTE, CLASS_ATTRIBUTE, FILE_ATTRIBUTE, KEY_ATTRIBUTE, NAME_ATTRIBUTE, PATTERN_ATTRIBUTE, SCOPE_ATTRIBUTE, VALUE_ATTRIBUTE
context
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, toString
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
public URL getUrl()
protected abstract void processInclude(InterpretationContext ic, URL url) throws JoranException
JoranException
public void begin(InterpretationContext ec, String name, Attributes attributes) throws ActionException
Action
Pattern
.begin
in class Action
ec
- 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 Action
ActionException
Copyright © 2005–2014 QOS.ch. All rights reserved.