XmpField

Inheritance: java.lang.Object, com.aspose.pdf.XmpField

public class XmpField extends Object

Represents XMP field.

Methods

MethodDescription
dispose
equalsIndicates whether this instance and a specified object are equal.
getEmptyGets an Empty xmp field.
getFieldTypeGets the type of the field.
getLangThis field represents xml:lang qualifier.
getLocalNameGets or sets the name of the local.
getNameGets the name.
getNamespaceUriGets the namespace URI.
getPrefixGets the prefix.
getValueGets the value.
hashCodeReturns a hash code for this instance.
isEmptyGets a value indicating whether this instance is empty.
op_EqualityImplements the operator ==.
op_InequalityImplements the operator !=.
setLocalName_Rename_NamesakeFor internal usage only
setNamespaceUri_Rename_NamesakeFor internal usage only
setPrefix_Rename_NamesakeFor internal usage only
toArrayGets value as an array.
toStructureGets value as a structure.

dispose

public static void dispose()

equals

Indicates whether this instance and a specified object are equal.

getEmpty

public static XmpField getEmpty()

Gets an Empty xmp field.

Returns: XmpField instance

getFieldType

public int getFieldType()

Gets the type of the field.

Returns: int: The type of the field.

getLang

public static XmpField getLang()

This field represents xml:lang qualifier.

Returns: XmpField instance

getLocalName

public String getLocalName()

Gets or sets the name of the local.

Returns: String: The name of the local.

getName

public String getName()

Gets the name.

Returns: Value: The name.

getNamespaceUri

public String getNamespaceUri()

Gets the namespace URI.

Returns: Value: The namespace URI.

getPrefix

public String getPrefix()

Gets the prefix.

Returns: Value: The prefix.

getValue

public XmpValue getValue()

Gets the value.

Returns: XmpValue: The value.

hashCode

public int hashCode()

Returns a hash code for this instance.

Returns: A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.

isEmpty

public boolean isEmpty()

Gets a value indicating whether this instance is empty.

Returns: boolean: {@code true} if this instance is empty; otherwise, {@code false}.

op_Equality

Implements the operator ==.

op_Inequality

Implements the operator !=.

setLocalName_Rename_Namesake

For internal usage only

setNamespaceUri_Rename_Namesake

For internal usage only

setPrefix_Rename_Namesake

For internal usage only

toArray

public XmpValue [] toArray()

Gets value as an array.

Returns: XmpValue array (The array)

toStructure

public XmpField [] toStructure()

Gets value as a structure.

Returns: XmpField array (The structure)