public final class XmpPackageBaseCollection extends Object implements com.aspose.ms.System.Collections.Generic.IGenericEnumerable<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(XmpPackage package_)
Adds new instance of
XmpPackage . |
void |
clear()
Clear all
XmpPackage inside collection. |
int |
getCount()
Gets the number of elements in the collection.
|
XmpPackage |
getPackage(String namespaceUri)
Gets
XmpPackage by it's namespaceURI. |
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(XmpPackage package_)
Removes the specified XMP package.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
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(XmpPackage package_)
Adds new instance of XmpPackage
.
package_
- The XMP package_ to add.public void remove(XmpPackage package_)
Removes the specified XMP package.
package_
- The XMP package_ to remove.public XmpPackage[] getPackages()
Get array of XmpPackage
.
public 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<XmpPackage>
iterator
in interface com.aspose.ms.System.Collections.IEnumerable<XmpPackage>
iterator
in interface Iterable<XmpPackage>
System.Collections.IEnumerator
object that can be used to iterate through the collection.