Interface SchemaDescription

  • All Superinterfaces:
    java.io.Serializable

    public interface SchemaDescription
    extends java.io.Serializable
    Describes a single XMP namespace. Contains a list of properties that are part of the schema.
    • Method Detail

      • getNamespaceURI

        java.lang.String getNamespaceURI()
        Returns:
        Returns the schema namespace.
      • getLabel

        java.lang.String getLabel()
        Returns:
        Returns the default label.
      • setLabel

        void setLabel​(java.lang.String label)
        Parameters:
        label - Sets the default label
      • getDescription

        java.lang.String getDescription()
        Returns:
        Returns the default description.
      • setDescription

        void setDescription​(java.lang.String description)
        Parameters:
        description - Sets the default description
      • addProperty

        void addProperty​(PropertyDescription property)
        Adds a property to the schema. The namespaceURI of the property is set to the schema's namespace even if it had a different value before.
        Parameters:
        property - an PropertyDescription
      • getProperty

        PropertyDescription getProperty​(java.lang.String localName)
        Parameters:
        localName - the local name of a property
        Returns:
        Returns a property or null if not existing.
      • getProperties

        java.util.List<PropertyDescription> getProperties()
        Returns:
        Returns a list of all properties contained in the schema.
      • removeProperty

        void removeProperty​(java.lang.String localName)
        Removes a property from the schema namespace.
        Parameters:
        localName - the local name of the property to remove