public class ArrayProperty extends AbstractComplexProperty
Modifier and Type | Field and Description |
---|---|
private Cardinality |
arrayType |
private java.lang.String |
namespace |
private java.lang.String |
prefix |
Constructor and Description |
---|
ArrayProperty(XMPMetadata metadata,
java.lang.String namespace,
java.lang.String prefix,
java.lang.String propertyName,
Cardinality type)
Constructor of a complex property
|
Modifier and Type | Method and Description |
---|---|
Cardinality |
getArrayType() |
java.util.List<java.lang.String> |
getElementsAsString() |
java.lang.String |
getNamespace()
Get the namespace URI of this entity
|
java.lang.String |
getPrefix()
Get the prefix of this entity
|
addNamespace, addProperty, getAllNamespacesWithPrefix, getAllProperties, getArrayProperty, getContainer, getFirstEquivalentProperty, getNamespacePrefix, getProperty, removeProperty
containsAttribute, getAllAttributes, getAttribute, getMetadata, getPropertyName, removeAttribute, setAttribute, setPropertyName
private final Cardinality arrayType
private final java.lang.String namespace
private final java.lang.String prefix
public ArrayProperty(XMPMetadata metadata, java.lang.String namespace, java.lang.String prefix, java.lang.String propertyName, Cardinality type)
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)public Cardinality getArrayType()
public java.util.List<java.lang.String> getElementsAsString()
public final java.lang.String getNamespace()
getNamespace
in class AbstractField
public java.lang.String getPrefix()
getPrefix
in class AbstractField