public class XmpField extends Object
Represents XMP field.
Modifier and Type | Method and Description |
---|---|
static void |
dispose() |
boolean |
equals(Object obj)
Indicates whether this instance and a specified object are equal.
|
static XmpField |
getEmpty()
Gets an Empty xmp field.
|
int |
getFieldType()
Gets the type of the field.
|
static XmpField |
getLang()
This field represents xml:lang qualifier.
|
String |
getLocalName()
Gets or sets the name of the local.
|
String |
getName()
Gets the name.
|
String |
getNamespaceUri()
Gets the namespace URI.
|
String |
getPrefix()
Gets the prefix.
|
XmpValue |
getValue()
Gets the value.
|
int |
hashCode()
Returns a hash code for this instance.
|
boolean |
isEmpty()
Gets a value indicating whether this instance is empty.
|
static boolean |
op_Equality(XmpField field1,
XmpField field2)
Implements the operator ==.
|
static boolean |
op_Inequality(XmpField field1,
XmpField field2)
Implements the operator !
|
void |
setLocalName_Rename_Namesake(String value)
For internal usage only
|
void |
setNamespaceUri_Rename_Namesake(String value)
For internal usage only
|
void |
setPrefix_Rename_Namesake(String value)
For internal usage only
|
XmpValue[] |
toArray()
Gets value as an array.
|
XmpField[] |
toStructure()
Gets value as a structure
|
public static XmpField getEmpty()
Gets an Empty xmp field.
public static XmpField getLang()
This field represents xml:lang qualifier.
public static void dispose()
public String getPrefix()
Gets the prefix.
public void setPrefix_Rename_Namesake(String value)
value
- For internal usage onlypublic String getNamespaceUri()
Gets the namespace URI.
public void setNamespaceUri_Rename_Namesake(String value)
value
- For internal usage onlypublic String getLocalName()
Gets or sets the name of the local.
public void setLocalName_Rename_Namesake(String value)
value
- For internal usage onlypublic String getName()
Gets the name.
public XmpValue getValue()
Gets the value.
public int getFieldType()
Gets the type of the field.
public boolean isEmpty()
Gets a value indicating whether this instance is empty.
true
if this instance is empty; otherwise, false
.public boolean equals(Object obj)
Indicates whether this instance and a specified object are equal.
public int hashCode()
Returns a hash code for this instance.
public static boolean op_Equality(XmpField field1, XmpField field2)
Implements the operator ==.
field1
- The field1.field2
- The field2.public static boolean op_Inequality(XmpField field1, XmpField field2)
Implements the operator !=.
field1
- The field1.field2
- The field2.public XmpField[] toStructure()
Gets value as a structure
public XmpValue[] toArray()
Gets value as an array.