当前页面:
在线文档首页 >
JBoss RULES 4.0.0.11754MR2 API 英文版文档
BRXMLContentHandler (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档
org.drools.brms.server.contenthandler
Class BRXMLContentHandler
java.lang.Object
org.drools.brms.server.contenthandler.ContentHandler
org.drools.brms.server.contenthandler.BRXMLContentHandler
- All Implemented Interfaces:
- IRuleAsset
public class BRXMLContentHandler
- extends ContentHandler
- implements IRuleAsset
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BRXMLContentHandler
public BRXMLContentHandler()
retrieveAssetContent
public void retrieveAssetContent(RuleAsset asset,
PackageItem pkg,
AssetItem item)
throws com.google.gwt.user.client.rpc.SerializableException
- Description copied from class:
ContentHandler
- When loading asset content.
- Specified by:
retrieveAssetContent
in class ContentHandler
- Parameters:
asset
- The target.item
- The source.
- Throws:
com.google.gwt.user.client.rpc.SerializableException
storeAssetContent
public void storeAssetContent(RuleAsset asset,
AssetItem repoAsset)
throws com.google.gwt.user.client.rpc.SerializableException
- Description copied from class:
ContentHandler
- For storing the asset content back into the repo node (any changes).
- Specified by:
storeAssetContent
in class ContentHandler
- Throws:
com.google.gwt.user.client.rpc.SerializableException
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.