public class SerializationFactory extends AbstractRuleExecutionSetFactory
Constructor and Description |
---|
SerializationFactory() |
SerializationFactory(CompilationLevel compilationLevel) |
SerializationFactory(ICompilationContext compilationContext) |
Modifier and Type | Method and Description |
---|---|
boolean |
isBase64() |
IMRuleExecutionSet |
read(InputStream is)
Reads IMRuleExecutionSet configuration
|
IMRuleExecutionSet |
read(Object ruleExecutionSetAst)
unsupported
|
IMRuleExecutionSet |
read(Reader r)
unsupported
|
IMRuleExecutionSet |
read(Serializable ruleExecutionSetAst)
unsupported
|
void |
setBase64(boolean base64) |
void |
write(OutputStream os,
IMRuleExecutionSet rule)
Writes IMRuleExecutionSet configuration with default charset
|
void |
write(OutputStream os,
IMRuleExecutionSet rule,
String charset)
Writes IMRuleExecutionSet configuration with provider charset
|
void |
write(Writer w,
IMRuleExecutionSet rule)
unsupported
|
compile, getCacheActivationResolver, getCompilationContext, getCompilationLevel, isForceCompilationLevel, isOptimizationEnabled, setCacheActivationResolver, setCompilationContext, setCompilationLevel, setForceCompilationLevel, setOptimizationEnabled
public SerializationFactory()
public SerializationFactory(CompilationLevel compilationLevel)
public SerializationFactory(ICompilationContext compilationContext)
public IMRuleExecutionSet read(InputStream is) throws MConfigurationException
IRuleExecutionSetFactory
MConfigurationException
public IMRuleExecutionSet read(Reader r) throws MConfigurationException
MConfigurationException
public IMRuleExecutionSet read(Object ruleExecutionSetAst) throws MConfigurationException
MConfigurationException
public IMRuleExecutionSet read(Serializable ruleExecutionSetAst) throws MConfigurationException
MConfigurationException
public void write(Writer w, IMRuleExecutionSet rule) throws MConfigurationException, IOException
MConfigurationException
IOException
public void write(OutputStream os, IMRuleExecutionSet rule) throws MConfigurationException, IOException
IRuleExecutionSetFactory
MConfigurationException
IOException
public void write(OutputStream os, IMRuleExecutionSet rule, String charset) throws MConfigurationException, IOException
IRuleExecutionSetFactory
MConfigurationException
IOException
public boolean isBase64()
public void setBase64(boolean base64)