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.
|
com.aspose.ms.System.Collections.Generic.IGenericEnumerator<XmpPackage> |
getEnumerator()
Returns an enumerator that iterates through a collection.
|
XmpPackage |
getPackage(String namespaceUri)
Gets
XmpPackage by it's namespaceURI. |
XmpPackage[] |
getPackages()
Get array of
XmpPackage . |
com.aspose.ms.System.Collections.Generic.IGenericEnumerator<XmpPackage> |
iterator()
Deprecated.
|
void |
remove(XmpPackage package_)
Removes the specified XMP package.
|
public XmpPackageBaseCollection()
Initializes a new instance of the XmpPackageBaseCollection
class.
public final int getCount()
Gets the number of elements in the collection.
Value: The number of elements in the collection.public final void add(XmpPackage package_)
Adds new instance of XmpPackage
.
package_
- The XMP package to add.public final void remove(XmpPackage package_)
Removes the specified XMP package.
package_
- The XMP package to remove.public final XmpPackage[] getPackages()
Get array of XmpPackage
.
public final XmpPackage getPackage(String namespaceUri)
Gets XmpPackage
by it's namespaceURI.
namespaceUri
- The namespace URI to get package for.public final void clear()
Clear all XmpPackage
inside collection.
@Deprecated public final com.aspose.ms.System.Collections.Generic.IGenericEnumerator<XmpPackage> iterator()
Returns an enumerator that iterates through the collection.
System.Collections.Generic.IEnumerator`1
that can be used to iterate through the collection.public final com.aspose.ms.System.Collections.Generic.IGenericEnumerator<XmpPackage> getEnumerator()
Returns an enumerator that iterates through a collection.
IEnumerator
object that can be used to iterate through the collection.Copyright (c) 2008-2019 Aspose Pty Ltd. All Rights Reserved.