AZS

com.a2zss.ISO8583
Class TtLlVField

java.lang.Object
  extended by com.a2zss.ISO8583.TtLlVField
All Implemented Interfaces:
java.io.Serializable

public class TtLlVField
extends java.lang.Object
implements java.io.Serializable

Parser and formatter for TtLlV subfields (for example used in field 55 ICC Related Data)
which are in format Tt - tag (name) 1 or 2 bytes Ll - length 1 or 2 bytes 1 byte if length<128 (value length) V - the tag value

See Also:
Serialized Form

Constructor Summary
TtLlVField()
          Class consructor
TtLlVField(byte[] data)
          Class consructor
 
Method Summary
 byte[] formatTags()
          Method formatTags
 byte[] getTagValue(byte[] tag)
          Method getTagValue
 void parse(byte[] data)
          Method parse - parses tags to inernal TAG objects
 void setTagValue(byte[] tag, byte[] value)
          Method setTagValue
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TtLlVField

public TtLlVField()
Class consructor


TtLlVField

public TtLlVField(byte[] data)
Class consructor

Parameters:
data -
Method Detail

parse

public void parse(byte[] data)
Method parse - parses tags to inernal TAG objects

Parameters:
data -

getTagValue

public byte[] getTagValue(byte[] tag)
Method getTagValue

Parameters:
tag -
Returns:
the tag value or null if no such tag

setTagValue

public void setTagValue(byte[] tag,
                        byte[] value)
Method setTagValue

Parameters:
tag -
value -

formatTags

public byte[] formatTags()
Method formatTags

Returns:
- the formatted data of tags

AZS

Copyright © 2002-2010 AZS Services Ltd. All Rights Reserved.