|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.fosstrak.llrp.commander.util.LLRPFactory
public class LLRPFactory
This class lets you generate default LLRP messages automatically.
| Constructor Summary | |
|---|---|
LLRPFactory()
|
|
| Method Summary | |
|---|---|
static org.llrp.ltk.types.LLRPMessage |
createLLRPMessage(java.lang.String messageType)
Creates a new LLRP message of the given type. |
static org.llrp.ltk.types.LLRPType |
createLLRPType(java.lang.String typeName,
java.lang.String value)
Creates a new LLRPType of the given name with the given value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LLRPFactory()
| Method Detail |
|---|
public static org.llrp.ltk.types.LLRPMessage createLLRPMessage(java.lang.String messageType)
messageType - the type of the message that should be created (e.g. ADD_ROSPEC)
public static org.llrp.ltk.types.LLRPType createLLRPType(java.lang.String typeName,
java.lang.String value)
throws java.lang.Exception
typeName - the name of the type to create (e.g. UnsignedInteger)value - (e.g. "1")
java.lang.Exception - if the given value can not be parsed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||