Class AbstractComplexProperty

java.lang.Object
org.apache.xmpbox.type.AbstractField
org.apache.xmpbox.type.AbstractComplexProperty
Direct Known Subclasses:
AbstractStructuredType, ArrayProperty

public abstract class AbstractComplexProperty extends AbstractField
  • Field Details

  • Constructor Details

    • AbstractComplexProperty

      public AbstractComplexProperty(XMPMetadata metadata, String propertyName)
  • Method Details

    • addNamespace

      public void addNamespace(String namespace, String prefix)
    • getNamespacePrefix

      public String getNamespacePrefix(String namespace)
    • getAllNamespacesWithPrefix

      public Map<String,String> getAllNamespacesWithPrefix()
    • addProperty

      public final void addProperty(AbstractField obj)
      Add a property to the current structure
      Parameters:
      obj - the property to add
    • removeProperty

      public final void removeProperty(AbstractField property)
      Remove a property
      Parameters:
      property - The property to remove
    • getContainer

      public final ComplexPropertyContainer getContainer()
    • getAllProperties

      public final List<AbstractField> getAllProperties()
    • getProperty

      public final AbstractField getProperty(String fieldName)
    • getArrayProperty

      public final ArrayProperty getArrayProperty(String fieldName)
    • getFirstEquivalentProperty

      protected final AbstractField getFirstEquivalentProperty(String localName, Class<? extends AbstractField> type)