public static class Session.Feature extends Object implements ExtensionElement
| Modifier and Type | Field and Description |
|---|---|
static String |
OPTIONAL_ELEMENT |
| Constructor and Description |
|---|
Feature(boolean optional) |
| Modifier and Type | Method and Description |
|---|---|
String |
getElementName()
Returns the root element name.
|
String |
getNamespace()
Returns the root element XML namespace.
|
boolean |
isOptional() |
XmlStringBuilder |
toXML()
Returns the XML representation of this Element.
|
public static final String OPTIONAL_ELEMENT
public Feature(boolean optional)
public boolean isOptional()
public String getElementName()
NamedElementgetElementName in interface NamedElementpublic String getNamespace()
ExtensionElementgetNamespace in interface ExtensionElementpublic XmlStringBuilder toXML()
Element