站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss RULES 4.0.0.11754MR2 API 英文版文档

DroolsMVELFactory (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档


org.drools.base.mvel
Class DroolsMVELFactory

java.lang.Object
  extended by org.drools.base.mvel.DroolsMVELFactory
All Implemented Interfaces:
org.mvel.integration.VariableResolverFactory

public class DroolsMVELFactory
extends Object
implements org.mvel.integration.VariableResolverFactory


Constructor Summary
DroolsMVELFactory()
           
DroolsMVELFactory(Map previousDeclarations, Map localDeclarations, Map globals)
           
 
Method Summary
 org.mvel.integration.VariableResolver createVariable(String name, Object value)
           
 org.mvel.integration.VariableResolverFactory getNextFactory()
           
 Object getObject()
           
 Object getValue(Declaration declaration)
           
 Object getValue(String identifier)
           
 org.mvel.integration.VariableResolver getVariableResolver(String name)
           
 boolean isResolveable(String name)
           
 boolean isTarget(String name)
           
 void setContext(Tuple tuple, Object object, WorkingMemory workingMemory)
           
 void setGlobalsMap(Map globals)
           
 void setLocalDeclarationMap(Map declarations)
           
 org.mvel.integration.VariableResolverFactory setNextFactory(org.mvel.integration.VariableResolverFactory resolverFactory)
           
 void setPreviousDeclarationMap(Map declarations)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DroolsMVELFactory

public DroolsMVELFactory()

DroolsMVELFactory

public DroolsMVELFactory(Map previousDeclarations,
                         Map localDeclarations,
                         Map globals)
Method Detail

setPreviousDeclarationMap

public void setPreviousDeclarationMap(Map declarations)

setLocalDeclarationMap

public void setLocalDeclarationMap(Map declarations)

setGlobalsMap

public void setGlobalsMap(Map globals)

getObject

public Object getObject()

setContext

public void setContext(Tuple tuple,
                       Object object,
                       WorkingMemory workingMemory)

getValue

public Object getValue(Declaration declaration)

getValue

public Object getValue(String identifier)

createVariable

public org.mvel.integration.VariableResolver createVariable(String name,
                                                            Object value)
Specified by:
createVariable in interface org.mvel.integration.VariableResolverFactory

getNextFactory

public org.mvel.integration.VariableResolverFactory getNextFactory()
Specified by:
getNextFactory in interface org.mvel.integration.VariableResolverFactory

setNextFactory

public org.mvel.integration.VariableResolverFactory setNextFactory(org.mvel.integration.VariableResolverFactory resolverFactory)
Specified by:
setNextFactory in interface org.mvel.integration.VariableResolverFactory

getVariableResolver

public org.mvel.integration.VariableResolver getVariableResolver(String name)
Specified by:
getVariableResolver in interface org.mvel.integration.VariableResolverFactory

isResolveable

public boolean isResolveable(String name)
Specified by:
isResolveable in interface org.mvel.integration.VariableResolverFactory

isTarget

public boolean isTarget(String name)
Specified by:
isTarget in interface org.mvel.integration.VariableResolverFactory


Copyright © 2001-2007 JBoss Inc.. All Rights Reserved.