Class Tlv

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    TlvEmpty

    public class Tlv
    extends java.lang.Object
    implements java.io.Serializable
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private short len  
      private short tag  
      private byte[] value  
    • Constructor Summary

      Constructors 
      Constructor Description
      Tlv()  
      Tlv​(short t, short l, byte[] v)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      short getLen()  
      short getTag()  
      byte[] getValue()  
      void setLen​(short len)  
      void setTag​(short tag)  
      void setValue​(byte[] value)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • tag

        private short tag
      • len

        private short len
      • value

        private byte[] value
    • Constructor Detail

      • Tlv

        public Tlv()
      • Tlv

        public Tlv​(short t,
                   short l,
                   byte[] v)
    • Method Detail

      • getLen

        public short getLen()
        Returns:
        Returns the len.
      • setLen

        public void setLen​(short len)
        Parameters:
        len - The len to set.
      • getTag

        public short getTag()
        Returns:
        Returns the tag.
      • setTag

        public void setTag​(short tag)
        Parameters:
        tag - The tag to set.
      • getValue

        public byte[] getValue()
        Returns:
        Returns the value.
      • setValue

        public void setValue​(byte[] value)
        Parameters:
        value - The value to set.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object