org.llrp.ltk.types
Class Integer96_HEX

java.lang.Object
  extended by org.llrp.ltk.types.LLRPType
      extended by org.llrp.ltk.types.LLRPNumberType
          extended by org.llrp.ltk.types.UnsignedInteger96
              extended by org.llrp.ltk.types.Integer96_HEX

public class Integer96_HEX
extends UnsignedInteger96

96 bit Integer encoded in HEX Format


Field Summary
 
Fields inherited from class org.llrp.ltk.types.UnsignedInteger96
LENGTH, value
 
Fields inherited from class org.llrp.ltk.types.LLRPNumberType
signed
 
Constructor Summary
Integer96_HEX()
           
Integer96_HEX(org.jdom.Element element)
           
Integer96_HEX(LLRPBitList list)
           
Integer96_HEX(long value)
           
Integer96_HEX(java.lang.String string)
           
Integer96_HEX(java.lang.String string, int radix)
           
 
Method Summary
 void decodeXML(org.jdom.Element element)
          create objects from xml.
 org.jdom.Content encodeXML(java.lang.String name, org.jdom.Namespace ns)
          create xml representation of this parameter.
static int length()
          length in number of bits used to represent this type.
 java.lang.String toString()
          String representation
 
Methods inherited from class org.llrp.ltk.types.UnsignedInteger96
decodeBinary, encodeBinary, inRange, inRange, setBits, toInteger, toString
 
Methods inherited from class org.llrp.ltk.types.LLRPNumberType
equals, hashCode, intValue
 
Methods inherited from class org.llrp.ltk.types.LLRPType
toXMLString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Integer96_HEX

public Integer96_HEX()

Integer96_HEX

public Integer96_HEX(LLRPBitList list)

Integer96_HEX

public Integer96_HEX(long value)

Integer96_HEX

public Integer96_HEX(org.jdom.Element element)

Integer96_HEX

public Integer96_HEX(java.lang.String string)

Integer96_HEX

public Integer96_HEX(java.lang.String string,
                     int radix)
Method Detail

length

public static int length()
length in number of bits used to represent this type.


encodeXML

public org.jdom.Content encodeXML(java.lang.String name,
                                  org.jdom.Namespace ns)
Description copied from class: LLRPType
create xml representation of this parameter.

Overrides:
encodeXML in class UnsignedInteger96
Parameters:
name - returned content should have
ns - Namespace of elements

decodeXML

public void decodeXML(org.jdom.Element element)
Description copied from class: LLRPType
create objects from xml.

Overrides:
decodeXML in class UnsignedInteger96
Parameters:
element - to be decoded

toString

public java.lang.String toString()
Description copied from class: LLRPType
String representation

Overrides:
toString in class UnsignedInteger96
Returns:
String


Copyright © 2007 ETH Zurich.