Class Any23DataFormat
- java.lang.Object
-
- org.apache.camel.model.IdentifiedType
-
- org.apache.camel.model.DataFormatDefinition
-
- org.apache.camel.model.dataformat.Any23DataFormat
-
@Metadata(firstVersion="3.0.0", label="dataformat,transformation", title="Any23") public class Any23DataFormat extends DataFormatDefinition
Extract RDF data from HTML documents.
-
-
Constructor Summary
Constructors Constructor Description Any23DataFormat()
Any23DataFormat(String baseuri)
Any23DataFormat(String baseuri, Any23Type outputFormat)
Any23DataFormat(String baseuri, Any23Type outputFormat, Map<String,String> configurations)
Any23DataFormat(String baseuri, Any23Type outputFormat, Map<String,String> configurations, List<String> extractors)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getBaseUri()
List<PropertyDefinition>
getConfiguration()
Map<String,String>
getConfigurationAsMap()
List<String>
getExtractors()
String
getOutputFormat()
void
setBaseUri(String baseUri)
The URI to use as base for building RDF entities if only relative paths are provided.void
setConfiguration(List<PropertyDefinition> configuration)
Configurations for Apache Any23 as key-value pairs in order to customize the extraction process.void
setConfiguration(Map<String,String> configuration)
Configurations for Apache Any23 as key-value pairs in order to customize the extraction process.void
setExtractors(List<String> extractors)
List of Any23 extractors to be used in the unmarshal operation.void
setOutputFormat(String outputFormat)
What RDF syntax to unmarshal as, can be: NTRIPLES, TURTLE, NQUADS, RDFXML, JSONLD, RDFJSON, RDF4JMODEL.-
Methods inherited from class org.apache.camel.model.DataFormatDefinition
getDataFormat, getDataFormatName, getShortName, setDataFormat, setDataFormatName
-
Methods inherited from class org.apache.camel.model.IdentifiedType
getId, setId
-
-
-
-
Method Detail
-
getOutputFormat
public String getOutputFormat()
-
setOutputFormat
public void setOutputFormat(String outputFormat)
What RDF syntax to unmarshal as, can be: NTRIPLES, TURTLE, NQUADS, RDFXML, JSONLD, RDFJSON, RDF4JMODEL. It is by default: RDF4JMODEL.
-
getConfiguration
public List<PropertyDefinition> getConfiguration()
-
setConfiguration
public void setConfiguration(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.
-
setConfiguration
public void setConfiguration(Map<String,String> 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.
-
setExtractors
public void setExtractors(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.
-
getBaseUri
public String getBaseUri()
-
setBaseUri
public void setBaseUri(String baseUri)
The URI to use as base for building RDF entities if only relative paths are provided.
-
-