Class TLVList.TLVListBuilder
java.lang.Object
org.jpos.tlv.TLVList.TLVListBuilder
- Enclosing class:
TLVList
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build TLV engine.static TLVList.TLVListBuilderCreates instance of TLV engine builder.fixedLengthSize(int lengthSize) Forces a fixed size of length.fixedTagSize(int tagSize) Forces a fixed size of tag.
-
Constructor Details
-
TLVListBuilder
public TLVListBuilder()
-
-
Method Details
-
createInstance
Creates instance of TLV engine builder.- Returns:
- instance of TLV builder.
-
fixedTagSize
Forces a fixed size of tag.It disables tag size autodetection according with ISO/IEC 7816-4 BER-TLV.
- Parameters:
tagSize- The size of tag in bytes- Returns:
- TLVList builder with fixed tag size
-
fixedLengthSize
Forces a fixed size of length.It disables length size autodetection according with ISO/IEC 7816-4 BER-TLV.
- Parameters:
lengthSize- The size of length in bytes (1 - 4)- Returns:
- TLVList builder with fixed length size
-
build
-