public abstract class XmpElementBase extends Object implements com.aspose.ms.System.IEquatable<XmpElementBase>
Represents base xmp element contains attributes.
Modifier and Type | Method and Description |
---|---|
void |
addAttribute(String attribute,
String value)
Adds the attribute.
|
void |
clearAttributes()
Removes all attributes.
|
boolean |
equals(Object obj)
Determines whether the specified
Object , is equal to this instance. |
String |
getAttribute(String attribute)
Gets the attribute.
|
int |
hashCode()
Returns a hash code for this instance.
|
boolean |
isEquals(XmpElementBase other)
Indicates whether the current object is equal to another object of the same type.
|
public void addAttribute(String attribute, String value)
Adds the attribute.
attribute
- The attribute.value
- The value.public String getAttribute(String attribute)
Gets the attribute.
attribute
- The attribute.public void clearAttributes()
Removes all attributes.
public boolean isEquals(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 the specified Object
, is equal to this instance.
equals
in interface com.aspose.ms.System.IEquatable<XmpElementBase>
equals
in class Object
obj
- The Object
to compare with this instance.true
if the specified Object
is equal to this instance; otherwise, false
.