public static class Session.Feature extends java.lang.Object implements ExtensionElement
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
OPTIONAL_ELEMENT |
Constructor and Description |
---|
Feature(boolean optional) |
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.
|
boolean |
isOptional() |
XmlStringBuilder |
toXML()
Returns the XML representation of this Element.
|
public static final java.lang.String OPTIONAL_ELEMENT
public Feature(boolean optional)
public boolean isOptional()
public java.lang.String getElementName()
NamedElement
getElementName
in interface NamedElement
public java.lang.String getNamespace()
ExtensionElement
getNamespace
in interface ExtensionElement
public XmlStringBuilder toXML()
Element