Class BooleanType
java.lang.Object
org.apache.xmpbox.type.AbstractField
org.apache.xmpbox.type.AbstractSimpleProperty
org.apache.xmpbox.type.BooleanType
Object representation of an Boolean XMP type
- Author:
- a183132
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionBooleanType(XMPMetadata metadata, String namespaceURI, String prefix, String propertyName, Object value) Property Boolean type constructor (namespaceURI is given) -
Method Summary
Methods inherited from class AbstractSimpleProperty
getNamespace, getPrefix, getRawValue, toStringMethods inherited from class AbstractField
containsAttribute, getAllAttributes, getAttribute, getMetadata, getPropertyName, removeAttribute, setAttribute, setPropertyName
-
Field Details
-
TRUE
- See Also:
-
FALSE
- See Also:
-
-
Constructor Details
-
BooleanType
public BooleanType(XMPMetadata metadata, String namespaceURI, String prefix, String propertyName, Object value) Property Boolean type constructor (namespaceURI is given)- Parameters:
metadata- The metadata to attach to this propertynamespaceURI- the namespace URI to associate to this propertyprefix- The prefix to set for this propertypropertyName- The local Name of this propertyvalue- the value to give
-
-
Method Details
-
getValue
return the property value- Specified by:
getValuein classAbstractSimpleProperty- Returns:
- boolean the property value
-
setValue
Set value of this property BooleanTypeObject accept String value or a boolean- Specified by:
setValuein classAbstractSimpleProperty- Parameters:
value- The value to set
-
getStringValue
Description copied from class:AbstractSimplePropertyReturn the property value- Specified by:
getStringValuein classAbstractSimpleProperty- Returns:
- a string
-