@Deprecated public abstract class XmpElementBase extends Object implements com.aspose.ms.System.IEquatable<XmpElementBase>
Represents base XMP element contains attributes.
Modifier and Type | Field and Description |
---|---|
protected com.aspose.ms.System.Collections.Generic.Dictionary<String,String> |
attributes
Deprecated.
The XMPmeta element can have any number of attributes.
|
Modifier | Constructor and Description |
---|---|
protected |
XmpElementBase()
Deprecated.
Initializes a new instance of the
XmpElementBase class. |
Modifier and Type | Method and Description |
---|---|
void |
addAttribute(String attribute,
String value)
Deprecated.
Adds the attribute.
|
void |
clearAttributes()
Deprecated.
Removes all attributes.
|
boolean |
containsAttribute(String attribute)
Deprecated.
Determines whether element contains specific attribute.
|
boolean |
equals(Object obj)
Deprecated.
Determines whether
XmpElementBase and obj are considered equal. |
boolean |
equals(XmpElementBase other)
Deprecated.
Indicates whether the current object is equal to another object of the same type.
|
String |
getAttribute(String attribute)
Deprecated.
Gets the attribute.
|
int |
hashCode()
Deprecated.
Returns a hash code for this instance.
|
protected XmpElementBase()
Initializes a new instance of the XmpElementBase
class.
public void addAttribute(String attribute, String value)
Adds the attribute.
attribute
- Attribute key.value
- Attribute value.public void clearAttributes()
Removes all attributes.
public final boolean containsAttribute(String attribute)
Determines whether element contains specific attribute.
attribute
- Attribute name.public String getAttribute(String attribute)
Gets the attribute.
attribute
- The attribute.public final boolean equals(XmpElementBase other)
Indicates whether the current object is equal to another object of the same type.
other
- An object to compare with this object.other
parameter; otherwise, false.public boolean equals(Object obj)
Determines whether XmpElementBase
and obj
are considered equal.
equals
in interface com.aspose.ms.System.IEquatable<XmpElementBase>
equals
in class Object
obj
- Compared object.Copyright © 2020. All rights reserved.