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

MethodDescription
addItemAdds pair with key and value into the dictionary.
addItemAdds value to metadata.
addItemAdds pdf extension to metadata.
addItemAdds value to metadata.
clearClears metadata.
containsChecks does key is contained in metadata.
containsItemChecks does specified key-value pair is contained in the dictionary.
containsKeyDetermines does this dictionary contasins specified key.
copyToCopies elements of the collection into array.
copyToTArrayCopies elements of the collection into array.
get_ItemGets data from metadata.
getExtensionFields_InternalFor Internal usage only. Gets the dictionary of extension fields.
getExtensionFields

Gets the dictionary of extension fields.

getItemGets data from metadata.
getKeysGets collection of metadata keys.
getNamespaceUriByPrefixReturns namespace URI by prefix.
getPrefixByNamespaceUriReturns prefix by namespace URI.
getSyncRootGets collection synchronization object.
getValuesGets values in the metadata.
isFixedSizeChecks if colleciton has fixed size.
isReadOnlyChecks if collection is read-only.
isSynchronizedChecks if collection is synchronized.
iterator_Rename_Namesake
iteratorReturns dictionary enumerator.
iteratorIEGets enumerator of the collection.
registerNamespaceUriRegisters namespace URI.
registerNamespaceUriRegisters namespace URI.
removeItemRemoves key/value pair from the colleciton.
removeItemByKeyRemoves entry from metadata.
set_ItemSets data from metadata.
setItemSets data from metadata.
sizeGets count of elements in the collection.
tryGetValueTries to find key in the dictionary and retreives value if found.
tryGetValueTries 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.