public class ImpinjLISpec extends Custom implements SpecParameter
| Modifier and Type | Field and Description |
|---|---|
static UnsignedInteger |
PARAMETER_SUBTYPE |
static UnsignedInteger |
VENDOR_ID |
data, parameterSubtype, TYPENUM, vendorIdentifierRESERVEDLENGTH, TYPENUMBERLENGTHbitLength| Constructor and Description |
|---|
ImpinjLISpec()
empty constructor to create new parameter.
|
ImpinjLISpec(Custom custom)
Constructor to create this parameter from custom parameter
|
ImpinjLISpec(org.jdom.Element element)
Constructor to create parameter from xml encoded parameter
calls decodeXML to decode parameter.
|
ImpinjLISpec(LLRPBitList list)
Constructor to create parameter from binary encoded parameter
calls decodeBinary to decode parameter.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addToCustomList(Custom custom)
add element custom of type Custom .
|
protected void |
decodeBinarySpecific(LLRPBitList binary)
decoding function to be implemented by each parameter
|
void |
decodeXML(org.jdom.Element element)
create objects from xml.
|
LLRPBitList |
encodeBinarySpecific()
protected method to force subclasses to implement their specific encoding
|
org.jdom.Content |
encodeXML(java.lang.String name,
org.jdom.Namespace ns)
create xml representation of this parameter.
|
java.util.List<Custom> |
getCustomList()
get customList of type List <Custom> .
|
ImpinjC1G2LocationConfig |
getImpinjC1G2LocationConfig()
get impinjC1G2LocationConfig of type ImpinjC1G2LocationConfig .
|
ImpinjLocationConfig |
getImpinjLocationConfig()
get impinjLocationConfig of type ImpinjLocationConfig .
|
ImpinjLocationReporting |
getImpinjLocationReporting()
get impinjLocationReporting of type ImpinjLocationReporting .
|
java.lang.String |
getName()
name of parameter (same as class name)
|
static java.lang.Integer |
length()
For TLV Parameter length can not be determined at compile time.
|
void |
setCustomList(java.util.List<Custom> customList)
set customList of type List <Custom>.
|
void |
setImpinjC1G2LocationConfig(ImpinjC1G2LocationConfig impinjC1G2LocationConfig)
set impinjC1G2LocationConfig of type ImpinjC1G2LocationConfig.
|
void |
setImpinjLocationConfig(ImpinjLocationConfig impinjLocationConfig)
set impinjLocationConfig of type ImpinjLocationConfig.
|
void |
setImpinjLocationReporting(ImpinjLocationReporting impinjLocationReporting)
set impinjLocationReporting of type ImpinjLocationReporting.
|
getData, getParameterSubtype, getTypeNum, getVendorIdentifier, setData, setParameterSubtype, setVendorIdentifier, toStringdecodeBinary, encodeBinarygetByteLengthclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdecodeBinary, encodeBinarydecodeBinary, encodeBinarydecodeBinary, encodeBinarypublic static final UnsignedInteger PARAMETER_SUBTYPE
public static final UnsignedInteger VENDOR_ID
public ImpinjLISpec()
public ImpinjLISpec(LLRPBitList list)
list - to be decodedpublic ImpinjLISpec(org.jdom.Element element)
throws InvalidLLRPMessageException
element - is the xml element to be decodedInvalidLLRPMessageExceptionpublic ImpinjLISpec(Custom custom)
custom - public LLRPBitList encodeBinarySpecific()
CustomencodeBinarySpecific in class Custompublic org.jdom.Content encodeXML(java.lang.String name,
org.jdom.Namespace ns)
encodeXML in interface AccessCommandOpSpecencodeXML in interface AccessCommandOpSpecResultencodeXML in interface SpecParameterencodeXML in class Customname - of elementns - Namespace of elementsprotected void decodeBinarySpecific(LLRPBitList binary)
CustomdecodeBinarySpecific in class Custombinary - binary representation of the parameterpublic void decodeXML(org.jdom.Element element)
throws InvalidLLRPMessageException
decodeXML in interface AccessCommandOpSpecdecodeXML in interface AccessCommandOpSpecResultdecodeXML in interface SpecParameterdecodeXML in class Customelement - to be decodedInvalidLLRPMessageExceptionpublic void setImpinjLocationConfig(ImpinjLocationConfig impinjLocationConfig)
impinjLocationConfig - to be setpublic void setImpinjC1G2LocationConfig(ImpinjC1G2LocationConfig impinjC1G2LocationConfig)
impinjC1G2LocationConfig - to be setpublic void setImpinjLocationReporting(ImpinjLocationReporting impinjLocationReporting)
impinjLocationReporting - to be setpublic void setCustomList(java.util.List<Custom> customList)
customList - to be setpublic ImpinjLocationConfig getImpinjLocationConfig()
public ImpinjC1G2LocationConfig getImpinjC1G2LocationConfig()
public ImpinjLocationReporting getImpinjLocationReporting()
public java.util.List<Custom> getCustomList()
public void addToCustomList(Custom custom)
custom - of type Custompublic static java.lang.Integer length()
Copyright © 2007 ETH Zurich.