Package org.apache.xmpbox.type
Class AbstractStructuredType
java.lang.Object
org.apache.xmpbox.type.AbstractField
org.apache.xmpbox.type.AbstractComplexProperty
org.apache.xmpbox.type.AbstractStructuredType
- Direct Known Subclasses:
CFAPatternType
,DefinedStructuredType
,DeviceSettingsType
,DimensionsType
,FlashType
,JobType
,LayerType
,OECFType
,PDFAFieldType
,PDFAPropertyType
,PDFASchemaType
,PDFATypeType
,ResourceEventType
,ResourceRefType
,ThumbnailType
,VersionType
,XMPSchema
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAbstractStructuredType
(XMPMetadata metadata) AbstractStructuredType
(XMPMetadata metadata, String namespaceURI) AbstractStructuredType
(XMPMetadata metadata, String namespaceURI, String fieldPrefix, String propertyName) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addSimpleProperty
(String propertyName, Object value) createArrayProperty
(String propertyName, Cardinality type) createTextType
(String propertyName, String value) protected Calendar
getDatePropertyAsCalendar
(String fieldName) final String
Get the namespace URI of this entityfinal String
final String
Get the prefix of this entityprotected String
getPropertyValueAsString
(String fieldName) final void
setNamespace
(String ns) final void
Methods inherited from class org.apache.xmpbox.type.AbstractComplexProperty
addNamespace, addProperty, getAllNamespacesWithPrefix, getAllProperties, getArrayProperty, getContainer, getFirstEquivalentProperty, getNamespacePrefix, getProperty, removeProperty
Methods inherited from class org.apache.xmpbox.type.AbstractField
containsAttribute, getAllAttributes, getAttribute, getMetadata, getPropertyName, removeAttribute, setAttribute, setPropertyName
-
Field Details
-
STRUCTURE_ARRAY_NAME
- See Also:
-
namespace
-
preferedPrefix
-
prefix
-
-
Constructor Details
-
AbstractStructuredType
-
AbstractStructuredType
-
AbstractStructuredType
public AbstractStructuredType(XMPMetadata metadata, String namespaceURI, String fieldPrefix, String propertyName)
-
-
Method Details
-
getNamespace
Get the namespace URI of this entity- Specified by:
getNamespace
in classAbstractField
- Returns:
- the namespace URI
-
setNamespace
-
getPrefix
Get the prefix of this entity- Specified by:
getPrefix
in classAbstractField
- Returns:
- the prefix specified
-
setPrefix
-
getPreferedPrefix
-
addSimpleProperty
-
getPropertyValueAsString
-
getDatePropertyAsCalendar
-
createTextType
-
createArrayProperty
-