XmpPacketWrapper
Inheritance: java.lang.Object
public class XmpPacketWrapper
Contains serialized xmp package including header and trailer.
A wrapper consisting of a pair of XML processing instructions (PIs) may be placed around the rdf:RDF element.
Constructors
Constructor | Description |
---|---|
XmpPacketWrapper(XmpHeaderPi header, XmpTrailerPi trailer, XmpMeta xmpMeta) | Initializes a new instance of the XmpPacketWrapper class. |
XmpPacketWrapper() | Initializes a new instance of the XmpPacketWrapper class. |
Methods
Method | Description |
---|---|
addPackage(XmpPackage package_) | Adds the package. |
clearPackages() | Removes all XmpPackage inside XMP. |
containsPackage(String namespaceUri) | Determines whethere package is exist in xmp wrapper. |
deepClone_internalized() | Clones this instance. |
equals(Object arg0) | |
getClass() | |
getHeaderPi() | Gets the header processing instruction. |
getMeta() | Gets the XMP meta. |
getPackage(String namespaceUri) | Gets package by namespace URI. |
getPackages() | Gets array of XmpPackage inside XMP. |
getPackagesCount() | Gets amount of packages inside XMP structure. |
getRdfRoot_internalized() | Gets the root RDF element. |
getTrailerPi() | Gets the trailer processing instruction. |
getXmlValue_internalized() | Converts XMP value to the XML representation. |
hashCode() | |
notify() | |
notifyAll() | |
removePackage(XmpPackage package_) | Removes the XMP package. |
setHeaderPi(XmpHeaderPi value) | Sets the header processing instruction. |
setMeta(XmpMeta value) | Sets the XMP meta. |
setRdfRoot_internalized(XmpRdfRoot value) | Sets the root RDF element. |
setTrailerPi(XmpTrailerPi value) | Sets the trailer processing instruction. |
toString() | |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
XmpPacketWrapper(XmpHeaderPi header, XmpTrailerPi trailer, XmpMeta xmpMeta)
public XmpPacketWrapper(XmpHeaderPi header, XmpTrailerPi trailer, XmpMeta xmpMeta)
Initializes a new instance of the XmpPacketWrapper class.
Parameters:
Parameter | Type | Description |
---|---|---|
header | XmpHeaderPi | The XMP header of processing instruction. |
trailer | XmpTrailerPi | The XMP trailer of processing instruction. |
xmpMeta | XmpMeta | The XMP metadata. |
XmpPacketWrapper()
public XmpPacketWrapper()
Initializes a new instance of the XmpPacketWrapper class.
addPackage(XmpPackage package_)
public void addPackage(XmpPackage package_)
Adds the package.
Parameters:
Parameter | Type | Description |
---|---|---|
package_ | XmpPackage | The package. |
clearPackages()
public void clearPackages()
Removes all XmpPackage inside XMP.
containsPackage(String namespaceUri)
public boolean containsPackage(String namespaceUri)
Determines whethere package is exist in xmp wrapper.
Parameters:
Parameter | Type | Description |
---|---|---|
namespaceUri | java.lang.String | Package schema uri. |
Returns: boolean - Returns true if package with specified namespace Uri exist in XMP wrapper.
deepClone_internalized()
public final XmpPacketWrapper deepClone_internalized()
Clones this instance.
Returns: XmpPacketWrapper - The cloned object
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getHeaderPi()
public XmpHeaderPi getHeaderPi()
Gets the header processing instruction.
Returns: XmpHeaderPi - The Header processing instruction.
getMeta()
public XmpMeta getMeta()
Gets the XMP meta. Optional.
Returns: XmpMeta - The XMP meta. Optional.
getPackage(String namespaceUri)
public XmpPackage getPackage(String namespaceUri)
Gets package by namespace URI.
Parameters:
Parameter | Type | Description |
---|---|---|
namespaceUri | java.lang.String | The package schema URI. |
Returns: XmpPackage - Returns the XMP package for specified namespace URI.
getPackages()
public XmpPackage[] getPackages()
Gets array of XmpPackage inside XMP.
Returns: com.aspose.psd.xmp.XmpPackage[] - The array of XmpPackage inside XMP.
getPackagesCount()
public int getPackagesCount()
Gets amount of packages inside XMP structure.
Returns: int - The amount of packages inside XMP structure.
getRdfRoot_internalized()
public XmpRdfRoot getRdfRoot_internalized()
Gets the root RDF element.
Returns: XmpRdfRoot - The RDF root element.
getTrailerPi()
public XmpTrailerPi getTrailerPi()
Gets the trailer processing instruction.
Returns: XmpTrailerPi - Trailer processing instruction.
getXmlValue_internalized()
public String getXmlValue_internalized()
Converts XMP value to the XML representation.
Returns: java.lang.String - Returns converted XMP value to XML.
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
removePackage(XmpPackage package_)
public void removePackage(XmpPackage package_)
Removes the XMP package.
Parameters:
Parameter | Type | Description |
---|---|---|
package_ | XmpPackage | The package. |
setHeaderPi(XmpHeaderPi value)
public void setHeaderPi(XmpHeaderPi value)
Sets the header processing instruction.
Parameters:
Parameter | Type | Description |
---|---|---|
value | XmpHeaderPi | The Header processing instruction. |
setMeta(XmpMeta value)
public void setMeta(XmpMeta value)
Sets the XMP meta. Optional.
Parameters:
Parameter | Type | Description |
---|---|---|
value | XmpMeta | The XMP meta. Optional. |
setRdfRoot_internalized(XmpRdfRoot value)
public void setRdfRoot_internalized(XmpRdfRoot value)
Sets the root RDF element.
Parameters:
Parameter | Type | Description |
---|---|---|
value | XmpRdfRoot | The RDF root element. |
setTrailerPi(XmpTrailerPi value)
public void setTrailerPi(XmpTrailerPi value)
Sets the trailer processing instruction.
Parameters:
Parameter | Type | Description |
---|---|---|
value | XmpTrailerPi | Trailer processing instruction. |
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |