public class XmpPackage extends Object implements IXmlValue, com.aspose.ms.System.Collections.Generic.IGenericEnumerable<com.aspose.ms.System.Collections.Generic.KeyValuePair>
Represents base abstraction for XMP package.
Modifier and Type | Method and Description |
---|---|
void |
addValue(String key,
String value)
Adds the value.
|
void |
clear()
Clears this instance.
|
boolean |
containsKey(String key)
Determines whether the specified key contains key.
|
com.aspose.ms.System.Collections.Generic.IGenericEnumerator<com.aspose.ms.System.Collections.Generic.KeyValuePair> |
getEnumerator() |
com.aspose.ms.System.Collections.Generic.Dictionary.KeyCollection |
getKeys()
Gets the keys in XMP package.
|
String |
getNamespaceUri()
Gets the namespace URI.
|
String |
getPrefix()
Gets the prefix.
|
String |
getXmlNamespace()
Gets the XML namespace.
|
String |
getXmlValue()
Converts XMP value to the XML representation.
|
com.aspose.ms.System.Collections.Generic.IGenericEnumerator<com.aspose.ms.System.Collections.Generic.KeyValuePair> |
iterator()
Deprecated.
|
boolean |
remove(String key)
Remove the value with the specified key.
|
void |
setValue(String key,
IXmlValue value)
Sets the value.
|
void |
setXmpBoolean(String key,
String boolValue)
Sets the XMP boolean value.
|
void |
setXmpGuid(String key,
String guid)
Sets the XMP unique identifier.
|
void |
setXmpTypeValue(String key,
XmpTypeBase value)
Sets the XMP type value.
|
public final String getXmlNamespace()
Gets the XML namespace.
Value: The XML namespace.public final String getPrefix()
Gets the prefix.
Value: The prefix.public final String getNamespaceUri()
Gets the namespace URI.
Value: The namespace URI.public com.aspose.ms.System.Collections.Generic.Dictionary.KeyCollection getKeys()
Gets the keys in XMP package.
Value: The keys in XMP package.public boolean containsKey(String key)
Determines whether the specified key contains key.
key
- The key to be checked.public void addValue(String key, String value)
Adds the value.
key
- The string representation of key that is identified with added value.value
- The value to add to.com.aspose.ms.System.ArgumentNullException
- key is null.public boolean remove(String key)
Remove the value with the specified key.
key
- The string representation of key that is identified with removed value.public void clear()
Clears this instance.
public void setValue(String key, IXmlValue value)
Sets the value.
key
- The string representation of key that is identified with added value.value
- The value to add to.public void setXmpTypeValue(String key, XmpTypeBase value)
Sets the XMP type value.
key
- The string representation of key that is identified with set value.value
- The value to set to.public String getXmlValue()
Converts XMP value to the XML representation.
getXmlValue
in interface IXmlValue
@Deprecated public final com.aspose.ms.System.Collections.Generic.IGenericEnumerator<com.aspose.ms.System.Collections.Generic.KeyValuePair> 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<com.aspose.ms.System.Collections.Generic.KeyValuePair> getEnumerator()
public final void setXmpGuid(String key, String guid)
Sets the XMP unique identifier.
key
- The string representation of key that is identified with set GUID value.guid
- The unique identifier.Copyright (c) 2008-2020 Aspose Pty Ltd. All Rights Reserved.