public class IncludeAction extends AbstractIncludeAction
ACTION_CLASS_ATTRIBUTE, CLASS_ATTRIBUTE, FILE_ATTRIBUTE, KEY_ATTRIBUTE, NAME_ATTRIBUTE, PATTERN_ATTRIBUTE, SCOPE_ATTRIBUTE, VALUE_ATTRIBUTEcontext| Constructor and Description |
|---|
IncludeAction() |
| Modifier and Type | Method and Description |
|---|---|
protected SaxEventRecorder |
createRecorder(InputStream in,
URL url)
Creates a SAX event recorder based on given parameters.
|
protected void |
processInclude(InterpretationContext ic,
URL url)
Processes an include
|
protected void |
setEventOffset(int offset)
Sets the list index into the event player's list, where the events
from the processed include will be inserted
|
begin, close, end, getAttributeInUse, getUrl, handleError, isOptionalbody, getColumnNumber, getLineColStr, getLineNumber, toStringaddError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContextprotected void setEventOffset(int offset)
offset - the array indexprotected SaxEventRecorder createRecorder(InputStream in, URL url)
in - input streamurl - URL to opened file/resourceprotected void processInclude(InterpretationContext ic, URL url) throws JoranException
processInclude in class AbstractIncludeActionic - contexturl - URL to file/resource being includedJoranExceptionCopyright © 2005–2014 QOS.ch. All rights reserved.