Class AbstractStructuredType
java.lang.Object
org.apache.xmpbox.type.AbstractField
org.apache.xmpbox.type.AbstractComplexProperty
org.apache.xmpbox.type.AbstractStructuredType
- Direct Known Subclasses:
CFAPatternType, ColorantType, DefinedStructuredType, DeviceSettingsType, DimensionsType, FlashType, FontType, 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) Deprecated.use the longer constructor.AbstractStructuredType(XMPMetadata metadata, String namespaceURI, String fieldPrefix, String propertyName) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddSimpleProperty(String propertyName, Object value) createArrayProperty(String propertyName, Cardinality type) createTextType(String propertyName, String value) protected CalendargetDatePropertyAsCalendar(String fieldName) final StringGet the namespace URI of this entityfinal Stringfinal StringGet the prefix of this entityprotected StringgetPropertyValueAsString(String fieldName) final voidsetNamespace(String ns) final voidMethods inherited from class AbstractComplexProperty
addNamespace, addProperty, getAllNamespacesWithPrefix, getAllProperties, getArrayProperty, getContainer, getFirstEquivalentProperty, getNamespacePrefix, getProperty, removePropertyMethods inherited from class AbstractField
containsAttribute, getAllAttributes, getAttribute, getMetadata, getPropertyName, removeAttribute, setAttribute, setPropertyName
-
Field Details
-
STRUCTURE_ARRAY_NAME
- See Also:
-
-
Constructor Details
-
AbstractStructuredType
-
AbstractStructuredType
Deprecated.use the longer constructor.- Parameters:
metadata-namespaceURI-
-
AbstractStructuredType
public AbstractStructuredType(XMPMetadata metadata, String namespaceURI, String fieldPrefix, String propertyName)
-
-
Method Details
-
getNamespace
Get the namespace URI of this entity- Specified by:
getNamespacein classAbstractField- Returns:
- the namespace URI
-
setNamespace
-
getPrefix
Get the prefix of this entity- Specified by:
getPrefixin classAbstractField- Returns:
- the prefix specified
-
setPrefix
-
getPreferedPrefix
-
addSimpleProperty
-
getPropertyValueAsString
-
getDatePropertyAsCalendar
-
createTextType
-
createArrayProperty
-