com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class XmpField



  • public class XmpField
    extends Object

    Represents XMP field.

    • Method Detail

      • getEmpty

        public static XmpField getEmpty()

        Gets an Empty xmp field.

        Returns:
        XmpField instance
      • getLang

        public static XmpField getLang()

        This field represents xml:lang qualifier.

        Returns:
        XmpField instance
      • dispose

        public static void dispose()
      • getPrefix

        public String getPrefix()

        Gets the prefix.

        Returns:
        Value: The prefix.
      • setPrefix_Rename_Namesake

        public void setPrefix_Rename_Namesake(String value)
        For internal usage only
        Parameters:
        value - For internal usage only
      • getNamespaceUri

        public String getNamespaceUri()

        Gets the namespace URI.

        Returns:
        Value: The namespace URI.
      • setNamespaceUri_Rename_Namesake

        public void setNamespaceUri_Rename_Namesake(String value)
        For internal usage only
        Parameters:
        value - For internal usage only
      • getLocalName

        public String getLocalName()

        Gets or sets the name of the local.

        Returns:
        String: The name of the local.
      • setLocalName_Rename_Namesake

        public void setLocalName_Rename_Namesake(String value)
        For internal usage only
        Parameters:
        value - For internal usage only
      • getName

        public String getName()

        Gets the name.

        Returns:
        Value: The name.
      • getValue

        public XmpValue getValue()

        Gets the value.

        Returns:
        XmpValue: The value.
      • getFieldType

        public int getFieldType()

        Gets the type of the field.

        Returns:
        int: The type of the field.
      • isEmpty

        public boolean isEmpty()

        Gets a value indicating whether this instance is empty.

        Returns:
        boolean: true if this instance is empty; otherwise, false.
      • equals

        public boolean equals(Object obj)

        Indicates whether this instance and a specified object are equal.

        Overrides:
        equals in class Object
        Parameters:
        obj - Another object to compare to. <filterpriority>2</filterpriority>
        Returns:
        true if obj and this instance are the same type and represent the same value; otherwise, false.
      • hashCode

        public int hashCode()

        Returns a hash code for this instance.

        Overrides:
        hashCode in class Object
        Returns:
        A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
      • op_Equality

        public static boolean op_Equality(XmpField field1,
                                          XmpField field2)

        Implements the operator ==.

        Parameters:
        field1 - The field1.
        field2 - The field2.
        Returns:
        The result of the operator.
      • op_Inequality

        public static boolean op_Inequality(XmpField field1,
                                            XmpField field2)

        Implements the operator !=.

        Parameters:
        field1 - The field1.
        field2 - The field2.
        Returns:
        The result of the operator.
      • toStructure

        public XmpField[] toStructure()

        Gets value as a structure.

        Returns:
        XmpField array (The structure)
      • toArray

        public XmpValue[] toArray()

        Gets value as an array.

        Returns:
        XmpValue array (The array)