|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.llrp.ltk.types.LLRPParameter
public abstract class LLRPParameter
Representing an LLRPParameter uniquely identified by its type number. Call empty constructor to create new parameter. Use constructor taking LLRPBitList or byte[] as a parameter to instantiate parameter from binary encoding. Use constructor taking JDOM element (www.jdom.org) to create parameter from XML encoding See also TLVParameter and TVParameter
| Field Summary | |
|---|---|
protected UnsignedShort |
bitLength
|
| Constructor Summary | |
|---|---|
LLRPParameter()
|
|
| Method Summary | |
|---|---|
abstract void |
decodeBinary(LLRPBitList list)
create objects from binary. |
abstract void |
decodeXML(org.jdom.Element element)
create objects from xml. |
abstract LLRPBitList |
encodeBinary()
create binary representation of this parameter. |
abstract org.jdom.Content |
encodeXML(java.lang.String name,
org.jdom.Namespace ns)
create xml representation of this parameter. |
int |
getByteLength()
length in bytes. |
abstract java.lang.String |
getName()
name of parameter (same as class name) |
abstract SignedShort |
getTypeNum()
type number uniquely identifies a parameter. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected UnsignedShort bitLength
| Constructor Detail |
|---|
public LLRPParameter()
| Method Detail |
|---|
public abstract SignedShort getTypeNum()
public abstract java.lang.String getName()
public abstract void decodeBinary(LLRPBitList list)
list - - created by calling encodeBinary()public abstract LLRPBitList encodeBinary()
public abstract org.jdom.Content encodeXML(java.lang.String name,
org.jdom.Namespace ns)
name - of elementns - Namespace of elements
public abstract void decodeXML(org.jdom.Element element)
throws InvalidLLRPMessageException
element - to be decoded
InvalidLLRPMessageExceptionpublic int getByteLength()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||