public class BooleanType extends AbstractSimpleProperty
| Constructor and Description |
|---|
BooleanType(XMPMetadata metadata,
String namespaceURI,
String prefix,
String propertyName,
Object value)
Property Boolean type constructor (namespaceURI is given)
|
| Modifier and Type | Method and Description |
|---|---|
String |
getStringValue()
Return the property value
|
Boolean |
getValue()
return the property value
|
void |
setValue(Object value)
Set value of this property BooleanTypeObject accept String value or a boolean
|
getNamespace, getPrefix, getRawValue, toStringcontainsAttribute, getAllAttributes, getAttribute, getMetadata, getPropertyName, removeAttribute, setAttribute, setPropertyNamepublic static final String TRUE
public static final String FALSE
public BooleanType(XMPMetadata metadata, String namespaceURI, String prefix, String propertyName, Object value)
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 givepublic Boolean getValue()
getValue in class AbstractSimplePropertypublic void setValue(Object value)
setValue in class AbstractSimplePropertyvalue - The value to setpublic String getStringValue()
AbstractSimplePropertygetStringValue in class AbstractSimplePropertyCopyright © 2002–2017 The Apache Software Foundation. All rights reserved.