XmpBoolean
Contents
[
Hide
]
Inheritance: java.lang.Object, com.groupdocs.metadata.core.PropertyValue, com.groupdocs.metadata.core.XmpValueBase
public final class XmpBoolean extends XmpValueBase
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 the 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 | bool value. |
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 final boolean getValue()
Gets the value.
Returns: boolean - Boolean value.
getXmpRepresentation()
public String getXmpRepresentation()
Returns string contained value in XMP format.
Returns: java.lang.String - String contained XMP representation.