Top Description Fields Constructors Methods
org.apache.xmpbox.type

public Class ArrayProperty

extends AbstractComplexProperty
Class Inheritance
Imports
java.util.ArrayList, .Collections, .List, org.apache.xmpbox.XMPMetadata

Object representation of a Complex XMP Property (Represents Ordered, Unordered and Alternative Arrays builder)
Author
a183132

Field Summary

Modifier and TypeField and Description
private final Cardinality
private final String
private final String

Constructor Summary

AccessConstructor and Description
public
ArrayProperty(XMPMetadata
The metadata to attach to this property
metadata
,
String
The namespace URI to associate to this property
namespace
,
String
The prefix to set for this property
prefix
,
String
The local Name of this property
propertyName
,
Cardinality
type of complexProperty (Bag, Seq, Alt)
type
)

Constructor of a complex property

Method Summary

Modifier and TypeMethod and Description
public Cardinality
public List<String>
public final String

Returns:

the namespace URI
getNamespace
()

Implements abstract org.apache.xmpbox.type.AbstractField.getNamespace.

Get the namespace URI of this entity

public String

Returns:

the prefix specified
getPrefix
()

Implements abstract org.apache.xmpbox.type.AbstractField.getPrefix.

Get the prefix of this entity

Inherited from org.apache.xmpbox.type.AbstractComplexProperty:
addNamespaceaddPropertygetAllNamespacesWithPrefixgetAllPropertiesgetArrayPropertygetContainergetFirstEquivalentPropertygetNamespacePrefixgetPropertyremoveProperty

Field Detail

arrayTypeback to summary
private final Cardinality arrayType
namespaceback to summary
private final String namespace
prefixback to summary
private final String prefix

Constructor Detail

ArrayPropertyback to summary
public ArrayProperty(XMPMetadata metadata, String namespace, String prefix, String propertyName, Cardinality type)

Constructor of a complex property

Parameters
metadata:XMPMetadata

The metadata to attach to this property

namespace:String

The namespace URI to associate to this property

prefix:String

The prefix to set for this property

propertyName:String

The local Name of this property

type:Cardinality

type of complexProperty (Bag, Seq, Alt)

Method Detail

getArrayTypeback to summary
public Cardinality getArrayType()
getElementsAsStringback to summary
public List<String> getElementsAsString()
getNamespaceback to summary
public final String getNamespace()

Implements abstract org.apache.xmpbox.type.AbstractField.getNamespace.

Get the namespace URI of this entity

Returns:String

the namespace URI

Annotations
@Override
getPrefixback to summary
public String getPrefix()

Implements abstract org.apache.xmpbox.type.AbstractField.getPrefix.

Get the prefix of this entity

Returns:String

the prefix specified

Annotations
@Override