Packages

 

com.aspose.imaging.xmp.schemas.photoshop

Class PhotoshopPackage

  • 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 final class PhotoshopPackage
    extends XmpPackage

    Represents Adobe Photoshop namespace.

    • Constructor Detail

      • PhotoshopPackage

        public PhotoshopPackage()

        Initializes a new instance of the PhotoshopPackage class.

    • Method Detail

      • addValue

        public void addValue(String key,
                             String value)

        Adds string property.

        Overrides:
        addValue in class 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;Photoshop property could not be null
      • setAuthorsPosition

        public void setAuthorsPosition(String authorsPosition)

        Sets the authors position.

        Parameters:
        authorsPosition - The authors position.
      • setCaptionWriter

        public void setCaptionWriter(String captionWriter)

        Sets the caption writer.

        Parameters:
        captionWriter - The caption writer.
      • setCategory

        public void setCategory(String category)

        Sets the category.

        Parameters:
        category - The category.
        Throws:
        com.aspose.ms.System.ArgumentOutOfRangeException - category;Category is limited to 3 characters
      • setCity

        public void setCity(String city)

        Sets the city.

        Parameters:
        city - The city name.
      • setColorMode

        public void setColorMode(byte colorMode)

        Sets the color mode.

        Parameters:
        colorMode - The color mode.
      • setCountry

        public void setCountry(String country)

        Sets the country.

        Parameters:
        country - The country.
      • setCredit

        public void setCredit(String credit)

        Sets the credit.

        Parameters:
        credit - The credit.
      • setCreatedDate

        public void setCreatedDate(Date createdDate)

        Sets created date.

        Parameters:
        createdDate - The created date.
      • setDocumentAncestors

        public void setDocumentAncestors(String[] ancestors)

        Sets the document ancestors.

        Parameters:
        ancestors - The ancestors.
      • setHeadline

        public void setHeadline(String headline)

        Sets the headline.

        Parameters:
        headline - The headline.
      • setHistory

        public void setHistory(String history)

        Sets the history.

        Parameters:
        history - The history.
      • setIccProfile

        public void setIccProfile(String iccProfile)

        Sets the icc profile.

        Parameters:
        iccProfile - The icc profile.
      • setInstructions

        public void setInstructions(String instructions)

        Sets the instructions.

        Parameters:
        instructions - The instructions.
      • setSource

        public void setSource(String source)

        Sets the source.

        Parameters:
        source - The source.
      • setState

        public void setState(String state)

        Sets the state.

        Parameters:
        state - The state.
      • setSupplementalCategories

        public void setSupplementalCategories(String[] supplementalCategories)

        Sets supplemental categories.

        Parameters:
        supplementalCategories - The supplemental categories.
      • setTransmissionReference

        public void setTransmissionReference(String transmissionReference)

        Sets the transmission reference.

        Parameters:
        transmissionReference - The transmission reference.
      • setUrgency

        public void setUrgency(int urgency)

        Sets the urgency.

        Parameters:
        urgency - The urgency.

        Urgency should be in rage from 1 till 8.

        Throws:
        com.aspose.ms.System.ArgumentOutOfRangeException - urgency;Valid range is from 1 to 8