Package org.jpos.iso

Class ISOBitMap

  • All Implemented Interfaces:
    java.lang.Cloneable

    public class ISOBitMap
    extends ISOComponent
    implements java.lang.Cloneable
    implements Leaf for Bitmap field
    See Also:
    ISOComponent
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected int fieldNumber  
      protected java.util.BitSet value  
    • Constructor Summary

      Constructors 
      Constructor Description
      ISOBitMap​(int n)  
      ISOBitMap​(int n, java.util.BitSet v)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void dump​(java.io.PrintStream p, java.lang.String indent)
      dump this field to PrintStream.
      int getFieldNumber()  
      java.lang.Object getKey()
      valid on Leafs only.
      java.lang.Object getValue()
      valid on Leafs only.
      byte[] pack()
      not available on Leaf - always throw ISOException
      void setFieldNumber​(int fieldNumber)
      changes this Component field number
      Use with care, this method does not change any reference held by a Composite.
      void setValue​(java.lang.Object obj)  
      int unpack​(byte[] b)
      not available on Leaf - always throw ISOException
      void unpack​(java.io.InputStream in)
      not available on Leaf - always throw ISOException
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ISOBitMap

        public ISOBitMap​(int n)
        Parameters:
        n - - the FieldNumber
      • ISOBitMap

        public ISOBitMap​(int n,
                         java.util.BitSet v)
        Parameters:
        n - - fieldNumber
        v - - field value (Bitset)
        See Also:
        BitSet