public class RichXMLFactory extends AbstractXMLFactory
RichXMLFactory.GenericAddon
, and implement new addons directly
in overridden class.Modifier and Type | Class and Description |
---|---|
class |
RichXMLFactory.CALLAddon<A extends IAddon>
Addon dedicated to CALL implementation, in order to handle arguments under the form of attributes.
|
class |
RichXMLFactory.FORMATAddon<A extends IAddon>
Addon dedicated to FORMAT implementation, in order to handle arguments under the form of attributes.
|
class |
RichXMLFactory.GenericAddon<A extends IAddon>
SubFactory used by default if an addon does not have its own SubFactory.
|
class |
RichXMLFactory.INDEXAddon
Addon dedicated to INDEX implementation, in order to handle correctly "index" node and its sub-nodes
"value" and "then".
|
class |
RichXMLFactory.MainRuleFactoryImpl |
class |
RichXMLFactory.PRINTFAddon<A extends IAddon>
Addon dedicated to FORMAT implementation, in order to handle arguments under the form of attributes.
|
static interface |
RichXMLFactory.RichSubFactory<A>
To implement in order to provide specific Addon parsing.
|
AbstractXMLFactory.MainRuleFactory
level, NODE_RULES
Constructor and Description |
---|
RichXMLFactory() |
RichXMLFactory(CompilationLevel compilationLevel) |
RichXMLFactory(ICompilationContext compilationContext) |
Modifier and Type | Method and Description |
---|---|
protected <A extends IAddon> |
getAddonFactory(A addon) |
protected <A extends IAddon> |
getAddonFactory(String addonImplem) |
protected <A extends IAddon> |
getFromAddon(Node node) |
protected AbstractXMLFactory.MainRuleFactory |
getMainRuleFactory() |
void |
registerAddon(Class<? extends RichXMLFactory.RichSubFactory<?>> clazz)
Allows to register a new RichSubFactory implementation, dedicated to one (or more) specific MRules
IAddon
implementation. |
void |
registerAddon(RichXMLFactory.RichSubFactory<?> addon)
Allows to register directly a RichSubFactory instance.
|
protected void |
registerAddons() |
protected <A extends IAddon> |
writeAddonList(Outer os,
Class<A> clazz,
List<? extends A> addonsList,
String nodeName) |
autoSetFromAttributes, autoSetFromChildren, closeNode, closeNode, finishCloseNode, finishOpenNode, finishOpenNode, getEvaluationOperator, getEvaluationOperator, getLogicalOperator, getLogicalOperator, getSpaces, handleRuleEngineObject, openNode, openNode, read, read, read, read, read, read, startOpenNode, updateDebugInfos, write, write, write, write, writeAttribute, writeNode, writeNode, writeNode, writeNode
compile, getCacheActivationResolver, getCompilationContext, getCompilationLevel, isForceCompilationLevel, isOptimizationEnabled, setCacheActivationResolver, setCompilationContext, setCompilationLevel, setForceCompilationLevel, setOptimizationEnabled
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCacheActivationResolver, getCompilationContext, getCompilationLevel, isForceCompilationLevel, isOptimizationEnabled, setCacheActivationResolver, setCompilationContext, setCompilationLevel, setForceCompilationLevel, setOptimizationEnabled
public RichXMLFactory() throws MConfigurationException
MConfigurationException
public RichXMLFactory(CompilationLevel compilationLevel) throws MConfigurationException
MConfigurationException
public RichXMLFactory(ICompilationContext compilationContext) throws MConfigurationException
MConfigurationException
protected void registerAddons() throws MConfigurationException
MConfigurationException
public void registerAddon(Class<? extends RichXMLFactory.RichSubFactory<?>> clazz) throws MConfigurationException
IAddon
implementation.IAddonsManager
.clazz
- Addon's classMConfigurationException
registerAddon(RichSubFactory)
public void registerAddon(RichXMLFactory.RichSubFactory<?> addon)
addon
- Addon to register.registerAddon(Class)
protected <A extends IAddon> A getFromAddon(Node node) throws XMLMConfigurationException
XMLMConfigurationException
protected <A extends IAddon> RichXMLFactory.RichSubFactory<A> getAddonFactory(A addon)
protected <A extends IAddon> RichXMLFactory.RichSubFactory<A> getAddonFactory(String addonImplem)
protected <A extends IAddon> void writeAddonList(Outer os, Class<A> clazz, List<? extends A> addonsList, String nodeName) throws XMLMConfigurationException, IOException
protected AbstractXMLFactory.MainRuleFactory getMainRuleFactory()
getMainRuleFactory
in class AbstractXMLFactory