Interface SinkWrapperFactory
- All Known Implementing Classes:
BufferingSinkProxyFactory, CreateAnchorsForIndexEntriesFactory, UniqueAnchorNamesValidatorFactory
public interface SinkWrapperFactory
A factory for a sink wrapping another sink.
The delegate may either be the original sink or another wrapper.
- Since:
- 2.0.0
-
Method Summary
Modifier and TypeMethodDescriptioncreateWrapper(Sink sink) By default all wrappers just delegate each method to the wrapped sink's method.intDetermines the order of sink wrappers.
-
Method Details
-
createWrapper
-
getPriority
int getPriority()Determines the order of sink wrappers. The wrapper factory with the highest priority is called first.- Returns:
- the priority of this factory
-