Top Description Fields Constructors Methods
org.apache.xmpbox.type

public Class RealType

extends AbstractSimpleProperty
Class Inheritance
Imports
org.apache.xmpbox.XMPMetadata

Object representation of a Real XMP type
Author
a183132

Field Summary

Modifier and TypeField and Description
private float

Constructor Summary

AccessConstructor and Description
public
RealType(XMPMetadata
The metadata to attach to this property
metadata
,
String
the namespace URI to associate to this property
namespaceURI
,
String
The prefix to set for this property
prefix
,
String
The local Name of this property
propertyName
,
Object
The value to set
value
)

Property Real type constructor (namespaceURI is given)

Method Summary

Modifier and TypeMethod and Description
public String
getStringValue()

Implements abstract org.apache.xmpbox.type.AbstractSimpleProperty.getStringValue.

Return the property value

public Float

Returns:

float the property value
getValue
()

Implements abstract org.apache.xmpbox.type.AbstractSimpleProperty.getValue.

return the property value

public void
setValue(Object
The value to set
value
)

Implements abstract org.apache.xmpbox.type.AbstractSimpleProperty.setValue.

Set the property value

Inherited from org.apache.xmpbox.type.AbstractSimpleProperty:
getNamespacegetPrefixgetRawValuetoString

Field Detail

realValueback to summary
private float realValue

Constructor Detail

RealTypeback to summary
public RealType(XMPMetadata metadata, String namespaceURI, String prefix, String propertyName, Object value)

Property Real type constructor (namespaceURI is given)

Parameters
metadata:XMPMetadata

The metadata to attach to this property

namespaceURI:String

the namespace URI to associate to this property

prefix:String

The prefix to set for this property

propertyName:String

The local Name of this property

value:Object

The value to set

Method Detail

getStringValueback to summary
public String getStringValue()

Implements abstract org.apache.xmpbox.type.AbstractSimpleProperty.getStringValue.

Doc from org.apache.xmpbox.type.AbstractSimpleProperty.getStringValue.

Return the property value

Returns:String

a string

Annotations
@Override
getValueback to summary
public Float getValue()

Implements abstract org.apache.xmpbox.type.AbstractSimpleProperty.getValue.

return the property value

Returns:Float

float the property value

Annotations
@Override
setValueback to summary
public void setValue(Object value)

Implements abstract org.apache.xmpbox.type.AbstractSimpleProperty.setValue.

Set the property value

Parameters
value:Object

The value to set

Annotations
@Override