Package org.apache.xmpbox.type
Class AbstractComplexProperty
java.lang.Object
org.apache.xmpbox.type.AbstractField
org.apache.xmpbox.type.AbstractComplexProperty
- Direct Known Subclasses:
AbstractStructuredType
,ArrayProperty
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addNamespace
(String namespace, String prefix) final void
addProperty
(AbstractField obj) Add a property to the current structurefinal List<AbstractField>
final ArrayProperty
getArrayProperty
(String fieldName) final ComplexPropertyContainer
protected final AbstractField
getFirstEquivalentProperty
(String localName, Class<? extends AbstractField> type) getNamespacePrefix
(String namespace) final AbstractField
getProperty
(String fieldName) final void
removeProperty
(AbstractField property) Remove a propertyMethods inherited from class org.apache.xmpbox.type.AbstractField
containsAttribute, getAllAttributes, getAttribute, getMetadata, getNamespace, getPrefix, getPropertyName, removeAttribute, setAttribute, setPropertyName
-
Field Details
-
container
-
namespaceToPrefix
-
-
Constructor Details
-
AbstractComplexProperty
-
-
Method Details
-
addNamespace
-
getNamespacePrefix
-
getAllNamespacesWithPrefix
-
addProperty
Add a property to the current structure- Parameters:
obj
- the property to add
-
removeProperty
Remove a property- Parameters:
property
- The property to remove
-
getContainer
-
getAllProperties
-
getProperty
-
getArrayProperty
-
getFirstEquivalentProperty
protected final AbstractField getFirstEquivalentProperty(String localName, Class<? extends AbstractField> type)
-