Class UnknownTag
-
- All Implemented Interfaces:
-
de.jnkconsulting.e3dc.easyrscp.api.frame.Tag
public final class UnknownTag implements Tag
Auxiliary class to represent unknown Tags that were not known at compile time but can still be sent and received
The namespace is tried to be determined. If this is also unknown, Namespace.UNKNOWN is always returned for the namespace property. For the type property, DataType.UNKNOWN is always supplied. The fixed string UNKNWON is supplied as name.
- Since:
2.0
-
-
Constructor Summary
Constructors Constructor Description UnknownTag(String hex)
-
Method Summary
Modifier and Type Method Description NamespacegetNamespace()Namespace defined by E3DC in which this tag is used. DataTypegetType()Data type used in the context of this tag in a Data block. StringgetName()Human-readable name of the tag. StringgetHex()Encoding of the tag in hex string format with 0x as prefix. -
-
Constructor Detail
-
UnknownTag
UnknownTag(String hex)
-
-
Method Detail
-
getNamespace
Namespace getNamespace()
Namespace defined by E3DC in which this tag is used.
-
getName
String getName()
Human-readable name of the tag. Defined by E3DC.
The name corresponds to the E3DC definition WITHOUT the prefix TAG_ and WITHOUT the namespace abbreviation, since these two pieces of information are already apparent from the context
-
-
-
-