public final class NAFFilter extends Object implements Consumer<KAFDocument>
 The filter, configured and created using the builder pattern (see builder()), performs
 several optional and configurable operations on a NAFDocumant that is modified in
 place. For the operations supported please refer to the javadoc of Builder.
 
This class is thread-safe.
| Modifier and Type | Class and Description | 
|---|---|
| static class  | NAFFilter.BuilderConfigurable builder object for the creation of  NAFFilters. | 
| Modifier and Type | Field and Description | 
|---|---|
| static NAFFilter | DEFAULT | 
| static String | SUMO_NAMESPACE | 
| static org.eclipse.rdf4j.model.IRI | SUMO_PROCESS | 
| Modifier and Type | Method and Description | 
|---|---|
| void | accept(KAFDocument document) | 
| static NAFFilter.Builder | builder()Returns a new configurable  Builderfor the instantiation of aNAFFilter. | 
| static NAFFilter.Builder | builder(Boolean enableAll)Returns a new configurable  Builderwith allNAFFilterfeatures either
 enabled or disabled, based on the supplied parameter. | 
| void | filter(KAFDocument document)Filters the NAF document specified (the document is modified in-place). | 
public static final String SUMO_NAMESPACE
public static final org.eclipse.rdf4j.model.IRI SUMO_PROCESS
public static final NAFFilter DEFAULT
public void accept(KAFDocument document)
accept in interface Consumer<KAFDocument>public void filter(KAFDocument document)
NAFFilter object.document - the document to filterpublic static final NAFFilter.Builder builder()
Builder for the instantiation of a NAFFilter.Builderpublic static final NAFFilter.Builder builder(@Nullable Boolean enableAll)
Builder with all NAFFilter features either
 enabled or disabled, based on the supplied parameter.enableAll - true, to enable all features; false, to disable all features; null, to maintain
            default settings.BuilderCopyright © 2016–2020 FBK. All rights reserved.