public class CorrespondenceGroup_Rectangle extends Object implements IMimdMetadataValue, INestedKlvValue
CorrespondenceGroup rectangle attribute.
This is a specialisation of a MIMD LIST<Correspondence>.
See ST1907 for more information on this data type.
| Constructor and Description |
|---|
CorrespondenceGroup_Rectangle(byte[] data,
int offset,
int numBytes)
Build a CorrespondenceGroup_Rectangle from encoded bytes.
|
CorrespondenceGroup_Rectangle(List<Correspondence> values)
Create a CorrespondenceGroup_Rectangle from values.
|
| Modifier and Type | Method and Description |
|---|---|
static CorrespondenceGroup_Rectangle |
fromBytes(byte[] data)
Build a CorrespondenceGroup_Rectangle from encoded bytes.
|
byte[] |
getBytes()
Get the encoded bytes.
|
String |
getDisplayableValue()
Return a string of the displayable value.
|
String |
getDisplayName()
Get the human-readable name for the value.
|
IKlvValue |
getField(IKlvKey tag)
Get the value of a given item.
|
Set<? extends IKlvKey> |
getIdentifiers()
Get the set of identifiers for populated values.
|
public CorrespondenceGroup_Rectangle(List<Correspondence> values)
values - the values to construct from.public CorrespondenceGroup_Rectangle(byte[] data,
int offset,
int numBytes)
throws KlvParseException
data - the bytes to build from.offset - the offset into bytes to start parsing from.numBytes - the number of bytes to parse.KlvParseException - if parsing failspublic static CorrespondenceGroup_Rectangle fromBytes(byte[] data) throws KlvParseException
data - the bytes to build from.KlvParseException - if parsing failspublic String getDisplayName()
IKlvValuegetDisplayName in interface IKlvValuepublic byte[] getBytes()
IMimdMetadataValuegetBytes in interface IMimdMetadataValuepublic String getDisplayableValue()
IKlvValuegetDisplayableValue in interface IKlvValuepublic IKlvValue getField(IKlvKey tag)
INestedKlvValuegetField in interface INestedKlvValuetag - Tag or other identifier of the value to retrievepublic Set<? extends IKlvKey> getIdentifiers()
INestedKlvValuegetIdentifiers in interface INestedKlvValueCopyright © 2022 West Ridge Systems. All rights reserved.