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, toString
containsAttribute, getAllAttributes, getAttribute, getMetadata, getPropertyName, removeAttribute, setAttribute, setPropertyName
public 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 AbstractSimpleProperty
public void setValue(Object value)
setValue
in class AbstractSimpleProperty
value
- The value to setpublic String getStringValue()
AbstractSimpleProperty
getStringValue
in class AbstractSimpleProperty
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.