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

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


org.drools.lang.descr
Class DescrFactory

java.lang.Object
  extended by org.drools.lang.descr.DescrFactory

public class DescrFactory
extends Object

This is the factory for ALL descriptors (eventually). This will be tied in a with a package builder session, so it can add in context information for validation when parsing.

Author:
Michael Neale

Constructor Summary
DescrFactory()
           
 
Method Summary
 AccumulateDescr createAccumulate()
           
 CollectDescr createCollect()
           
 FactTemplateDescr createFactTemplate(String templateName)
           
 FieldTemplateDescr createFieldTemplate()
           
 ForallDescr createForall()
           
 FromDescr createFrom()
           
 FunctionDescr createFunction(String functionName, String returnType)
           
 FunctionImportDescr createFunctionImport()
           
 GlobalDescr createGlobal()
           
 ImportDescr createImport()
           
 PackageDescr createPackage(String packageName)
           
 QueryDescr createQuery(String queryName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DescrFactory

public DescrFactory()
Method Detail

createPackage

public PackageDescr createPackage(String packageName)

createGlobal

public GlobalDescr createGlobal()

createFrom

public FromDescr createFrom()

createAccumulate

public AccumulateDescr createAccumulate()

createCollect

public CollectDescr createCollect()

createForall

public ForallDescr createForall()

createImport

public ImportDescr createImport()

createFunctionImport

public FunctionImportDescr createFunctionImport()

createQuery

public QueryDescr createQuery(String queryName)

createFunction

public FunctionDescr createFunction(String functionName,
                                    String returnType)

createFactTemplate

public FactTemplateDescr createFactTemplate(String templateName)

createFieldTemplate

public FieldTemplateDescr createFieldTemplate()


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