public final class XmpBoolean extends XmpTypeBase
Represents XMP Boolean basic type.
| Constructor and Description |
|---|
XmpBoolean()
Initializes a new instance of the
XmpBoolean class with default value. |
XmpBoolean(boolean value)
Initializes a new instance of the
XmpBoolean class based on boolean value. |
XmpBoolean(String value)
Initializes a new instance of the
XmpBoolean class. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getValue()
Gets or sets a value indicating whether this
XmpBoolean is value. |
String |
getXmpRepresentation()
Returns string contained value in XMP format.
|
void |
setValue(boolean value)
Gets or sets a value indicating whether this
XmpBoolean is value. |
public XmpBoolean(boolean value)
Initializes a new instance of the XmpBoolean class based on boolean value.
value - The Boolean value. Allowed values are True or False.public XmpBoolean()
Initializes a new instance of the XmpBoolean class with default value.
public XmpBoolean(String value)
Initializes a new instance of the XmpBoolean class.
value - The value.com.aspose.ms.System.ArgumentNullException - valuepublic boolean getValue()
Gets or sets a value indicating whether this XmpBoolean is value.
true if value; otherwise, false.public void setValue(boolean value)
Gets or sets a value indicating whether this XmpBoolean is value.
true if value; otherwise, false.public String getXmpRepresentation()
Returns string contained value in XMP format.
getXmpRepresentation in interface IXmpTypegetXmpRepresentation in class XmpTypeBase