public class StreamOpen extends FullStreamElement
Modifier and Type | Class and Description |
---|---|
static class |
StreamOpen.StreamContentNamespace |
Modifier and Type | Field and Description |
---|---|
static String |
CLIENT_NAMESPACE |
static String |
ELEMENT |
static String |
SERVER_NAMESPACE |
static String |
VERSION
RFC 6120 § 4.7.5
|
Constructor and Description |
---|
StreamOpen(CharSequence to) |
StreamOpen(CharSequence to,
CharSequence from,
String id) |
StreamOpen(CharSequence to,
CharSequence from,
String id,
String lang,
StreamOpen.StreamContentNamespace ns) |
Modifier and Type | Method and Description |
---|---|
String |
getElementName()
Returns the root element name.
|
String |
getNamespace()
Returns the root element XML namespace.
|
XmlStringBuilder |
toXML()
Returns the XML representation of this Element.
|
public static final String ELEMENT
public static final String CLIENT_NAMESPACE
public static final String SERVER_NAMESPACE
public static final String VERSION
public StreamOpen(CharSequence to)
public StreamOpen(CharSequence to, CharSequence from, String id)
public StreamOpen(CharSequence to, CharSequence from, String id, String lang, StreamOpen.StreamContentNamespace ns)
public String getNamespace()
ExtensionElement
public String getElementName()
NamedElement
public XmlStringBuilder toXML()
Element