public abstract class LLRPParameter
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected UnsignedShort |
bitLength |
| Constructor and Description |
|---|
LLRPParameter() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
protected UnsignedShort bitLength
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 elementspublic abstract void decodeXML(org.jdom.Element element)
throws InvalidLLRPMessageException
element - to be decodedInvalidLLRPMessageExceptionpublic int getByteLength()
Copyright © 2007 ETH Zurich.