public abstract class AbstractComplexProperty extends AbstractField
| Constructor and Description |
|---|
AbstractComplexProperty(XMPMetadata metadata,
String propertyName) |
| Modifier and Type | Method and Description |
|---|---|
void |
addNamespace(String namespace,
String prefix) |
void |
addProperty(AbstractField obj)
Add a property to the current structure
|
Map<String,String> |
getAllNamespacesWithPrefix() |
List<AbstractField> |
getAllProperties() |
ArrayProperty |
getArrayProperty(String fieldName) |
ComplexPropertyContainer |
getContainer() |
protected AbstractField |
getFirstEquivalentProperty(String localName,
Class<? extends AbstractField> type) |
String |
getNamespacePrefix(String namespace) |
AbstractField |
getProperty(String fieldName) |
void |
removeProperty(AbstractField property)
Remove a property
|
containsAttribute, getAllAttributes, getAttribute, getMetadata, getNamespace, getPrefix, getPropertyName, removeAttribute, setAttribute, setPropertyNamepublic AbstractComplexProperty(XMPMetadata metadata, String propertyName)
public final void addProperty(AbstractField obj)
obj - the property to addpublic final void removeProperty(AbstractField property)
property - The property to removepublic final ComplexPropertyContainer getContainer()
public final List<AbstractField> getAllProperties()
public final AbstractField getProperty(String fieldName)
public final ArrayProperty getArrayProperty(String fieldName)
protected final AbstractField getFirstEquivalentProperty(String localName, Class<? extends AbstractField> type)
Copyright © 2002–2016 The Apache Software Foundation. All rights reserved.