MetadataItem
Leave feedback
On this page
Inheritance: java.lang.Object
public class MetadataItem
Represents a metadata item which is used in container items and metadata extraction functionality.
An instance of MetadataItem class is used as return value of Parser.getMetadata() method and as a item in ContainerItem.getMetadata() collection. See the usage examples there.
| Constructor | Description |
|---|---|
| MetadataItem(String name, String value) | Initializes a new instance of the MetadataItem class. |
| Method | Description |
|---|---|
| getName() | Gets the name of the metadata item. |
| getValue() | Gets the value of the metadata item. |
public MetadataItem(String name, String value)
Initializes a new instance of the MetadataItem class.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| name | java.lang.String | The name of the metadata item. |
| value | java.lang.String | The value of the metadata item. |
public String getName()
Gets the name of the metadata item.
Returns: java.lang.String - A string value that represents the name of the metadata item.
public String getValue()
Gets the value of the metadata item.
Returns: java.lang.String - A string value that represents the value of the metadata item.
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.