Uses of Interface
org.apache.camel.spi.DataFormat
-
Packages that use DataFormat Package Description org.apache.camel The core Camel API.org.apache.camel.spi Service Provider Interfaces used by the Camel runtime which are plugin strategies. -
-
Uses of DataFormat in org.apache.camel
Methods in org.apache.camel that return DataFormat Modifier and Type Method Description DataFormat
CamelContext. createDataFormat(String name)
Creates a new instance of the given data format given its name.DataFormat
CamelContext. resolveDataFormat(String name)
Resolve an existing data format, or creates a new by the given its name -
Uses of DataFormat in org.apache.camel.spi
Classes in org.apache.camel.spi with type parameters of type DataFormat Modifier and Type Class Description static class
DataFormatCustomizer.Builder<T extends DataFormat>
A fluent builder to create aDataFormatCustomizer
instance.Methods in org.apache.camel.spi with type parameters of type DataFormat Modifier and Type Method Description static <T extends DataFormat>
DataFormatCustomizer.Builder<T>DataFormatCustomizer. builder(Class<T> type)
Create a typedDataFormatCustomizer.Builder
that can process a concrete data format type instance.static <T extends DataFormat>
DataFormatCustomizerDataFormatCustomizer. forType(Class<T> type, org.apache.camel.util.function.ThrowingConsumer<T,Exception> consumer)
Create aDataFormatCustomizer
that can process a concrete data format type instance.Methods in org.apache.camel.spi that return DataFormat Modifier and Type Method Description DataFormat
DataFormatResolver. createDataFormat(String name, CamelContext context)
Creates the given data format given its name.DataFormat
ModelReifierFactory. createDataFormat(CamelContext camelContext, Object dataFormatDefinition)
DataFormat
DataFormatFactory. newInstance()
Creates a new DataFormat instance.Methods in org.apache.camel.spi that return types with arguments of type DataFormat Modifier and Type Method Description static DataFormatCustomizer.Builder<DataFormat>
DataFormatCustomizer. builder()
Create a genericDataFormatCustomizer.Builder
.Methods in org.apache.camel.spi with parameters of type DataFormat Modifier and Type Method Description void
DataFormatCustomizer. configure(String name, DataFormat target)
Customize the specifiedDataFormat
.Object
ManagementObjectStrategy. getManagedObjectForDataFormat(CamelContext context, DataFormat dataFormat)
ObjectName
ManagementObjectNameStrategy. getObjectNameForDataFormat(CamelContext context, DataFormat endpoint)
default boolean
DataFormatCustomizer. isEnabled(String name, DataFormat target)
Checks whether this customizer should be applied to the givenDataFormat
.default void
LifecycleStrategy. onDataFormatCreated(String name, DataFormat dataFormat)
Notification onDataFormat
being resolved from theRegistry
void
RestBindingJaxbDataFormatFactory. setupJaxb(CamelContext camelContext, RestConfiguration config, String type, Class<?> typeClass, String outType, Class<?> outTypeClass, DataFormat jaxb, DataFormat outJaxb)
Setup XML data formatMethod parameters in org.apache.camel.spi with type arguments of type DataFormat Modifier and Type Method Description DataFormatCustomizer.Builder<T>
DataFormatCustomizer.Builder. withCondition(BiPredicate<String,DataFormat> condition)
-