Packages

 

com.aspose.cad.xmp.schemas.xmpbaseschema

Class XmpBasicPackage

  • java.lang.Object
    • com.aspose.cad.xmp.XmpPackage
      • com.aspose.cad.xmp.schemas.xmpbaseschema.XmpBasicPackage
  • All Implemented Interfaces:
    IXmlValue, com.aspose.ms.System.Collections.Generic.IGenericEnumerable<com.aspose.ms.System.Collections.Generic.KeyValuePair<String,Object>>, com.aspose.ms.System.Collections.IEnumerable<com.aspose.ms.System.Collections.Generic.KeyValuePair<String,Object>>, Iterable<com.aspose.ms.System.Collections.Generic.KeyValuePair<String,Object>>


    public class XmpBasicPackage
    extends com.aspose.cad.xmp.XmpPackage

    Represents XMP basic namespace.

    • Constructor Detail

      • XmpBasicPackage

        public XmpBasicPackage()

        Initializes a new instance of the XmpBasicPackage class.

      • XmpBasicPackage

        public XmpBasicPackage(String prefix,
                               String namespaceUri)

        Initializes a new instance of the XmpBasicPackage class.

        Parameters:
        prefix - The prefix.
        namespaceUri - The namespace URI.
    • Method Detail

      • addValue

        public void addValue(String key,
                             String value)

        Adds string property.

        Overrides:
        addValue in class com.aspose.cad.xmp.XmpPackage
        Parameters:
        key - The string representation of key that is identified with added value.
        value - The string value.
        Throws:
        com.aspose.ms.System.ArgumentNullException - key;Metadata key is not provided
      • setCreatedDate

        public void setCreatedDate(Date createdDate)

        Adds resource created date.

        Parameters:
        createdDate - Created date.
      • setCreatedDate_internalized

        public void setCreatedDate_internalized(com.aspose.ms.System.DateTime createdDate)
      • setCreatedDate

        public void setCreatedDate(String createdDate)

        Adds resource created date.

        Parameters:
        createdDate - Created date.
      • setCreatorTool

        public void setCreatorTool(String creatorTool)

        Sets the creator tool.

        Parameters:
        creatorTool - Name of tool.
      • setIdentifier

        public void setIdentifier(String[] idenfifier)

        Sets the identifier.

        Parameters:
        idenfifier - The idenfifier.
      • setLabel

        public void setLabel(String label)

        Sets the label.

        Parameters:
        label - The label.
      • setMetadataDate

        public void setMetadataDate(Date metadataDate)

        Adds metadata last changed date.

        Parameters:
        metadataDate - Metadata date.
      • setMetadataDate_internalized

        public void setMetadataDate_internalized(com.aspose.ms.System.DateTime metadataDate)
      • setMetadataDate

        public void setMetadataDate(String metadataDate)

        Adds metadata last changed date.

        Parameters:
        metadataDate - Metadata date.
      • setModifyDate

        public void setModifyDate(Date modifiedDate)

        Adds resource last modified date.

        Parameters:
        modifiedDate - Last modified date.
      • setModifyDate

        public void setModifyDate(String modifiedDate)

        Adds resource last modified date.

        Parameters:
        modifiedDate - Last modified date.
      • setRating

        public void setRating(int choise)

        Sets rating.

        Parameters:
        choise - From -1 till 5