public class MetaData extends Object implements ExtensionElement
Modifier and Type | Field and Description |
---|---|
static String |
ELEMENT_NAME
Element name of the stanza extension.
|
static String |
NAMESPACE
Namespace of the stanza extension.
|
Constructor and Description |
---|
MetaData(Map<String,List<String>> metaData) |
Modifier and Type | Method and Description |
---|---|
String |
getElementName()
Returns the root element name.
|
Map<String,List<String>> |
getMetaData()
Get meta data.
|
String |
getNamespace()
Returns the root element XML namespace.
|
String |
toXML(String enclosingNamespace)
Returns the XML representation of this Element.
|
public static final String ELEMENT_NAME
public static final String NAMESPACE
public Map<String,List<String>> getMetaData()
public String getElementName()
NamedElement
getElementName
in interface NamedElement
public String getNamespace()
ExtensionElement
getNamespace
in interface ExtensionElement