org.llrp.ltk.types
Class UnsignedLong_DATETIME

java.lang.Object
  extended by org.llrp.ltk.types.LLRPType
      extended by org.llrp.ltk.types.LLRPNumberType
          extended by org.llrp.ltk.types.UnsignedLong
              extended by org.llrp.ltk.types.UnsignedLong_DATETIME

public class UnsignedLong_DATETIME
extends UnsignedLong


Field Summary
 
Fields inherited from class org.llrp.ltk.types.UnsignedLong
LENGTH, value
 
Fields inherited from class org.llrp.ltk.types.LLRPNumberType
signed
 
Constructor Summary
UnsignedLong_DATETIME()
           
UnsignedLong_DATETIME(org.jdom.Element element)
          Creates a new UnsignedLong_DATETIME object from jdom element - used for xml decoding
UnsignedLong_DATETIME(LLRPBitList bitList)
          Creates a new UnsignedLong_DATETIME object.
UnsignedLong_DATETIME(long aLong)
          unsigned long encoded in datetime Format.
UnsignedLong_DATETIME(java.lang.String string)
           
 
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.UnsignedLong
decodeBinary, encodeBinary, equals, hashCode, inRange, inRange, toBigInteger, toInteger, toLong, toString
 
Methods inherited from class org.llrp.ltk.types.LLRPNumberType
equals, 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

UnsignedLong_DATETIME

public UnsignedLong_DATETIME(long aLong)
unsigned long encoded in datetime Format.

Parameters:
aLong -

UnsignedLong_DATETIME

public UnsignedLong_DATETIME()

UnsignedLong_DATETIME

public UnsignedLong_DATETIME(java.lang.String string)
Parameters:
string -

UnsignedLong_DATETIME

public UnsignedLong_DATETIME(org.jdom.Element element)
Creates a new UnsignedLong_DATETIME object from jdom element - used for xml decoding

Parameters:
element - to be decoded

UnsignedLong_DATETIME

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

Parameters:
bitList - to be decoded
Method Detail

length

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

Returns:
int

decodeXML

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

Overrides:
decodeXML in class UnsignedLong
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 UnsignedLong
Parameters:
name - returned content should have
ns - Namespace of elements

toString

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

Overrides:
toString in class LLRPNumberType
Returns:
String


Copyright © 2007 ETH Zurich.