public class FindIncludeAction extends IncludeAction
ACTION_CLASS_ATTRIBUTE, CLASS_ATTRIBUTE, FILE_ATTRIBUTE, KEY_ATTRIBUTE, NAME_ATTRIBUTE, PATTERN_ATTRIBUTE, SCOPE_ATTRIBUTE, VALUE_ATTRIBUTE
context
Constructor and Description |
---|
FindIncludeAction() |
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 SaxEventRecorder |
createRecorder(InputStream in,
URL url)
Creates a
SaxEventRecorder based on the input stream |
void |
end(InterpretationContext ic,
String name) |
processInclude, setEventOffset
close, getAttributeInUse, getUrl, handleError, isOptional
body, getColumnNumber, getLineColStr, getLineNumber, toString
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
public void begin(InterpretationContext ec, String name, Attributes attributes) throws ActionException
Action
Pattern
.begin
in class AbstractIncludeAction
ec
- interpretation contextname
- name of actionattributes
- attributes of actionActionException
- failed to process actionpublic void end(InterpretationContext ic, String name) throws ActionException
end
in class AbstractIncludeAction
ActionException
protected SaxEventRecorder createRecorder(InputStream in, URL url)
SaxEventRecorder
based on the input streamcreateRecorder
in class IncludeAction
in
- input streamurl
- URL to opened file/resourceCopyright © 2005–2014 QOS.ch. All rights reserved.