public static class SaslStreamElements.AuthMechanism extends Object implements Nonza
| Constructor and Description |
|---|
AuthMechanism(String mechanism,
String authenticationText) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAuthenticationText() |
String |
getElementName()
Returns the root element name.
|
String |
getMechanism() |
String |
getNamespace()
Returns the root element XML namespace.
|
XmlStringBuilder |
toXML(String enclosingNamespace)
Returns the XML representation of this Element.
|
public static final String ELEMENT
public AuthMechanism(String mechanism, String authenticationText)
public XmlStringBuilder toXML(String enclosingNamespace)
Elementpublic String getMechanism()
public String getAuthenticationText()
public String getNamespace()
ExtensionElementgetNamespace in interface ExtensionElementpublic String getElementName()
NamedElementgetElementName in interface NamedElement