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

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


org.drools.brms.server.contenthandler
Class PlainTextContentHandler

java.lang.Object
  extended by org.drools.brms.server.contenthandler.ContentHandler
      extended by org.drools.brms.server.contenthandler.PlainTextContentHandler
Direct Known Subclasses:
DRLFileContentHandler, DSLDefinitionContentHandler, FunctionContentHandler

public abstract class PlainTextContentHandler
extends ContentHandler


Constructor Summary
PlainTextContentHandler()
           
 
Method Summary
 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

PlainTextContentHandler

public PlainTextContentHandler()
Method Detail

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


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