Package org.apache.xmpbox.type
Class RealType
- java.lang.Object
-
- org.apache.xmpbox.type.AbstractField
-
- org.apache.xmpbox.type.AbstractSimpleProperty
-
- org.apache.xmpbox.type.RealType
-
public class RealType extends AbstractSimpleProperty
Object representation of a Real XMP type- Author:
- a183132
-
-
Constructor Summary
Constructors Constructor Description RealType(XMPMetadata metadata, java.lang.String namespaceURI, java.lang.String prefix, java.lang.String propertyName, java.lang.Object value)Property Real type constructor (namespaceURI is given)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetStringValue()Return the property valuejava.lang.FloatgetValue()return the property valuevoidsetValue(java.lang.Object value)Set the property value-
Methods inherited from class org.apache.xmpbox.type.AbstractSimpleProperty
getNamespace, getPrefix, getRawValue, toString
-
Methods inherited from class org.apache.xmpbox.type.AbstractField
containsAttribute, getAllAttributes, getAttribute, getMetadata, getPropertyName, removeAttribute, setAttribute, setPropertyName
-
-
-
-
Constructor Detail
-
RealType
public RealType(XMPMetadata metadata, java.lang.String namespaceURI, java.lang.String prefix, java.lang.String propertyName, java.lang.Object value)
Property Real 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 set
-
-
Method Detail
-
getValue
public java.lang.Float getValue()
return the property value- Specified by:
getValuein classAbstractSimpleProperty- Returns:
- float the property value
-
setValue
public void setValue(java.lang.Object value)
Set the property value- Specified by:
setValuein classAbstractSimpleProperty- Parameters:
value- The value to set
-
getStringValue
public java.lang.String getStringValue()
Description copied from class:AbstractSimplePropertyReturn the property value- Specified by:
getStringValuein classAbstractSimpleProperty- Returns:
- a string
-
-