public class AttentionExtension extends java.lang.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 java.lang.String |
ELEMENT_NAME
The XML element name of an 'attention' extension.
|
static java.lang.String |
NAMESPACE
The namespace that qualifies the XML element of an 'attention' extension.
|
Constructor and Description |
---|
AttentionExtension() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getElementName()
Returns the root element name.
|
java.lang.String |
getNamespace()
Returns the root element XML namespace.
|
java.lang.String |
toXML()
Returns the XML representation of this Element.
|
public static final java.lang.String ELEMENT_NAME
public static final java.lang.String NAMESPACE
public AttentionExtension()
public java.lang.String getElementName()
NamedElement
getElementName
in interface NamedElement
public java.lang.String getNamespace()
ExtensionElement
getNamespace
in interface ExtensionElement