public class XmpValue extends Object
Represents XMP value
Constructor and Description |
---|
XmpValue(Date value)
Constructor for date time value.
|
XmpValue(double value)
Constructor for floating point Value.
|
XmpValue(int value)
Consructor for integer value.
|
XmpValue(Object value) |
XmpValue(String value)
Constructor for string value.
|
XmpValue(XmpValue[] array)
Constructor for array value.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isArray()
Returns true is XmpValue is array.
|
boolean |
isDateTime()
Returns true if value is DateTime.
|
boolean |
isDouble()
Returns true if value is floating point value.
|
boolean |
isField()
Returns true if XmpValue is field.
|
boolean |
isInteger()
Returns true if value is integer.
|
boolean |
isNamedValue()
Returns true if XmpValue is named value.
|
boolean |
isNamedValues()
Returns true is XmpValue represents named values.
|
boolean |
isString()
Returns true if value is string.
|
boolean |
isStructure()
Returns true is XmpValue represents structure.
|
static XmpValue[] |
to_(XmpValue value)
Converts XmpValue into array.
|
static XmpValue[] |
to_Array(XmpValue value)
Converts XmpValue to array.
|
static com.aspose.ms.System.Collections.Generic.KeyValuePair<String,XmpValue>[] |
to_Generic(XmpValue value)
Get KeyValuePair array
|
static com.aspose.ms.System.Collections.Generic.KeyValuePair<String,XmpValue> |
to_KeyValuePair(XmpValue value)
Converts XmpValue to named value.
|
static String |
to_String(XmpValue value)
Converts XmpValue into string.
|
static XmpValue |
to_XmpValue(Date value)
Converts DateTime into XmpValue.
|
static XmpValue |
to_XmpValue(double value)
Converts double into XmpValue.
|
static XmpValue |
to_XmpValue(int value)
Converts integer into XmpValue.
|
static XmpValue |
to_XmpValue(Object[] value)
Converts array to XmpValue.
|
static XmpValue |
to_XmpValue(String value)
Convers string to XmpValue.
|
XmpValue[] |
toArray()
Returns array.
|
Date |
toDateTime()
Converts to date time.
|
double |
toDouble()
Converts to double.
|
XmpField |
toField()
Returns XMP value as XMP field.
|
int |
toInteger()
Converts to integer.
|
HashMap<String,XmpValue> |
toNamedValue()
Returns XMP value as named value.
|
com.aspose.ms.System.Collections.Generic.KeyValuePair<String,XmpValue> |
toNamedValueInternal()
For Internal usage only
|
HashMap<String,XmpValue> |
toNamedValues()
Returns XMP value as named value collection.
|
com.aspose.ms.System.Collections.Generic.KeyValuePair<String,XmpValue>[] |
toNamedValuesInternal()
For Internal usage only
|
String |
toString()
Returs string representation of XmpValue.
|
String |
toString(com.aspose.ms.System.IFormatProvider formatProvider)
Returns string representation.
|
String |
toStringValue()
Converts to string.
|
XmpField[] |
toStructure()
Returns XMP value as structure (set of fields).
|
public XmpValue(String value)
Constructor for string value.
value
- String value.public XmpValue(int value)
Consructor for integer value.
value
- Integer value.public XmpValue(double value)
Constructor for floating point Value.
value
- Double value.public XmpValue(Date value)
Constructor for date time value.
value
- Date time value.public XmpValue(XmpValue[] array)
Constructor for array value.
array
- Array value.public XmpValue(Object value)
public boolean isString()
Returns true if value is string.
public boolean isInteger()
Returns true if value is integer.
public boolean isDouble()
Returns true if value is floating point value.
public boolean isDateTime()
Returns true if value is DateTime.
public boolean isField()
Returns true if XmpValue is field.
public boolean isNamedValue()
Returns true if XmpValue is named value.
public boolean isNamedValues()
Returns true is XmpValue represents named values.
public boolean isStructure()
Returns true is XmpValue represents structure.
public boolean isArray()
Returns true is XmpValue is array.
public String toStringValue()
Converts to string.
public int toInteger()
Converts to integer.
public double toDouble()
Converts to double.
public Date toDateTime()
Converts to date time.
public XmpValue[] toArray()
Returns array.
public XmpField[] toStructure()
Returns XMP value as structure (set of fields).
public XmpField toField()
Returns XMP value as XMP field.
public HashMap<String,XmpValue> toNamedValue()
Returns XMP value as named value.
public com.aspose.ms.System.Collections.Generic.KeyValuePair<String,XmpValue> toNamedValueInternal()
public HashMap<String,XmpValue> toNamedValues()
Returns XMP value as named value collection.
public com.aspose.ms.System.Collections.Generic.KeyValuePair<String,XmpValue>[] toNamedValuesInternal()
public String toString()
Returs string representation of XmpValue.
public String toString(com.aspose.ms.System.IFormatProvider formatProvider)
Returns string representation.
formatProvider
- IFormatProvider instancepublic static XmpValue to_XmpValue(String value)
Convers string to XmpValue.
value
- String valuepublic static XmpValue to_XmpValue(int value)
Converts integer into XmpValue.
value
- int valuepublic static XmpValue to_XmpValue(double value)
Converts double into XmpValue.
value
- double valuepublic static XmpValue to_XmpValue(Date value)
Converts DateTime into XmpValue.
value
- Date instancepublic static XmpValue to_XmpValue(Object[] value)
Converts array to XmpValue.
value
- Array of Objectspublic static XmpValue[] to_Array(XmpValue value)
Converts XmpValue to array.
value
- XmpValue instancepublic static XmpValue[] to_(XmpValue value)
Converts XmpValue into array.
value
- XmpValue instancepublic static String to_String(XmpValue value)
Converts XmpValue into string.
value
- XmpValue instancepublic static com.aspose.ms.System.Collections.Generic.KeyValuePair<String,XmpValue> to_KeyValuePair(XmpValue value)
Converts XmpValue to named value.
value
- XmpValue instance