public class MetadataItem extends Object
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 and Description |
---|
MetadataItem(String name,
String value)
Initializes a new instance of the
MetadataItem class. |
Modifier and Type | Method and Description |
---|---|
String |
getName()
Gets the name of the metadata item.
|
String |
getValue()
Gets the value of the metadata item.
|
public MetadataItem(String name, String value)
MetadataItem
class.name
- The name of the metadata item.value
- The value of the metadata item.