com.jalios.jcms.policy
Class BasicExportPolicyFilter
java.lang.Object
com.jalios.jcms.policy.AbstractPolicyFilter
com.jalios.jcms.policy.BasicExportPolicyFilter
- All Implemented Interfaces:
- PluginComponent, ExportPolicyFilter, PolicyFilter, Comparable
public class BasicExportPolicyFilter
- extends AbstractPolicyFilter
- implements ExportPolicyFilter, PluginComponent
This class provides hooks for data export.
- Since:
- jcms-5.7.2
- Version:
- $Revision: 22160 $
- Author:
- Olivier Dedieu
REVISION
public static final String REVISION
- See Also:
- Constant Field Values
BasicExportPolicyFilter
public BasicExportPolicyFilter()
init
public boolean init(Plugin plugin)
- Description copied from interface:
PluginComponent
- Initialize the component with the given plugin configuration
- Specified by:
init
in interface PluginComponent
- Parameters:
plugin
- the calling plugin
- Returns:
- true if the component has been correctly initialized.
- Since:
- jcms-5.7.1
- See Also:
PluginComponent.init(Plugin)
processDataExport
public void processDataExport(Data data,
StringBuffer sb,
Map context)
- Description copied from interface:
ExportPolicyFilter
- This method is called for each data to export. The StringBuffer
sb
contains the XML export of the data.
- Specified by:
processDataExport
in interface ExportPolicyFilter
- Parameters:
data
- the exported data.sb
- contains the XML representation of the data.context
- the export context.- See Also:
ExportPolicyFilter.processDataExport(Data, java.lang.StringBuffer, java.util.Map)
processDataSetExport
public void processDataSetExport(Set<? extends Data> dataSet,
StringBuffer sb,
Map context)
- Description copied from interface:
ExportPolicyFilter
- This method is called for each data set to export. The StringBuffer
sb
contains the XML export of the data set.
- Specified by:
processDataSetExport
in interface ExportPolicyFilter
- Parameters:
dataSet
- the data set.sb
- contains the XML representation of the data set.context
- the export context.- See Also:
ExportPolicyFilter.processDataSetExport(Set, java.lang.StringBuffer, java.util.Map)
Copyright © 2001-2010 Jalios SA. All Rights Reserved.