Class ArrayProperty


public class ArrayProperty extends AbstractComplexProperty
Object representation of a Complex XMP Property (Represents Ordered, Unordered and Alternative Arrays builder)
  • Field Details

    • arrayType

      private final Cardinality arrayType
    • namespace

      private final String namespace
    • prefix

      private final String prefix
  • Constructor Details

    • ArrayProperty

      public ArrayProperty(XMPMetadata metadata, String namespace, String prefix, String propertyName, Cardinality type)
      Constructor of a complex property
      Parameters:
      metadata - The metadata to attach to this property
      namespace - The namespace URI to associate to this property
      prefix - The prefix to set for this property
      propertyName - The local Name of this property
      type - type of complexProperty (Bag, Seq, Alt)
  • Method Details

    • getArrayType

      public Cardinality getArrayType()
    • getElementsAsString

      public List<String> getElementsAsString()
    • getNamespace

      public final String getNamespace()
      Get the namespace URI of this entity
      Specified by:
      getNamespace in class AbstractField
      Returns:
      the namespace URI
    • getPrefix

      public String getPrefix()
      Get the prefix of this entity
      Specified by:
      getPrefix in class AbstractField
      Returns:
      the prefix specified