public final class ImageMetadataSignature extends MetadataSignature
Contains Image Metadata signature properties.
| Constructor and Description |
|---|
ImageMetadataSignature(int id,
Object value)
Creates Image Metadata Signature with Id and value
|
| Modifier and Type | Method and Description |
|---|---|
Object |
deepClone()
Clone Metadata Signature instance.
|
MetadataSignature |
deepClone(Object value)
Clone Image Metadata Signature instance with given value.
|
boolean |
equals(Object signature)
Overwrites Equals method to compare signature properties
|
String |
getDescription()
Read-only value to get description for standard Image Metadata signature
|
int |
getId()
The identifier of Image Metadata signature.
|
int |
getSize()
Read-only value to get size of Metadata value
|
int |
hashCode()
Overrides GetHashCode method
|
boolean |
setAsBool(Object value) |
boolean |
setAsByte(Object value) |
boolean |
setAsDate(Object value) |
boolean |
setAsDbls(Object value) |
boolean |
setAsDcml(Object value) |
boolean |
setAsObjc(Object value) |
boolean |
setAsShrt(Object value) |
boolean |
setAsSInt(Object value) |
boolean |
setAsSLng(Object value) |
boolean |
setAsSngl(Object value) |
boolean |
setAsStrn(Object value) |
boolean |
setAsUInt(Object value) |
boolean |
setAsULng(Object value) |
boolean |
setAsWord(Object value) |
void |
setId(int value)
The identifier of Image Metadata signature.
|
void |
setSize(int value)
Read-only value to get size of Metadata value
|
void |
setString(Object value) |
boolean |
toBoolean()
Converts to boolean.
|
Date |
toDateTime()
Converts to DateTime.
|
Date |
toDateTime(Locale provider)
Converts to DateTime.
|
BigDecimal |
toDecimal()
Converts to Decimal.
|
BigDecimal |
toDecimal(Locale provider)
Converts to Decimal.
|
double |
toDouble()
Converts to Double.
|
double |
toDouble(Locale provider)
Converts to Double.
|
int |
toInteger()
Converts to integer.
|
long |
toLong()
Converts to long.
|
float |
toSingle()
Converts to float.
|
float |
toSingle(Locale provider)
Converts to float.
|
String |
toString()
Converts to String with override ToString() method
|
String |
toString(String format)
Converts to String with specified format
|
String |
toString(String format,
Locale provider)
Converts to String with specified format
|
getData, getData, getDataEncryption, getFValue, getName, getType, getValue, setDataEncryption, setFValue, setName, setType, setValue, SetValuegetCreatedOn, getDeleted, getHeight, getLeft, getModifiedOn, getPageNumber, getSignatureId, getSignatureType, getTop, getWidth, isSignature, setCreatedOn, setHeight, setLeft, setModifiedOn, setPageNumber, setSignature, setTop, setWidth, supportMetaInfoLayerpublic ImageMetadataSignature(int id,
Object value)
Creates Image Metadata Signature with Id and value
id - Unique identifier Image Metadata Signature name. See references for Exif tags specifications for possible id valuesvalue - Metadata valuepublic Object deepClone()
Clone Metadata Signature instance.
deepClone in class MetadataSignaturepublic MetadataSignature deepClone(Object value)
Clone Image Metadata Signature instance with given value.
deepClone in class MetadataSignaturevalue - Value for new cloned object.public boolean equals(Object signature)
Overwrites Equals method to compare signature properties
equals in class MetadataSignaturesignature - Signature object to compare with.public final String getDescription()
Read-only value to get description for standard Image Metadata signature
public final int getId()
The identifier of Image Metadata signature.
See ImageMetadataSignatures class that contains standard Signature with predefined Id value.
public final int getSize()
Read-only value to get size of Metadata value
public int hashCode()
Overrides GetHashCode method
hashCode in class MetadataSignaturepublic final boolean setAsBool(Object value)
public final boolean setAsByte(Object value)
public final boolean setAsDate(Object value)
public final boolean setAsDbls(Object value)
public final boolean setAsDcml(Object value)
public final boolean setAsObjc(Object value)
public final boolean setAsShrt(Object value)
public final boolean setAsSInt(Object value)
public final boolean setAsSLng(Object value)
public final boolean setAsSngl(Object value)
public final boolean setAsStrn(Object value)
public final boolean setAsUInt(Object value)
public final boolean setAsULng(Object value)
public final boolean setAsWord(Object value)
public final void setId(int value)
The identifier of Image Metadata signature.
See ImageMetadataSignatures class that contains standard Signature with predefined Id value.
public final void setSize(int value)
Read-only value to get size of Metadata value
public final void setString(Object value)
public boolean toBoolean()
throws Exception
Converts to boolean.
toBoolean in class MetadataSignatureExceptionpublic Date toDateTime() throws Exception
Converts to DateTime.
toDateTime in class MetadataSignatureSignatureSettings.DefaultCulture
Exceptionpublic Date toDateTime(Locale provider) throws Exception
Converts to DateTime.
toDateTime in class MetadataSignatureprovider - Format data provider to use with data conversion operations.
Exceptionpublic final BigDecimal toDecimal() throws Exception
Converts to Decimal.
SignatureSettings.DefaultCulture
Exceptionpublic final BigDecimal toDecimal(Locale provider) throws Exception
Converts to Decimal.
provider - Format data provider to use with data conversion operations.
Exceptionpublic double toDouble()
throws Exception
Converts to Double.
toDouble in class MetadataSignatureSignatureSettings.DefaultCulture
Exceptionpublic double toDouble(Locale provider) throws Exception
Converts to Double.
toDouble in class MetadataSignatureprovider - Format data provider to use with data conversion operations.
Exceptionpublic int toInteger()
throws Exception
Converts to integer.
toInteger in class MetadataSignatureExceptionpublic final long toLong()
throws Exception
Converts to long.
Exceptionpublic final float toSingle()
throws Exception
Converts to float.
toSingle in class MetadataSignatureSignatureSettings.DefaultCulture
Exceptionpublic final float toSingle(Locale provider) throws Exception
Converts to float.
toSingle in class MetadataSignatureprovider - Format data provider to use with data conversion operations.
Exceptionpublic String toString()
Converts to String with override ToString() method
toString in class MetadataSignaturepublic String toString(String format) throws Exception
Converts to String with specified format
toString in class MetadataSignatureformat - Data format string.
SignatureSettings.DefaultCulture
Exceptionpublic String toString(String format, Locale provider) throws Exception
Converts to String with specified format
toString in class MetadataSignatureformat - Data format string.provider - Format data provider to use with data conversion operations.
ExceptionCopyright © 2024. All rights reserved.