Metadata
Inheritance: java.lang.Object, com.aspose.pdf.Metadata
All Implemented Interfaces: com.aspose.ms.System.Collections.Generic.IGenericCollection<com.aspose.ms.System.Collections.Generic.KeyValuePair< String, XmpValue », com.aspose.ms.System.Collections.Generic.IGenericDictionary< String, XmpValue >, com.aspose.ms.System.Collections.Generic.IGenericEnumerable<com.aspose.ms.System.Collections.Generic.KeyValuePair< String, XmpValue », com.aspose.ms.System.Collections.IEnumerable<com.aspose.ms.System.Collections.Generic.KeyValuePair< String, XmpValue », Iterable <com.aspose.ms.System.Collections.Generic.KeyValuePair< String, XmpValue »
public final class Metadata extends Object implements com.aspose.ms.System.Collections.Generic.IGenericDictionary< String , XmpValue >
Provides access to XMP metadata stream.
Methods
| Method | Description |
|---|---|
| addItem | Adds pair with key and value into the dictionary. |
| addItem | Adds value to metadata. |
| addItem | Adds pdf extension to metadata. |
| addItem | Adds value to metadata. |
| clear | Clears metadata. |
| contains | Checks does key is contained in metadata. |
| containsItem | Checks does specified key-value pair is contained in the dictionary. |
| containsKey | Determines does this dictionary contasins specified key. |
| copyTo | Copies elements of the collection into array. |
| copyToTArray | Copies elements of the collection into array. |
| get_Item | Gets data from metadata. |
| getExtensionFields_Internal | For Internal usage only. Gets the dictionary of extension fields. |
| getExtensionFields | Gets the dictionary of extension fields. |
| getItem | Gets data from metadata. |
| getKeys | Gets collection of metadata keys. |
| getNamespaceUriByPrefix | Returns namespace URI by prefix. |
| getPrefixByNamespaceUri | Returns prefix by namespace URI. |
| getSyncRoot | Gets collection synchronization object. |
| getValues | Gets values in the metadata. |
| isFixedSize | Checks if colleciton has fixed size. |
| isReadOnly | Checks if collection is read-only. |
| isSynchronized | Checks if collection is synchronized. |
| iterator_Rename_Namesake | |
| iterator | Returns dictionary enumerator. |
| iteratorIE | Gets enumerator of the collection. |
| registerNamespaceUri | Registers namespace URI. |
| registerNamespaceUri | Registers namespace URI. |
| removeItem | Removes key/value pair from the colleciton. |
| removeItemByKey | Removes entry from metadata. |
| set_Item | Sets data from metadata. |
| setItem | Sets data from metadata. |
| size | Gets count of elements in the collection. |
| tryGetValue | Tries to find key in the dictionary and retreives value if found. |
| tryGetValue | Tries to find key in the dictionary and retreives value if found. |
addItem
Adds pair with key and value into the dictionary.
addItem
Adds value to metadata.
addItem
Adds pdf extension to metadata.
addItem
Adds value to metadata.
clear
public void clear()
Clears metadata.
contains
Checks does key is contained in metadata.
containsItem
Checks does specified key-value pair is contained in the dictionary.
containsKey
Determines does this dictionary contasins specified key.
copyTo
Copies elements of the collection into array.
copyToTArray
Copies elements of the collection into array.
get_Item
Gets data from metadata.
getExtensionFields_Internal
public com.aspose.ms.System.Collections.Generic.IGenericDictionary< String , XmpPdfAExtensionSchema > getExtensionFields_Internal()
For Internal usage only. Gets the dictionary of extension fields.
Returns: internal object
getExtensionFields
public Hashtable < String , XmpPdfAExtensionSchema > getExtensionFields()
Gets the dictionary of extension fields.
Returns: {@code Hashtable<String, XmpPdfAExtensionSchema>} object
getItem
Gets data from metadata.
getKeys
public com.aspose.ms.System.Collections.Generic.IGenericCollection< String > getKeys()
Gets collection of metadata keys.
Returns: ICollection object
getNamespaceUriByPrefix
Returns namespace URI by prefix.
getPrefixByNamespaceUri
Returns prefix by namespace URI.
getSyncRoot
public Object getSyncRoot()
Gets collection synchronization object.
Returns: Object for synchronization
getValues
public com.aspose.ms.System.Collections.Generic.IGenericCollection< XmpValue > getValues()
Gets values in the metadata.
Returns: ICollection object
isFixedSize
public boolean isFixedSize()
Checks if colleciton has fixed size.
Returns: boolean value
isReadOnly
public boolean isReadOnly()
Checks if collection is read-only.
Returns: boolean value
isSynchronized
public boolean isSynchronized()
Checks if collection is synchronized.
Returns: boolean value
iterator_Rename_Namesake
public com.aspose.ms.System.Collections.IEnumerator iterator_Rename_Namesake()
iterator
public com.aspose.ms.System.Collections.Generic.IGenericEnumerator<com.aspose.ms.System.Collections.Generic.KeyValuePair< String , XmpValue >> iterator()
Returns dictionary enumerator.
Returns: Enumerator.
iteratorIE
public Iterator <com.aspose.ms.System.Collections.Generic.KeyValuePair< String , XmpValue >> iteratorIE()
Gets enumerator of the collection.
Returns: IEnumerator object @see IEnumerator
registerNamespaceUri
Registers namespace URI.
registerNamespaceUri
Registers namespace URI.
removeItem
Removes key/value pair from the colleciton.
removeItemByKey
Removes entry from metadata.
set_Item
Sets data from metadata.
setItem
Sets data from metadata.
size
public int size()
Gets count of elements in the collection.
Returns: int value
tryGetValue
Tries to find key in the dictionary and retreives value if found.
tryGetValue
Tries to find key in the dictionary and retreives value if found.