Class ASN1DataFormat.Builder
- java.lang.Object
-
- org.apache.camel.model.dataformat.ASN1DataFormat.Builder
-
- All Implemented Interfaces:
DataFormatBuilder<ASN1DataFormat>
- Enclosing class:
- ASN1DataFormat
public static class ASN1DataFormat.Builder extends Object implements DataFormatBuilder<ASN1DataFormat>
Builder
is a specific builder forASN1DataFormat
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ASN1DataFormat
end()
Ends the build of the data format.ASN1DataFormat.Builder
unmarshalType(Class<?> unmarshalType)
Class to use when unmarshalling.ASN1DataFormat.Builder
unmarshalTypeName(String unmarshalTypeName)
Class to use when unmarshalling.ASN1DataFormat.Builder
usingIterator(boolean usingIterator)
If the asn1 file has more than one entry, the setting this option to true, allows working with the splitter EIP, to split the data using an iterator in a streaming mode.ASN1DataFormat.Builder
usingIterator(String usingIterator)
If the asn1 file has more than one entry, the setting this option to true, allows working with the splitter EIP, to split the data using an iterator in a streaming mode.
-
-
-
Method Detail
-
usingIterator
public ASN1DataFormat.Builder usingIterator(String usingIterator)
If the asn1 file has more than one entry, the setting this option to true, allows working with the splitter EIP, to split the data using an iterator in a streaming mode.
-
usingIterator
public ASN1DataFormat.Builder usingIterator(boolean usingIterator)
If the asn1 file has more than one entry, the setting this option to true, allows working with the splitter EIP, to split the data using an iterator in a streaming mode.
-
unmarshalTypeName
public ASN1DataFormat.Builder unmarshalTypeName(String unmarshalTypeName)
Class to use when unmarshalling.
-
unmarshalType
public ASN1DataFormat.Builder unmarshalType(Class<?> unmarshalType)
Class to use when unmarshalling.
-
end
public ASN1DataFormat end()
Description copied from interface:DataFormatBuilder
Ends the build of the data format.- Specified by:
end
in interfaceDataFormatBuilder<ASN1DataFormat>
- Returns:
- the data format fully built.
-
-