public abstract class GenericConfigurator extends ContextAwareBase
| Modifier and Type | Field and Description |
|---|---|
protected Interpreter |
interpreter |
context| Constructor and Description |
|---|
GenericConfigurator() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addDefaultNestedComponentRegistryRules(DefaultNestedComponentRegistry registry) |
protected abstract void |
addImplicitRules(Interpreter interpreter) |
protected abstract void |
addInstanceRules(RuleStore rs) |
protected void |
buildInterpreter() |
void |
doConfigure(java.io.File file) |
void |
doConfigure(org.xml.sax.InputSource inputSource) |
void |
doConfigure(java.io.InputStream inputStream) |
void |
doConfigure(java.util.List<SaxEvent> eventList) |
void |
doConfigure(java.lang.String filename) |
void |
doConfigure(java.net.URL url) |
static void |
informContextOfURLUsedForConfiguration(Context context,
java.net.URL url) |
protected Pattern |
initialPattern() |
java.util.List<SaxEvent> |
recallSafeConfiguration()
Recall the event list previously registered as a safe point.
|
void |
registerSafeConfiguration()
Register the current event list in currently in the interpreter as a safe
configuration point.
|
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContextprotected Interpreter interpreter
public final void doConfigure(java.net.URL url)
throws JoranException
JoranExceptionpublic final void doConfigure(java.lang.String filename)
throws JoranException
JoranExceptionpublic final void doConfigure(java.io.File file)
throws JoranException
JoranExceptionpublic static void informContextOfURLUsedForConfiguration(Context context, java.net.URL url)
public final void doConfigure(java.io.InputStream inputStream)
throws JoranException
JoranExceptionprotected abstract void addInstanceRules(RuleStore rs)
protected abstract void addImplicitRules(Interpreter interpreter)
protected void addDefaultNestedComponentRegistryRules(DefaultNestedComponentRegistry registry)
protected Pattern initialPattern()
protected void buildInterpreter()
public final void doConfigure(org.xml.sax.InputSource inputSource)
throws JoranException
JoranExceptionpublic void doConfigure(java.util.List<SaxEvent> eventList) throws JoranException
JoranExceptionpublic void registerSafeConfiguration()
public java.util.List<SaxEvent> recallSafeConfiguration()