public abstract class Signature extends Object
Modifier | Constructor and Description |
---|---|
protected |
Signature(int[] value,
SignatureType type,
SignatureUseType use)
A Signature cannot be created directly; this constructor
can be called as the superclass constructor from a subclass.
|
protected |
Signature(int[] value,
SignatureType type,
SignatureUseType use,
String note)
A Signature cannot be created directly; this constructor
can be called as the superclass constructor from a subclass.
|
protected |
Signature(String value,
SignatureType type,
SignatureUseType use)
A Signature cannot be created directly; this constructor
can be called as the superclass constructor from a subclass.
|
protected |
Signature(String value,
SignatureType type,
SignatureUseType use,
String note)
A Signature cannot be created directly; this constructor
can be called as the superclass constructor from a subclass.
|
Modifier and Type | Method and Description |
---|---|
String |
getNote()
Returns the note specified for this Signature, or null
if no note was specified.
|
SignatureType |
getType()
Returns the type of this Signature
|
SignatureUseType |
getUse()
Returns the use requirement for this Signature
|
int[] |
getValue()
Returns the byte array value for this Signature.
|
String |
getValueHexString()
Returns the value of this Signature as a hexadecimal string.
|
String |
getValueString()
Returns the string value of this Signature.
|
boolean |
isStringValue()
Returns true if this Signature's value was provided as a
String, false if as an array.
|
protected Signature(String value, SignatureType type, SignatureUseType use)
protected Signature(int[] value, SignatureType type, SignatureUseType use)
protected Signature(String value, SignatureType type, SignatureUseType use, String note)
protected Signature(int[] value, SignatureType type, SignatureUseType use, String note)
public SignatureType getType()
public SignatureUseType getUse()
public int[] getValue()
public String getNote()
public boolean isStringValue()
public String getValueString()
public String getValueHexString()
Copyright © 2008–2017 The Open Preservation Foundation. All rights reserved.