Class XMPBasicSchema


  • public class XMPBasicSchema
    extends XMPSchema
    Representation of XMPBasic Schema
    • Constructor Detail

      • XMPBasicSchema

        public XMPBasicSchema​(XMPMetadata metadata)
        Constructor of XMPBasic schema with preferred prefix
        Parameters:
        metadata - The metadata to attach this schema
      • XMPBasicSchema

        public XMPBasicSchema​(XMPMetadata metadata,
                              java.lang.String ownPrefix)
        Constructor of XMPBasic schema with specified prefix
        Parameters:
        metadata - The metadata to attach this schema
        ownPrefix - The prefix to assign
    • Method Detail

      • addThumbnails

        public void addThumbnails​(java.lang.Integer height,
                                  java.lang.Integer width,
                                  java.lang.String format,
                                  java.lang.String img)
        Add thumbnail to thumbnails list
        Parameters:
        height - height format
        width - width format
        format - thumbnail format
        img - Image data
      • addAdvisory

        public void addAdvisory​(java.lang.String xpath)
        Add a property specification that were edited outside the authoring application
        Parameters:
        xpath - the value to add
      • removeAdvisory

        public void removeAdvisory​(java.lang.String xpath)
      • setBaseURL

        public void setBaseURL​(java.lang.String url)
        Set the base URL for relative URLs in the document content
        Parameters:
        url - the Base url value to set
      • setBaseURLProperty

        public void setBaseURLProperty​(URLType url)
        Set the base URL property
        Parameters:
        url - the Base url property to set
      • setCreateDate

        public void setCreateDate​(java.util.Calendar date)
        Set the date and time the resource was originally created
        Parameters:
        date - the value to set
      • setCreateDateProperty

        public void setCreateDateProperty​(DateType date)
        Set the create date property
        Parameters:
        date - the create date property to set
      • setCreatorTool

        public void setCreatorTool​(java.lang.String creatorTool)
        set the name of the first known tool used to create this resource
        Parameters:
        creatorTool - the creator tool value to set
      • setCreatorToolProperty

        public void setCreatorToolProperty​(AgentNameType creatorTool)
        set the creatorTool property
        Parameters:
        creatorTool - the creator tool property to set
      • addIdentifier

        public void addIdentifier​(java.lang.String text)
        Add a text string which unambiguously identify the resource within a given context
        Parameters:
        text - the identifier value to add
      • removeIdentifier

        public void removeIdentifier​(java.lang.String text)
      • setLabel

        public void setLabel​(java.lang.String text)
        set a word or a short phrase which identifies a document as a member of a user-defined collection
        Parameters:
        text - the label value to set
      • setLabelProperty

        public void setLabelProperty​(TextType text)
        set the label property
        Parameters:
        text - the label property to set
      • setMetadataDate

        public void setMetadataDate​(java.util.Calendar date)
        Set the date and time that any metadata for this resource was last changed. (should be equals or more recent than the createDate)
        Parameters:
        date - the Metadata Date value to set
      • setMetadataDateProperty

        public void setMetadataDateProperty​(DateType date)
        Set the MetadataDate property
        Parameters:
        date - the Metadata Date property to set
      • setModifyDate

        public void setModifyDate​(java.util.Calendar date)
        Set the date and time the resource was last modified
        Parameters:
        date - the Modify Date value to set
      • setModifierDate

        public void setModifierDate​(java.util.Calendar date)
      • setModifyDateProperty

        public void setModifyDateProperty​(DateType date)
        Set the ModifyDate property
        Parameters:
        date - the Modify Date property to set
      • setModifierDateProperty

        public void setModifierDateProperty​(DateType date)
      • setNickname

        public void setNickname​(java.lang.String text)
        Set a short informal name for the resource
        Parameters:
        text - the Nickname value to set
      • setNicknameProperty

        public void setNicknameProperty​(TextType text)
        Set the NickName property
        Parameters:
        text - the Nickname property to set
      • setRating

        public void setRating​(java.lang.Integer rate)
        Set a number that indicates a document's status relative to other documents, used to organize documents in a file browser (values are user-defined within an application-defined range)
        Parameters:
        rate - the rate value to set
      • setRatingProperty

        public void setRatingProperty​(IntegerType rate)
        Set Rating Property
        Parameters:
        rate - the rate property to set
      • getAdvisoryProperty

        public ArrayProperty getAdvisoryProperty()
        Get the Advisory property
        Returns:
        the advisory property
      • getAdvisory

        public java.util.List<java.lang.String> getAdvisory()
        Get the Advisory property values
        Returns:
        list of adivory values
      • getBaseURLProperty

        public TextType getBaseURLProperty()
        Get the BaseURL property
        Returns:
        the base url property
      • getBaseURL

        public java.lang.String getBaseURL()
        Get the BaseURL property value
        Returns:
        the base url value
      • getCreateDateProperty

        public DateType getCreateDateProperty()
        Get the CreateDate property
        Returns:
        the CreateDate property
      • getCreateDate

        public java.util.Calendar getCreateDate()
        Get the CreateDate property value
        Returns:
        the CreateDate value
      • getCreatorToolProperty

        public TextType getCreatorToolProperty()
        Get the CreationTool property
        Returns:
        the CreationTool property
      • getCreatorTool

        public java.lang.String getCreatorTool()
        Get the CreationTool property value
        Returns:
        the CreationTool value
      • getIdentifiersProperty

        public ArrayProperty getIdentifiersProperty()
        Get the Identifier property
        Returns:
        the Identifier property
      • getIdentifiers

        public java.util.List<java.lang.String> getIdentifiers()
        Get the Identifier property values
        Returns:
        list of all identifier values
      • getLabelProperty

        public TextType getLabelProperty()
        Get the label property
        Returns:
        the label property
      • getLabel

        public java.lang.String getLabel()
        Get the label property value
        Returns:
        the label value
      • getMetadataDateProperty

        public DateType getMetadataDateProperty()
        Get the MetadataDate property
        Returns:
        the MetadataDate property
      • getMetadataDate

        public java.util.Calendar getMetadataDate()
        Get the MetadataDate property value
        Returns:
        the MetadataDate value
      • getModifyDateProperty

        public DateType getModifyDateProperty()
        Get the ModifyDate property
        Returns:
        the ModifyDate property
      • getModifierDateProperty

        public DateType getModifierDateProperty()
      • getModifyDate

        public java.util.Calendar getModifyDate()
        Get the ModifyDate property value
        Returns:
        the ModifyDate value
      • getModifierDate

        public java.util.Calendar getModifierDate()
      • getNicknameProperty

        public TextType getNicknameProperty()
        Get the Nickname property
        Returns:
        the Nickname property
      • getNickname

        public java.lang.String getNickname()
        Get the Nickname property value
        Returns:
        the Nickname value
      • getRatingProperty

        public IntegerType getRatingProperty()
        Get the Rating property
        Returns:
        the Rating property
      • getRating

        public java.lang.Integer getRating()
        Get the Rating property value
        Returns:
        the Rating value