public class CompoundFilter extends AbstractBaseFilter
SUB_FILTER| Constructor and Description |
|---|
CompoundFilter() |
| Modifier and Type | Method and Description |
|---|---|
protected <A extends AbstractBaseFilter> |
addSubFilter(Class<A> subFilterClass) |
void |
cancel()
Cancels the current process.
|
void |
close()
Closes the input document.
|
protected void |
component_done() |
protected void |
component_init() |
IFilterWriter |
createFilterWriter()
Creates a new IFilterWriter object from the most appropriate class to
use with this filter.
|
ISkeletonWriter |
createSkeletonWriter()
Creates a new ISkeletonWriter object that corresponds to the type of skeleton
this filter uses.
|
boolean |
exec(Object sender,
String command,
Object info)
Sends a command for the object to react
|
IParameters |
getActiveParameters() |
IFilter |
getActiveSubFilter() |
boolean |
hasNext()
Indicates if there is an event to process.
|
Event |
next()
Gets the next event available.
|
void |
open(RawDocument input)
Opens the input document described in a give RawDocument object.
|
void |
open(RawDocument input,
boolean generateSkeleton)
Opens the input document described in a give RawDocument object, and
optionally creates skeleton information.
|
protected void |
setActiveSubFilter(IFilter activeSubFilter) |
boolean |
setConfiguration(String configId) |
void |
setParameters(IParameters params)
Sets new parameters for this component.
|
addConfiguration, addConfiguration, addConfigurations, findConfiguration, getConfigurations, getDisplayName, getEncoderManager, getMimeType, removeConfiguration, setDisplayName, setFilterConfigurationMapper, setMimeTypegetParameters, getParameters, getParametersClassNamegetDescription, getName, setDescription, setName, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetName, getParameters, streamforEachRemaining, removepublic IFilter getActiveSubFilter()
protected void setActiveSubFilter(IFilter activeSubFilter)
protected <A extends AbstractBaseFilter> boolean addSubFilter(Class<A> subFilterClass)
public void setParameters(IParameters params)
IConfigurablesetParameters in interface IFiltersetParameters in interface IConfigurablesetParameters in class OkapiComponentparams - The new parameters to use.public IParameters getActiveParameters()
public boolean setConfiguration(String configId)
setConfiguration in class AbstractBaseFilterpublic void cancel()
IFilterpublic void close()
IFilterpublic IFilterWriter createFilterWriter()
IFilterpublic ISkeletonWriter createSkeletonWriter()
IFilterpublic boolean hasNext()
IFilterImplementer Note: The caller must be able to call this method several times without changing state.
public Event next()
IFilterpublic void open(RawDocument input)
IFilterinput - The RawDocument object to use to open the document.public void open(RawDocument input, boolean generateSkeleton)
IFilterinput - The RawDocument object to use to open the document.generateSkeleton - true to generate the skeleton data, false otherwise.public boolean exec(Object sender, String command, Object info)
INotifiableexec in interface INotifiableexec in class Componentcommand - a string identifying the commandinfo - command-specific objectprotected void component_done()
component_done in class OkapiComponentprotected void component_init()
component_init in class OkapiComponentCopyright © 2021. All rights reserved.