Package org.apache.xmpbox.type
Class IntegerType
java.lang.Object
org.apache.xmpbox.type.AbstractField
org.apache.xmpbox.type.AbstractSimpleProperty
org.apache.xmpbox.type.IntegerType
Object representation of an Integer XMP type
- Author:
- a183132
-
Constructor Summary
ConstructorsConstructorDescriptionIntegerType
(XMPMetadata metadata, String namespaceURI, String prefix, String propertyName, Object value) Property Integer type constructor (namespaceURI is given) -
Method Summary
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 Details
-
IntegerType
public IntegerType(XMPMetadata metadata, String namespaceURI, String prefix, String propertyName, Object value) Property Integer 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 Details
-
getValue
return the property value- Specified by:
getValue
in classAbstractSimpleProperty
- Returns:
- the property value
-
setValue
Set the property value- Specified by:
setValue
in classAbstractSimpleProperty
- Parameters:
value
- The value to set
-
getStringValue
Description copied from class:AbstractSimpleProperty
Return the property value- Specified by:
getStringValue
in classAbstractSimpleProperty
- Returns:
- a string
-