XmpPackage
Inheritance: java.lang.Object
All Implemented Interfaces: com.aspose.psd.xmp.IXmlValue, com.aspose.ms.System.Collections.Generic.IGenericEnumerable
public class XmpPackage implements IXmlValue, System.Collections.Generic.IGenericEnumerable<System.Collections.Generic.KeyValuePair<String,Object>>
Represents base abstraction for XMP package.
Constructors
Constructor | Description |
---|---|
XmpPackage(String prefix, String namespaceUri) | Initializes a new instance of the XmpPackage class. |
Methods
XmpPackage(String prefix, String namespaceUri)
public XmpPackage(String prefix, String namespaceUri)
Initializes a new instance of the XmpPackage class.
Parameters:
Parameter | Type | Description |
---|---|---|
prefix | java.lang.String | The prefix. |
namespaceUri | java.lang.String | The namespace URI. |
addComplexTypeNamespace_internalized(String typePrefix, String typeNamespaceUri)
public void addComplexTypeNamespace_internalized(String typePrefix, String typeNamespaceUri)
Adds the complex type namespace.
Parameters:
Parameter | Type | Description |
---|---|---|
typePrefix | java.lang.String | The type prefix. |
typeNamespaceUri | java.lang.String | The type namespace URI. |
addValue(String key, String value)
public void addValue(String key, String value)
Adds the value.
Parameters:
Parameter | Type | Description |
---|---|---|
key | java.lang.String | The string representation of key that is identified with added value. |
value | java.lang.String | The value to add to. |
assign_internalized(XmpPackage xmpPackege)
public void assign_internalized(XmpPackage xmpPackege)
Assigns the specified XMP package to current one.
Parameters:
Parameter | Type | Description |
---|---|---|
xmpPackege | XmpPackage | The XMP package. |
clear()
public void clear()
Clears this instance.
combinePackage_internalized(XmpPackage other)
public void combinePackage_internalized(XmpPackage other)
Combines the package.
Parameters:
Parameter | Type | Description |
---|---|---|
other | XmpPackage | The other package to combine. |
containsKey(String key)
public boolean containsKey(String key)
Determines whether the specified key contains key.
Parameters:
Parameter | Type | Description |
---|---|---|
key | java.lang.String | The key to be checked. |
Returns: boolean - Returns true if the specified key contains key.
deepClone_internalized()
public final XmpPackage deepClone_internalized()
Clones this instance.
Returns: XmpPackage - 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
getKeys()
public System.Collections.Generic.Dictionary.KeyCollection<String,Object> getKeys()
Gets the keys in XMP package.
Value: The keys in XMP package.
Returns: com.aspose.ms.System.Collections.Generic.Dictionary.KeyCollection<java.lang.String,java.lang.Object>
getNamespaceUri()
public String getNamespaceUri()
Gets the namespace URI.
Value: The namespace URI.
Returns: java.lang.String
getPrefix()
public String getPrefix()
Gets the prefix.
Value: The prefix.
Returns: java.lang.String
getXmlNamespace()
public String getXmlNamespace()
Gets the XML namespace.
Value: The XML namespace.
Returns: java.lang.String
getXmlValue()
public String getXmlValue()
Converts XMP value to the XML representation.
Returns: java.lang.String - Returns the XMP value converted to the XML representation.
get_Item(String key)
public Object get_Item(String key)
Gets or sets the Object with the specified key.
Parameters:
Parameter | Type | Description |
---|---|---|
key | java.lang.String | The key that identifies value. |
Returns: java.lang.Object - Returns the Object with the specified key.
hashCode()
public native int hashCode()
Returns: int
iterator()
public System.Collections.Generic.IGenericEnumerator<System.Collections.Generic.KeyValuePair<String,Object>> iterator()
Returns an enumerator that iterates through the collection.
Returns: com.aspose.ms.System.Collections.Generic.IGenericEnumerator<com.aspose.ms.System.Collections.Generic.KeyValuePair<java.lang.String,java.lang.Object» - A T:System.Collections.Generic.IEnumerator1 that can be used to iterate through the collection.
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
remove(String key)
public boolean remove(String key)
Remove the value with the specified key.
Parameters:
Parameter | Type | Description |
---|---|---|
key | java.lang.String | The string representation of key that is identified with removed value. |
Returns: boolean - Returns true if the value with the specified key was removed.
setValue(String key, IXmlValue value)
public void setValue(String key, IXmlValue value)
Sets the value.
Parameters:
Parameter | Type | Description |
---|---|---|
key | java.lang.String | The string representation of key that is identified with added value. |
value | IXmlValue | The value to add to. |
setXmpBoolean(String key, String boolValue)
public void setXmpBoolean(String key, String boolValue)
Sets the XMP boolean value.
Parameters:
Parameter | Type | Description |
---|---|---|
key | java.lang.String | The string representation of key that is identified with set value. |
boolValue | java.lang.String | The boolean value. |
setXmpGuid(String key, String guid)
public void setXmpGuid(String key, String guid)
Sets the XMP unique identifier.
Parameters:
Parameter | Type | Description |
---|---|---|
key | java.lang.String | The string representation of key that is identified with set GUID value. |
guid | java.lang.String | The unique identifier. |
setXmpTypeValue(String key, XmpTypeBase value)
public void setXmpTypeValue(String key, XmpTypeBase value)
Sets the XMP type value.
Parameters:
Parameter | Type | Description |
---|---|---|
key | java.lang.String | The string representation of key that is identified with set value. |
value | XmpTypeBase | The value to set to. |
set_Item(String key, Object value)
public void set_Item(String key, Object value)
Sets the Object with the specified key.
Parameters:
Parameter | Type | Description |
---|---|---|
key | java.lang.String | The key that identifies value. |
value | java.lang.Object | The Object value. |
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 |