Package org.jpos.tlv
Class TLVList.TLVListBuilder
- java.lang.Object
-
- org.jpos.tlv.TLVList.TLVListBuilder
-
- Enclosing class:
- TLVList
public static class TLVList.TLVListBuilder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description TLVListBuilder()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TLVList
build()
Build TLV engine.static TLVList.TLVListBuilder
createInstance()
Creates instance of TLV engine builder.TLVList.TLVListBuilder
fixedLengthSize(int lengthSize)
Forces a fixed size of length.TLVList.TLVListBuilder
fixedTagSize(int tagSize)
Forces a fixed size of tag.
-
-
-
Constructor Detail
-
TLVListBuilder
public TLVListBuilder()
-
-
Method Detail
-
createInstance
public static TLVList.TLVListBuilder createInstance()
Creates instance of TLV engine builder.- Returns:
- instance of TLV builder.
-
fixedTagSize
public TLVList.TLVListBuilder fixedTagSize(int tagSize)
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
public TLVList.TLVListBuilder fixedLengthSize(int lengthSize)
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
-
-