public abstract class GenericConfigurator extends ContextAwareBase
| Modifier and Type | Field and Description |
|---|---|
protected SaxEventInterpreter |
interpreter |
context| Constructor and Description |
|---|
GenericConfigurator() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addDefaultNestedComponentRegistryRules(DefaultNestedComponentRegistry registry) |
protected abstract void |
addImplicitRules(SaxEventInterpreter interpreter) |
protected abstract void |
addInstanceRules(RuleStore rs) |
protected DefaultProcessor |
buildDefaultProcessor(Context context,
InterpretationContext interpretationContext) |
protected void |
buildInterpreter() |
void |
doConfigure(File file) |
void |
doConfigure(InputSource inputSource) |
void |
doConfigure(InputStream inputStream) |
void |
doConfigure(InputStream inputStream,
String systemId) |
void |
doConfigure(String filename) |
void |
doConfigure(URL url) |
static void |
informContextOfURLUsedForConfiguration(Context context,
URL url) |
protected ElementPath |
initialElementPath() |
void |
playEventsAndProcessModel(List<SaxEvent> saxEvents) |
protected void |
processModel(Model model) |
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, setContextprotected SaxEventInterpreter interpreter
public final void doConfigure(URL url) throws JoranException
JoranExceptionpublic final void doConfigure(String filename) throws JoranException
JoranExceptionpublic final void doConfigure(File file) throws JoranException
JoranExceptionpublic static void informContextOfURLUsedForConfiguration(Context context, URL url)
public final void doConfigure(InputStream inputStream) throws JoranException
JoranExceptionpublic final void doConfigure(InputStream inputStream, String systemId) throws JoranException
JoranExceptionprotected abstract void addInstanceRules(RuleStore rs)
protected abstract void addImplicitRules(SaxEventInterpreter interpreter)
protected void addDefaultNestedComponentRegistryRules(DefaultNestedComponentRegistry registry)
protected ElementPath initialElementPath()
protected void buildInterpreter()
public final void doConfigure(InputSource inputSource) throws JoranException
JoranExceptionpublic void playEventsAndProcessModel(List<SaxEvent> saxEvents) throws JoranException
JoranExceptionprotected void processModel(Model model)
protected DefaultProcessor buildDefaultProcessor(Context context, InterpretationContext interpretationContext)
public void registerSafeConfiguration(List<SaxEvent> eventList)
Copyright © 2005–2019 QOS.ch. All rights reserved.