public class Mechanisms extends Object implements ExtensionElement
Modifier and Type | Field and Description |
---|---|
static String |
ELEMENT |
List<String> |
mechanisms |
static String |
NAMESPACE |
Constructor and Description |
---|
Mechanisms(Collection<String> mechanisms) |
Mechanisms(String mechanism) |
Modifier and Type | Method and Description |
---|---|
String |
getElementName()
Returns the root element name.
|
List<String> |
getMechanisms() |
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 static final String NAMESPACE
public final List<String> mechanisms
public Mechanisms(String mechanism)
public Mechanisms(Collection<String> mechanisms)
public String getElementName()
NamedElement
getElementName
in interface NamedElement
public String getNamespace()
ExtensionElement
getNamespace
in interface ExtensionElement
public List<String> getMechanisms()
public XmlStringBuilder toXML(String enclosingNamespace)
Element