Class ISOBitMap
java.lang.Object
org.jpos.iso.ISOComponent
org.jpos.iso.ISOBitMap
- All Implemented Interfaces:
Cloneable
implements Leaf for Bitmap field
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddump(PrintStream p, String indent) dump this field to PrintStream.intgetKey()valid on Leafs only.getValue()valid on Leafs only.byte[]pack()not available on Leaf - always throw ISOExceptionvoidsetFieldNumber(int fieldNumber) changes this Component field number
Use with care, this method does not change any reference held by a Composite.voidintunpack(byte[] b) not available on Leaf - always throw ISOExceptionvoidunpack(InputStream in) not available on Leaf - always throw ISOExceptionMethods inherited from class ISOComponent
getBytes, getChildren, getComposite, getMaxField, pack, set, unset
-
Field Details
-
fieldNumber
-
value
-
-
Constructor Details
-
ISOBitMap
- Parameters:
n- - the FieldNumber
-
ISOBitMap
-
-
Method Details
-
setFieldNumber
changes this Component field number
Use with care, this method does not change any reference held by a Composite.- Specified by:
setFieldNumberin classISOComponent- Parameters:
fieldNumber- new field number
-
getFieldNumber
- Specified by:
getFieldNumberin classISOComponent
-
pack
not available on Leaf - always throw ISOException- Specified by:
packin classISOComponent- Throws:
ISOException
-
unpack
not available on Leaf - always throw ISOException- Specified by:
unpackin classISOComponent- Throws:
ISOException
-
unpack
not available on Leaf - always throw ISOException- Specified by:
unpackin classISOComponent- Throws:
ISOException
-
getKey
Description copied from class:ISOComponentvalid on Leafs only. The value returned is used by ISOMsg as a key to this field.- Overrides:
getKeyin classISOComponent- Returns:
- Object representing this field number
-
getValue
Description copied from class:ISOComponentvalid on Leafs only.- Overrides:
getValuein classISOComponent- Returns:
- Object representing this field value
-
setValue
- Specified by:
setValuein classISOComponent- Parameters:
obj- - Object representing this field value- Throws:
ISOException
-
dump
dump this field to PrintStream. The output is sorta XML, intended to be easily parsed.- Specified by:
dumpin classISOComponent- Parameters:
p- - print streamindent- - optional indent string
-