public final class XmpPackageBaseCollection extends Object
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 . |
void |
remove(XmpPackage package_)
Removes the specified package.
|
public XmpPackageBaseCollection()
Initializes a new instance of the XmpPackageBaseCollection
class.
public final int getCount()
Gets the number of elements in the collection.
public final void add(XmpPackage package_)
Adds new instance of XmpPackage
.
package
- XMP package.com.aspose.ms.System.ArgumentNullException
- Package could not be null.public final void remove(XmpPackage package_)
Removes the specified package.
package
- The package.com.aspose.ms.System.ArgumentNullException
- Package could not be null.public final XmpPackage[] getPackages()
Get array of XmpPackage
.
XmpPackage
.public final XmpPackage getPackage(String namespaceUri)
Gets XmpPackage
by it's namespaceURI.
namespaceUri
- Package namespace uri.XmpPackage
by it's namespaceUri
.public final void clear()
Clear all XmpPackage
inside collection.
Copyright © 2019. All rights reserved.