XmpBoolean

Inheritance: java.lang.Object, com.aspose.psd.xmp.types.XmpTypeBase

public final class XmpBoolean extends XmpTypeBase

Represents XMP Boolean basic type.

Constructors

ConstructorDescription
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

MethodDescription
equals(Object arg0)
getClass()
getValue()Gets or sets a value indicating whether this XmpBoolean is value.
getXmpRepresentation()Returns string contained value in XMP format.
hashCode()
notify()
notifyAll()
setValue(boolean value)Gets or sets a value indicating whether this XmpBoolean is value.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

XmpBoolean(boolean value)

public XmpBoolean(boolean value)

Initializes a new instance of the XmpBoolean class based on boolean value.

Parameters:

ParameterTypeDescription
valuebooleanThe 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:

ParameterTypeDescription
valuejava.lang.StringThe value.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getValue()

public boolean getValue()

Gets or sets a value indicating whether this XmpBoolean is value.

Value: true if value; otherwise, false .

Returns: boolean

getXmpRepresentation()

public String getXmpRepresentation()

Returns string contained value in XMP format.

Returns: java.lang.String - Returns string contained value in XMP format.

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

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:

ParameterTypeDescription
valueboolean

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int