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

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


org.drools.brms.server.contenthandler
Class DRLFileContentHandler

java.lang.Object
  extended by org.drools.brms.server.contenthandler.ContentHandler
      extended by org.drools.brms.server.contenthandler.PlainTextContentHandler
          extended by org.drools.brms.server.contenthandler.DRLFileContentHandler
All Implemented Interfaces:
IRuleAsset

public class DRLFileContentHandler
extends PlainTextContentHandler
implements IRuleAsset


Constructor Summary
DRLFileContentHandler()
           
 
Method Summary
 void assembleDRL(BRMSPackageBuilder builder, AssetItem asset, StringBuffer buf)
          This will be called when a rule asset is to render itself to DRL source.
 void compile(BRMSPackageBuilder builder, AssetItem asset, ContentPackageAssembler.ErrorLogger logger)
          This will be called when the asset is required to compile itself, in the context of the given builder.
 
Methods inherited from class org.drools.brms.server.contenthandler.PlainTextContentHandler
retrieveAssetContent, storeAssetContent
 
Methods inherited from class org.drools.brms.server.contenthandler.ContentHandler
getHandler, isRuleAsset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DRLFileContentHandler

public DRLFileContentHandler()
Method Detail

compile

public void compile(BRMSPackageBuilder builder,
                    AssetItem asset,
                    ContentPackageAssembler.ErrorLogger logger)
             throws DroolsParserException,
                    IOException
Description copied from interface: IRuleAsset
This will be called when the asset is required to compile itself, in the context of the given builder.

Specified by:
compile in interface IRuleAsset
Throws:
DroolsParserException
IOException

assembleDRL

public void assembleDRL(BRMSPackageBuilder builder,
                        AssetItem asset,
                        StringBuffer buf)
Description copied from interface: IRuleAsset
This will be called when a rule asset is to render itself to DRL source.

Specified by:
assembleDRL in interface IRuleAsset


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