public final class XmpPackageBaseCollection extends Object implements com.aspose.ms.System.Collections.Generic.IGenericEnumerable<com.aspose.imaging.xmp.XmpPackage>
Represents collection of XmpPackage
.
Constructor and Description |
---|
XmpPackageBaseCollection()
Initializes a new instance of the
XmpPackageBaseCollection class. |
Modifier and Type | Method and Description |
---|---|
void |
add(com.aspose.imaging.xmp.XmpPackage package_)
Adds new instance of
XmpPackage . |
void |
clear()
Clear all
XmpPackage inside collection. |
int |
getCount()
Gets the number of elements in the collection.
|
com.aspose.imaging.xmp.XmpPackage |
getPackage(String namespaceUri)
Gets
XmpPackage by it's namespaceURI. |
com.aspose.imaging.xmp.XmpPackage[] |
getPackages()
Get array of
XmpPackage . |
com.aspose.ms.System.Collections.Generic.List.Enumerator |
iterator()
Returns an enumerator that iterates through a collection.
|
void |
remove(com.aspose.imaging.xmp.XmpPackage package_)
Removes the specified XMP package.
|
public XmpPackageBaseCollection()
Initializes a new instance of the XmpPackageBaseCollection
class.
public int getCount()
Gets the number of elements in the collection.
Value: The number of elements in the collection.public void add(com.aspose.imaging.xmp.XmpPackage package_)
Adds new instance of XmpPackage
.
package_
- The XMP package_ to add.public void remove(com.aspose.imaging.xmp.XmpPackage package_)
Removes the specified XMP package.
package_
- The XMP package_ to remove.public com.aspose.imaging.xmp.XmpPackage[] getPackages()
Get array of XmpPackage
.
public com.aspose.imaging.xmp.XmpPackage getPackage(String namespaceUri)
Gets XmpPackage
by it's namespaceURI.
namespaceUri
- The namespace URI to get package_ for.public void clear()
Clear all XmpPackage
inside collection.
public com.aspose.ms.System.Collections.Generic.List.Enumerator iterator()
Returns an enumerator that iterates through a collection.
iterator
in interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable<com.aspose.imaging.xmp.XmpPackage>
iterator
in interface com.aspose.ms.System.Collections.IEnumerable<com.aspose.imaging.xmp.XmpPackage>
iterator
in interface Iterable<com.aspose.imaging.xmp.XmpPackage>
T:System.Collections.IEnumerator
object that can be used to iterate through the collection.Copyright (c) 2008-2016 Aspose Pty Ltd. All Rights Reserved.