@Deprecated public final class XmpBoolean extends XmpTypeBase
Represents XMP Boolean basic type.
Constructor and Description |
---|
XmpBoolean()
Deprecated.
Initializes a new instance of the
XmpBoolean class with default value. |
XmpBoolean(boolean value)
Deprecated.
Initializes a new instance of the
XmpBoolean class based on boolean value. |
XmpBoolean(String value)
Deprecated.
Initializes a new instance of the
XmpBoolean class. |
Modifier and Type | Method and Description |
---|---|
boolean |
getValue()
Deprecated.
Gets the value.
|
String |
getXmpRepresentation()
Deprecated.
Returns string contained value in XMP format.
|
void |
setValue(boolean value)
Deprecated.
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 the value.
public final void setValue(boolean value)
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 © 2020. All rights reserved.