public final class XmpBoolean extends XmpValueBase
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 the value.
|
String |
getXmpRepresentation()
Returns string contained value in XMP format.
|
toStringacceptValue, getEmpty, getRawValue, getType, toArray, toClasspublic XmpBoolean()
Initializes a new instance of the XmpBoolean class with default value.
public XmpBoolean(boolean value)
Initializes a new instance of the XmpBoolean class based on boolean value.
value - bool value.public XmpBoolean(String value)
Initializes a new instance of the XmpBoolean class.
value - The value.ArgumentNullException - Value could not be null.ArgumentException - Invalid string value.public final boolean getValue()
Gets the value.
public String getXmpRepresentation()
Returns string contained value in XMP format.
getXmpRepresentation in interface IXmpTypegetXmpRepresentation in class XmpValueBaseString contained XMP representation.Copyright © 2026. All rights reserved.