public class BasicExportPolicyFilter extends AbstractPolicyFilter implements ExportPolicyFilter, PluginComponent
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
REVISION |
order
Constructor and Description |
---|
BasicExportPolicyFilter() |
Modifier and Type | Method and Description |
---|---|
boolean |
init(Plugin plugin)
Initialize the component with the given plugin configuration
|
void |
processDataExport(Data data,
java.lang.StringBuffer sb,
java.util.Map context)
This method is called for each data to export.
|
void |
processDataSetExport(java.util.Set<? extends Data> dataSet,
java.lang.StringBuffer sb,
java.util.Map context)
This method is called for each data set to export.
|
compareTo, equals, getOrder, setOrder
public static final java.lang.String REVISION
public boolean init(Plugin plugin)
PluginComponent
init
in interface PluginComponent
plugin
- the calling pluginPluginComponent.init(Plugin)
public void processDataExport(Data data, java.lang.StringBuffer sb, java.util.Map context)
ExportPolicyFilter
sb
contains the XML export of the data.processDataExport
in interface ExportPolicyFilter
data
- the exported data.sb
- contains the XML representation of the data.context
- the export context.ExportPolicyFilter.processDataExport(Data, java.lang.StringBuffer, java.util.Map)
public void processDataSetExport(java.util.Set<? extends Data> dataSet, java.lang.StringBuffer sb, java.util.Map context)
ExportPolicyFilter
sb
contains the XML export of the data set.processDataSetExport
in interface ExportPolicyFilter
dataSet
- the data set.sb
- contains the XML representation of the data set.context
- the export context.ExportPolicyFilter.processDataSetExport(Set, java.lang.StringBuffer, java.util.Map)
Copyright © 2001-2010 Jalios SA. All Rights Reserved.