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 |
isRaw()
Value is unsupported/unknown and raw XML code is provided.
|
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)
Converts string to XmpValue.
|
XmpValue[] |
toArray()
Returns array.
|
Date |
toDateTime()
Converts to date time.
|
com.aspose.ms.System.Collections.Generic.Dictionary<String,XmpValue> |
toDictionary()
Returns dictionary which contains named values.
|
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() |
com.aspose.ms.System.Xml.XmlNode |
toRaw()
Raw XML code for unknown/unsupported values.
|
String |
toString()
Returns 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 final boolean isRaw()
Value is unsupported/unknown and raw XML code is provided.
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 final com.aspose.ms.System.Xml.XmlNode toRaw()
Raw XML code for unknown/unsupported values.
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 final com.aspose.ms.System.Collections.Generic.Dictionary<String,XmpValue> toDictionary()
Returns dictionary which contains named values.
public String toString()
Returns string representation of XmpValue.
public String toString(com.aspose.ms.System.IFormatProvider formatProvider)
Returns string representation.
formatProvider
- IFormatProvider instance (Format provider)public static XmpValue to_XmpValue(String value)
Converts string to XmpValue.
value
- String value (Value to convert)public static XmpValue to_XmpValue(int value)
Converts integer into XmpValue.
value
- int value (Value to convert)public static XmpValue to_XmpValue(double value)
Converts double into XmpValue.
value
- double value (Value to convert)public static XmpValue to_XmpValue(Date value)
Converts DateTime into XmpValue.
value
- Date instance (Value to convert)public static XmpValue to_XmpValue(Object[] value)
Converts array to XmpValue.
value
- Array of Objects (Value to convert)public static XmpValue[] to_Array(XmpValue value)
Converts XmpValue to array.
value
- XmpValue instance (Value to convert)public static XmpValue[] to_(XmpValue value)
Converts XmpValue into array.
value
- XmpValue instance (Value to convert)public static String to_String(XmpValue value)
Converts XmpValue into string.
value
- XmpValue instance (Value to convert)public static com.aspose.ms.System.Collections.Generic.KeyValuePair<String,XmpValue> to_KeyValuePair(XmpValue value)
Converts XmpValue to named value.
value
- XmpValue instance (Value to convert)