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(File file) |
void |
doConfigure(InputSource inputSource) |
void |
doConfigure(InputStream inputStream) |
void |
doConfigure(InputStream inputStream,
String systemId) |
void |
doConfigure(List<SaxEvent> eventList) |
void |
doConfigure(String filename) |
void |
doConfigure(URL url) |
protected BeanDescriptionCache |
getBeanDescriptionCache() |
static void |
informContextOfURLUsedForConfiguration(Context context,
URL url) |
protected ElementPath |
initialElementPath() |
List<SaxEvent> |
recallSafeConfiguration()
Recall the event list previously registered as a safe point.
|
void |
registerSafeConfiguration(List<SaxEvent> eventList)
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, setContext
protected Interpreter interpreter
public final void doConfigure(URL url) throws JoranException
JoranException
public final void doConfigure(String filename) throws JoranException
JoranException
public final void doConfigure(File file) throws JoranException
JoranException
public static void informContextOfURLUsedForConfiguration(Context context, URL url)
public final void doConfigure(InputStream inputStream) throws JoranException
JoranException
public final void doConfigure(InputStream inputStream, String systemId) throws JoranException
JoranException
protected BeanDescriptionCache getBeanDescriptionCache()
protected abstract void addInstanceRules(RuleStore rs)
protected abstract void addImplicitRules(Interpreter interpreter)
protected void addDefaultNestedComponentRegistryRules(DefaultNestedComponentRegistry registry)
protected ElementPath initialElementPath()
protected void buildInterpreter()
public final void doConfigure(InputSource inputSource) throws JoranException
JoranException
public void doConfigure(List<SaxEvent> eventList) throws JoranException
JoranException
public void registerSafeConfiguration(List<SaxEvent> eventList)
Copyright © 2005–2021 QOS.ch. All rights reserved.