Package org.apache.xmpbox.type
Class ArrayProperty
- java.lang.Object
-
- org.apache.xmpbox.type.AbstractField
-
- org.apache.xmpbox.type.AbstractComplexProperty
-
- org.apache.xmpbox.type.ArrayProperty
-
public class ArrayProperty extends AbstractComplexProperty
Object representation of a Complex XMP Property (Represents Ordered, Unordered and Alternative Arrays builder)- Author:
- a183132
-
-
Constructor Summary
Constructors Constructor Description ArrayProperty(XMPMetadata metadata, java.lang.String namespace, java.lang.String prefix, java.lang.String propertyName, Cardinality type)Constructor of a complex property
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CardinalitygetArrayType()java.util.List<java.lang.String>getElementsAsString()java.lang.StringgetNamespace()Get the namespace URI of this entityjava.lang.StringgetPrefix()Get the prefix of this entity-
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
-
-
-
-
Constructor Detail
-
ArrayProperty
public ArrayProperty(XMPMetadata metadata, java.lang.String namespace, java.lang.String prefix, java.lang.String propertyName, Cardinality type)
Constructor of a complex property- Parameters:
metadata- The metadata to attach to this propertynamespace- The namespace URI to associate to this propertyprefix- The prefix to set for this propertypropertyName- The local Name of this propertytype- type of complexProperty (Bag, Seq, Alt)
-
-
Method Detail
-
getArrayType
public Cardinality getArrayType()
-
getElementsAsString
public java.util.List<java.lang.String> getElementsAsString()
-
getNamespace
public final java.lang.String getNamespace()
Get the namespace URI of this entity- Specified by:
getNamespacein classAbstractField- Returns:
- the namespace URI
-
getPrefix
public java.lang.String getPrefix()
Get the prefix of this entity- Specified by:
getPrefixin classAbstractField- Returns:
- the prefix specified
-
-