public interface Filter extends SCIFIOPlugin
NB: Prioritized.getPriority() is intended to be used to determine a natural
order for Comparable.compareTo(Object).
Concrete Filter implementations should also extend the class they
wrap, allowing the Filter to be used in the same way the wrapped class would
be.
| Modifier and Type | Method and Description |
|---|---|
boolean |
enabledDefault() |
Object |
getParent()
Returns the object this filter augments.
|
boolean |
isCompatible(Class<?> c)
Returns true if this filter is capable of wrapping instances of the
provided class.
|
void |
reset()
Clears any configuration performed on this filter.
|
void |
setParent(Object parent)
Sets the object which this filter augments.
|
Class<?> |
target() |
getVersion, loggetIdentifiercontext, getContext, setContextcompareTo, getPriority, setPrioritygetInfo, setInfogetLocationClass<?> target()
boolean enabledDefault()
void setParent(Object parent)
parent - - The object wrapped by this filterObject getParent()
boolean isCompatible(Class<?> c)
c - - Class to check compatibilityvoid reset()
Copyright © 2011–2026 SCIFIO. All rights reserved.