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

ConstructorDescription
XmpValue()
XmpValue(String value)

Methods

MethodDescription
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:

ParameterTypeDescription
valuejava.lang.String

to_String(XmpValue value)

public static String to_String(XmpValue value)

Converts the value to a string.

Parameters:

ParameterTypeDescription
valueXmpValueThe 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:

ParameterTypeDescription
valuejava.lang.StringThe string value.

Returns: XmpValue - XmpValue.

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:

ParameterTypeDescription
otherXmpValueother

Returns: boolean - ``

equals(Object other)

public boolean equals(Object other)

Compares this Value(#getValue.getValue) to other of Value(#getValue.getValue).

Parameters:

ParameterTypeDescription
otherjava.lang.Objectother

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:

ParameterTypeDescription
thatXmpValue

Clone()

public XmpValue Clone()

Returns: XmpValue