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 the value.
|
String |
getXmpRepresentation()
Returns string contained value in XMP format.
|
void |
setValue(boolean value)
Gets or sets the value.
|
toBool, toDateTime, toFloat, toGuid, toInt, toString, toStringArray
public XmpBoolean(boolean value)
Initializes a new instance of the XmpBoolean
class based on boolean value.
value
- bool
value.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
- Value could not be null.com.aspose.ms.System.ArgumentException
- Invalid string value.public final boolean getValue()
Gets or sets the value.
Value: Boolean value.public final void setValue(boolean value)
Gets or sets the value.
Value: Boolean value.public String getXmpRepresentation()
Returns string contained value in XMP format.
getXmpRepresentation
in interface IXmpType
getXmpRepresentation
in class XmpTypeBase
string
contained XMP representation.Copyright © 2017. All rights reserved.