org.llrp.ltk.types
Class UnsignedByte_HEX

java.lang.Object
  extended by org.llrp.ltk.types.LLRPType
      extended by org.llrp.ltk.types.LLRPNumberType
          extended by org.llrp.ltk.types.UnsignedByte
              extended by org.llrp.ltk.types.UnsignedByte_HEX

public class UnsignedByte_HEX
extends UnsignedByte

unsigned 16 bit short


Field Summary
 
Fields inherited from class org.llrp.ltk.types.UnsignedByte
value
 
Fields inherited from class org.llrp.ltk.types.LLRPNumberType
signed
 
Constructor Summary
UnsignedByte_HEX()
          Creates a new UnsignedByte_HEX object.
UnsignedByte_HEX(byte value)
          Creates a new UnsignedByte_HEX object from byte
UnsignedByte_HEX(org.jdom.Element element)
           
UnsignedByte_HEX(int value)
          Creates a new UnsignedByte_HEX object.
UnsignedByte_HEX(LLRPBitList bitList)
          Creates a new UnsignedByte_HEX object.
UnsignedByte_HEX(java.lang.String valueString)
          Creates a new UnsignedByte_HEX object.
UnsignedByte_HEX(java.lang.String valueString, int radix)
          String representation in specified 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.
 java.lang.String toString()
          String representation
 java.lang.String toString(int radix)
           
 
Methods inherited from class org.llrp.ltk.types.UnsignedByte
decodeBinary, encodeBinary, inRange, inRange, length, toByte, toInteger
 
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

UnsignedByte_HEX

public UnsignedByte_HEX(int value)
Creates a new UnsignedByte_HEX object.

Parameters:
value - to set

UnsignedByte_HEX

public UnsignedByte_HEX(byte value)
Creates a new UnsignedByte_HEX object from byte

Parameters:
value - interpreted as unsigned byte

UnsignedByte_HEX

public UnsignedByte_HEX(java.lang.String valueString)
Creates a new UnsignedByte_HEX object.

Parameters:
valueString - value as string

UnsignedByte_HEX

public UnsignedByte_HEX(LLRPBitList bitList)
Creates a new UnsignedByte_HEX object.

Parameters:
bitList - to be decoded

UnsignedByte_HEX

public UnsignedByte_HEX()
Creates a new UnsignedByte_HEX object.


UnsignedByte_HEX

public UnsignedByte_HEX(java.lang.String valueString,
                        int radix)
String representation in specified radix.


UnsignedByte_HEX

public UnsignedByte_HEX(org.jdom.Element element)
Method Detail

decodeXML

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

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

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 UnsignedByte
Parameters:
name - returned content should have
ns - Namespace of elements

toString

public java.lang.String toString(int radix)
Overrides:
toString in class UnsignedByte

toString

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

Overrides:
toString in class UnsignedByte
Returns:
String


Copyright © 2007 ETH Zurich.