public class IncludeAction extends AbstractIncludeAction
ACTION_CLASS_ATTRIBUTE, CLASS_ATTRIBUTE, FILE_ATTRIBUTE, KEY_ATTRIBUTE, NAME_ATTRIBUTE, PATTERN_ATTRIBUTE, SCOPE_ATTRIBUTE, VALUE_ATTRIBUTE
context
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, isOptional
body, getColumnNumber, getLineColStr, getLineNumber, toString
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
protected 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 AbstractIncludeAction
ic
- contexturl
- URL to file/resource being includedJoranException
Copyright © 2005–2014 QOS.ch. All rights reserved.