public class MetaData extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
mKey
Metadata Key
|
protected String |
mType
Metadata type
|
protected String |
mValue
Metadata value
|
Constructor and Description |
---|
MetaData(MetaData m)
Copy constructor
|
MetaData(String type,
String key)
Create a new Metadata object
|
MetaData(String type,
String key,
String value)
Create a new Metadata object
|
Modifier and Type | Method and Description |
---|---|
MetaData |
clone()
Create a copy of this Metdata Object
|
String |
getKey()
Get the key of this metadata object
|
String |
getType()
Get the type of the metdata object
|
String |
getValue()
Get the value of the metdata object
|
MetaData |
setValue(String value)
Set the value of the metadata
|
void |
toXML(XMLWriter writer) |
void |
toXML(XMLWriter writer,
int indent) |
protected String mKey
protected String mType
protected String mValue
public MetaData(MetaData m)
m
- public MetaData(String type, String key)
type
- key
- public MetaData clone()
public MetaData setValue(String value)
value
- public String getKey()
public String getType()
public String getValue()
public void toXML(XMLWriter writer)
public void toXML(XMLWriter writer, int indent)