MetadataItem
Contents
[
Hide
]
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.
Constructors
Constructor | Description |
---|---|
MetadataItem(String name, String value) | Initializes a new instance of the MetadataItem class. |
Methods
Method | Description |
---|---|
getName() | Gets the name of the metadata item. |
getValue() | Gets the value of the metadata item. |
MetadataItem(String name, String value)
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. |
getName()
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.
getValue()
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.