XmpValue
Inheritance: java.lang.Object, com.aspose.ms.System.ValueType, com.aspose.ms.lang.Struct
public class XmpValue extends Struct<XmpValue>
XML node value representing an XMP value entry.
Constructors
| Constructor | Description |
|---|---|
| XmpValue() | |
| XmpValue(String value) |
Methods
| Method | Description |
|---|---|
| to_String(XmpValue value) | Converts the value to a string. |
| to_XmpValue(String value) | Converts the value to an XmpValue entry. |
| getValue() | Gets the XMP value string or ``, if value does not exist. |
| getType() | Gets the XMP value type. |
| equals(XmpValue other) | Compares this Value(#getValue.getValue) to other Value(#getValue.getValue). |
| equals(Object other) | Compares this Value(#getValue.getValue) to other of Value(#getValue.getValue). |
| hashCode() | Gets the Value(#getValue.getValue) hash code. |
| toString() | Gets Value(#getValue.getValue). |
| CloneTo(XmpValue that) | |
| Clone() |
XmpValue()
public XmpValue()
XmpValue(String value)
public XmpValue(String value)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.String |
to_String(XmpValue value)
public static String to_String(XmpValue value)
Converts the value to a string.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | XmpValue | The string value. |
Returns: java.lang.String - String.
to_XmpValue(String value)
public static XmpValue to_XmpValue(String value)
Converts the value to an XmpValue entry.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.String | The string value. |
getValue()
public final String getValue()
Gets the XMP value string or ``, if value does not exist.
Returns: java.lang.String - the XMP value string or ``, if value does not exist.
getType()
public final int getType()
Gets the XMP value type.
Returns: int - the XMP value type.
equals(XmpValue other)
public final boolean equals(XmpValue other)
Compares this Value(#getValue.getValue) to other Value(#getValue.getValue).
Parameters:
| Parameter | Type | Description |
|---|---|---|
| other | XmpValue | other |
Returns: boolean - ``
equals(Object other)
public boolean equals(Object other)
Compares this Value(#getValue.getValue) to other of Value(#getValue.getValue).
Parameters:
| Parameter | Type | Description |
|---|---|---|
| other | java.lang.Object | other |
Returns: boolean - ``
hashCode()
public int hashCode()
Gets the Value(#getValue.getValue) hash code.
Returns: int - ``
toString()
public String toString()
Gets Value(#getValue.getValue).
Returns:
java.lang.String - Value(#getValue.getValue).
CloneTo(XmpValue that)
public void CloneTo(XmpValue that)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| that | XmpValue |
Clone()
public XmpValue Clone()
Returns: XmpValue