Packages

 

com.aspose.imaging.xmp

Class XmpPackageBaseCollection

  • All Implemented Interfaces:
    com.aspose.ms.System.Collections.Generic.IGenericEnumerable<XmpPackage>, com.aspose.ms.System.Collections.IEnumerable<XmpPackage>, Iterable<XmpPackage>


    public final class XmpPackageBaseCollection
    extends Object
    implements com.aspose.ms.System.Collections.Generic.IGenericEnumerable<XmpPackage>

    Represents collection of XmpPackage.

    • Constructor Detail

      • XmpPackageBaseCollection

        public XmpPackageBaseCollection()

        Initializes a new instance of the XmpPackageBaseCollection class.

    • Method Detail

      • getCount

        public int getCount()

        Gets the number of elements in the collection.

        Value: The number of elements in the collection.
      • add

        public void add(XmpPackage package_)

        Adds new instance of XmpPackage.

        Parameters:
        package_ - The XMP package_ to add.
      • remove

        public void remove(XmpPackage package_)

        Removes the specified XMP package.

        Parameters:
        package_ - The XMP package_ to remove.
      • getPackages

        public XmpPackage[] getPackages()

        Get array of XmpPackage.

        Returns:
        Returns an array of XMP packages.
      • getPackage

        public XmpPackage getPackage(String namespaceUri)

        Gets XmpPackage by it's namespaceURI.

        Parameters:
        namespaceUri - The namespace URI to get package_ for.
        Returns:
        Returns XMP package_ for specified namespace Uri.
      • clear

        public void clear()

        Clear all XmpPackage inside collection.

      • iterator

        public com.aspose.ms.System.Collections.Generic.List.Enumerator iterator()

        Returns an enumerator that iterates through a collection.

        Specified by:
        iterator in interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable<XmpPackage>
        Specified by:
        iterator in interface com.aspose.ms.System.Collections.IEnumerable<XmpPackage>
        Specified by:
        iterator in interface Iterable<XmpPackage>
        Returns:
        An System.Collections.IEnumerator object that can be used to iterate through the collection.