XmpBoolean
Contents
[
Hide
]Inheritance: java.lang.Object, com.aspose.imaging.xmp.types.XmpTypeBase
public final class XmpBoolean extends XmpTypeBase
Represents XMP Boolean basic type.
Constructors
Constructor | Description |
---|---|
XmpBoolean(boolean value) | Initializes a new instance of the XmpBoolean class based on boolean value. |
XmpBoolean() | Initializes a new instance of the XmpBoolean class with default value. |
XmpBoolean(String value) | Initializes a new instance of the XmpBoolean class. |
Methods
Method | Description |
---|---|
getValue() | Gets or sets a value indicating whether this XmpBoolean is value. |
setValue(boolean value) | Gets or sets a value indicating whether this XmpBoolean is value. |
getXmpRepresentation() | Returns string contained value in XMP format. |
XmpBoolean(boolean value)
public XmpBoolean(boolean value)
Initializes a new instance of the XmpBoolean
class based on boolean value.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean | The Boolean value. Allowed values are True or False. |
XmpBoolean()
public XmpBoolean()
Initializes a new instance of the XmpBoolean
class with default value.
XmpBoolean(String value)
public XmpBoolean(String value)
Initializes a new instance of the XmpBoolean
class.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String | The value. |
getValue()
public boolean getValue()
Gets or sets a value indicating whether this XmpBoolean
is value.
Value: true
if value; otherwise, false
.
Returns: boolean
setValue(boolean value)
public void setValue(boolean value)
Gets or sets a value indicating whether this XmpBoolean
is value.
Value: true
if value; otherwise, false
.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
getXmpRepresentation()
public String getXmpRepresentation()
Returns string contained value in XMP format.
Returns: java.lang.String - Returns string containing xmp representation.