|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.llrp.ltk.types.LLRPType org.llrp.ltk.types.BitArray org.llrp.ltk.types.BitArray_HEX
public class BitArray_HEX
Field Summary |
---|
Fields inherited from class org.llrp.ltk.types.BitArray |
---|
bits, LENGTH |
Constructor Summary | |
---|---|
BitArray_HEX()
empty bit array. |
|
BitArray_HEX(Bit[] bits)
Array of Bits encoded in HEX Format. |
|
BitArray_HEX(org.jdom.Element element)
|
|
BitArray_HEX(int length)
create a new BitArray_HEX. |
|
BitArray_HEX(LLRPBitList list)
create a new BitArray_HEX. |
|
BitArray_HEX(java.lang.String hexString)
|
Method Summary | |
---|---|
void |
decodeXML(org.jdom.Element element)
decode JDOM Element |
org.jdom.Content |
encodeXML(java.lang.String name,
org.jdom.Namespace ns)
encode to XML |
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.BitArray |
---|
add, clear, decodeBinary, encodeBinary, get, inRange, set, size, toString |
Methods inherited from class org.llrp.ltk.types.LLRPType |
---|
toXMLString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BitArray_HEX(Bit[] bits)
bits
- to be decodedpublic BitArray_HEX(LLRPBitList list)
list
- to be decodedpublic BitArray_HEX(int length)
length
- of arraypublic BitArray_HEX()
public BitArray_HEX(org.jdom.Element element)
element
- to be decodedpublic BitArray_HEX(java.lang.String hexString)
hexString
- String in Hexadecimal formatMethod Detail |
---|
public static int length()
public org.jdom.Content encodeXML(java.lang.String name, org.jdom.Namespace ns)
encodeXML
in class BitArray
name
- of elementns
- Namespacepublic void decodeXML(org.jdom.Element element)
decodeXML
in class BitArray
element
- to decodepublic java.lang.String toString()
LLRPType
toString
in class BitArray
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |