Class AbstractStructuredType

Direct Known Subclasses:
CFAPatternType, DefinedStructuredType, DeviceSettingsType, DimensionsType, FlashType, JobType, LayerType, OECFType, PDFAFieldType, PDFAPropertyType, PDFASchemaType, PDFATypeType, ResourceEventType, ResourceRefType, ThumbnailType, VersionType, XMPSchema

public abstract class AbstractStructuredType extends AbstractComplexProperty
  • Field Details

  • Constructor Details

    • AbstractStructuredType

      public AbstractStructuredType(XMPMetadata metadata)
    • AbstractStructuredType

      public AbstractStructuredType(XMPMetadata metadata, String namespaceURI)
    • AbstractStructuredType

      public AbstractStructuredType(XMPMetadata metadata, String namespaceURI, String fieldPrefix, String propertyName)
  • Method Details

    • getNamespace

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

      public final void setNamespace(String ns)
    • getPrefix

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

      public final void setPrefix(String pf)
    • getPreferedPrefix

      public final String getPreferedPrefix()
    • addSimpleProperty

      protected void addSimpleProperty(String propertyName, Object value)
    • getPropertyValueAsString

      protected String getPropertyValueAsString(String fieldName)
    • getDatePropertyAsCalendar

      protected Calendar getDatePropertyAsCalendar(String fieldName)
    • createTextType

      public TextType createTextType(String propertyName, String value)
    • createArrayProperty

      public ArrayProperty createArrayProperty(String propertyName, Cardinality type)