public class StreamOpen extends Object implements Nonza
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(String enclosingNamespace)
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
getNamespace
in interface ExtensionElement
public String getElementName()
NamedElement
getElementName
in interface NamedElement
public XmlStringBuilder toXML(String enclosingNamespace)
Element