|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.drools.brms.server.contenthandler.ContentHandler org.drools.brms.server.contenthandler.DecisionTableXLSHandler
public class DecisionTableXLSHandler
This is for handling XLS content (classic decision tables).
Constructor Summary | |
---|---|
DecisionTableXLSHandler()
|
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. |
void |
retrieveAssetContent(RuleAsset asset,
PackageItem pkg,
AssetItem item)
When loading asset content. |
void |
storeAssetContent(RuleAsset asset,
AssetItem repoAsset)
For storing the asset content back into the repo node (any changes). |
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 |
---|
public DecisionTableXLSHandler()
Method Detail |
---|
public void retrieveAssetContent(RuleAsset asset, PackageItem pkg, AssetItem item) throws com.google.gwt.user.client.rpc.SerializableException
ContentHandler
retrieveAssetContent
in class ContentHandler
asset
- The target.item
- The source.
com.google.gwt.user.client.rpc.SerializableException
public void storeAssetContent(RuleAsset asset, AssetItem repoAsset) throws com.google.gwt.user.client.rpc.SerializableException
ContentHandler
storeAssetContent
in class ContentHandler
com.google.gwt.user.client.rpc.SerializableException
public void assembleDRL(BRMSPackageBuilder builder, AssetItem asset, StringBuffer buf)
IRuleAsset
assembleDRL
in interface IRuleAsset
public void compile(BRMSPackageBuilder builder, AssetItem asset, ContentPackageAssembler.ErrorLogger logger) throws DroolsParserException, IOException
IRuleAsset
compile
in interface IRuleAsset
DroolsParserException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |