public class RefinedSource_Path extends Object implements IMimdMetadataValue, INestedKlvValue
RefinedSource path attribute.
This is a specialisation of an unsigned integer 1D array.
See ST1904 for more information on this data type.
| Constructor and Description |
|---|
RefinedSource_Path(byte[] bytes)
Create RefinedSource_Path from encoded bytes.
|
RefinedSource_Path(long[] value)
Construct from value.
|
| Modifier and Type | Method and Description |
|---|---|
static RefinedSource_Path |
fromBytes(byte[] bytes)
Create RefinedSource_Path 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.
|
long[] |
getValue()
Get the value of this RefinedSource_Path.
|
public RefinedSource_Path(long[] value)
throws KlvParseException
value - an unsigned integer array to initialise this RefinedSource_Path with.KlvParseException - if the value is not valid.public RefinedSource_Path(byte[] bytes)
throws KlvParseException
bytes - Encoded byte array.KlvParseException - if the array could not be parsedpublic static RefinedSource_Path fromBytes(byte[] bytes) throws KlvParseException
bytes - Encoded byte array.KlvParseException - if the byte array could not be parsed.public String getDisplayName()
IKlvValuegetDisplayName in interface IKlvValuepublic byte[] getBytes()
IMimdMetadataValuegetBytes in interface IMimdMetadataValuepublic String getDisplayableValue()
IKlvValuegetDisplayableValue in interface IKlvValuepublic long[] getValue()
public 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.