public class ConditionalIncludeAction extends AbstractIncludeAction
ACTION_CLASS_ATTRIBUTE, CLASS_ATTRIBUTE, FILE_ATTRIBUTE, KEY_ATTRIBUTE, NAME_ATTRIBUTE, PATTERN_ATTRIBUTE, SCOPE_ATTRIBUTE, VALUE_ATTRIBUTE
context
Constructor and Description |
---|
ConditionalIncludeAction() |
Modifier and Type | Method and Description |
---|---|
void |
begin(InterpretationContext ic,
String name,
Attributes attributes)
Called when the parser encounters an element matching a
Pattern . |
protected void |
handleError(String message,
Exception e) |
protected void |
processInclude(InterpretationContext ic,
URL url) |
close, end, getAttributeInUse, getUrl, isOptional
body, getColumnNumber, getLineColStr, getLineNumber, toString
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
protected void handleError(String message, Exception e)
handleError
in class AbstractIncludeAction
public void begin(InterpretationContext ic, String name, Attributes attributes) throws ActionException
Action
Pattern
.begin
in class AbstractIncludeAction
ic
- interpretation contextname
- name of actionattributes
- attributes of actionActionException
- failed to process actionprotected void processInclude(InterpretationContext ic, URL url) throws JoranException
processInclude
in class AbstractIncludeAction
JoranException
Copyright © 2005–2014 QOS.ch. All rights reserved.