Constructor AnalyzerWrapper
AnalyzerWrapper()
Creates a new AnalyzerWrapper. Since the ReuseStrategy of the wrapped Analyzers are unknown, PER_FIELD_REUSE_STRATEGY is assumed.
Declaration
protected AnalyzerWrapper()
AnalyzerWrapper(ReuseStrategy)
Creates a new AnalyzerWrapper with the given reuse strategy.
If you want to wrap a single delegate Analyzer you can probably
reuse its strategy when instantiating this subclass:
base(innerAnalyzer.Strategy)
.
If you choose different analyzers per field, use PER_FIELD_REUSE_STRATEGY.
Declaration
protected AnalyzerWrapper(ReuseStrategy reuseStrategy)
Parameters
Type | Name | Description |
---|---|---|
ReuseStrategy | reuseStrategy |