XmpField
Inheritance: java.lang.Object, com.aspose.pdf.XmpField
public class XmpField extends Object
Represents XMP field.
Methods
| Method | Description |
|---|---|
| dispose | |
| equals | Indicates whether this instance and a specified object are equal. |
| getEmpty | Gets an Empty xmp field. |
| getFieldType | Gets the type of the field. |
| getLang | This field represents xml:lang qualifier. |
| getLocalName | Gets or sets the name of the local. |
| getName | Gets the name. |
| getNamespaceUri | Gets the namespace URI. |
| getPrefix | Gets the prefix. |
| getValue | Gets the value. |
| hashCode | Returns a hash code for this instance. |
| isEmpty | Gets a value indicating whether this instance is empty. |
| 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 | Gets value as an array. |
| toStructure | Gets 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)