public class AttentionExtension extends Object implements ExtensionElement
| Modifier and Type | Class and Description |
|---|---|
static class |
AttentionExtension.Provider
A
ExtensionElementProvider for the AttentionExtension. |
| Modifier and Type | Field and Description |
|---|---|
static String |
ELEMENT_NAME
The XML element name of an 'attention' extension.
|
static String |
NAMESPACE
The namespace that qualifies the XML element of an 'attention' extension.
|
| Constructor and Description |
|---|
AttentionExtension() |
| Modifier and Type | Method and Description |
|---|---|
String |
getElementName()
Returns the root element name.
|
String |
getNamespace()
Returns the root element XML namespace.
|
String |
toXML()
Returns the XML representation of this Element.
|
public static final String ELEMENT_NAME
public static final String NAMESPACE
public AttentionExtension()
public String getElementName()
NamedElementgetElementName in interface NamedElementpublic String getNamespace()
ExtensionElementgetNamespace in interface ExtensionElement