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(String enclosingNamespace)
Returns the XML representation of this Element.
|
public static final String OPTIONAL_ELEMENT
public Feature(boolean optional)
public boolean isOptional()
public String getElementName()
NamedElement
getElementName
in interface NamedElement
public String getNamespace()
ExtensionElement
getNamespace
in interface ExtensionElement
public XmlStringBuilder toXML(String enclosingNamespace)
Element