Class Any23DataFormat.Builder
- java.lang.Object
-
- org.apache.camel.model.dataformat.Any23DataFormat.Builder
-
- All Implemented Interfaces:
DataFormatBuilder<Any23DataFormat>
- Enclosing class:
- Any23DataFormat
public static class Any23DataFormat.Builder extends Object implements DataFormatBuilder<Any23DataFormat>
Builder
is a specific builder forAny23DataFormat
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Any23DataFormat.Builder
baseUri(String baseUri)
The URI to use as base for building RDF entities if only relative paths are provided.Any23DataFormat.Builder
configuration(List<PropertyDefinition> configuration)
Configurations for Apache Any23 as key-value pairs in order to customize the extraction process.Any23DataFormat.Builder
configuration(Map<String,String> configurations)
Configurations for Apache Any23 as key-value pairs in order to customize the extraction process.Any23DataFormat
end()
Ends the build of the data format.Any23DataFormat.Builder
extractors(List<String> extractors)
List of Any23 extractors to be used in the unmarshal operation.Any23DataFormat.Builder
outputFormat(String outputFormat)
What RDF syntax to unmarshal as, can be: NTRIPLES, TURTLE, NQUADS, RDFXML, JSONLD, RDFJSON, RDF4JMODEL.
-
-
-
Method Detail
-
outputFormat
public Any23DataFormat.Builder outputFormat(String outputFormat)
What RDF syntax to unmarshal as, can be: NTRIPLES, TURTLE, NQUADS, RDFXML, JSONLD, RDFJSON, RDF4JMODEL. It is by default: RDF4JMODEL.
-
configuration
public Any23DataFormat.Builder configuration(List<PropertyDefinition> configuration)
Configurations for Apache Any23 as key-value pairs in order to customize the extraction process. The list of supported parameters can be found here. If not provided, a default configuration is used.
-
configuration
public Any23DataFormat.Builder configuration(Map<String,String> configurations)
Configurations for Apache Any23 as key-value pairs in order to customize the extraction process. The list of supported parameters can be found here. If not provided, a default configuration is used.
-
baseUri
public Any23DataFormat.Builder baseUri(String baseUri)
The URI to use as base for building RDF entities if only relative paths are provided.
-
extractors
public Any23DataFormat.Builder extractors(List<String> extractors)
List of Any23 extractors to be used in the unmarshal operation. A list of the available extractors can be found here here. If not provided, all the available extractors are used.
-
end
public Any23DataFormat end()
Description copied from interface:DataFormatBuilder
Ends the build of the data format.- Specified by:
end
in interfaceDataFormatBuilder<Any23DataFormat>
- Returns:
- the data format fully built.
-
-