public class FileTooLargeError extends Object implements ExtensionElement
| Modifier and Type | Field and Description |
|---|---|
static String |
ELEMENT |
static String |
NAMESPACE |
| Modifier | Constructor and Description |
|---|---|
|
FileTooLargeError(long maxFileSize) |
protected |
FileTooLargeError(long maxFileSize,
String namespace) |
| Modifier and Type | Method and Description |
|---|---|
static FileTooLargeError |
from(IQ iq) |
String |
getElementName()
Returns the root element name.
|
long |
getMaxFileSize() |
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 NAMESPACE
public FileTooLargeError(long maxFileSize)
protected FileTooLargeError(long maxFileSize, String namespace)
public long getMaxFileSize()
public String getElementName()
NamedElementgetElementName in interface NamedElementpublic String getNamespace()
ExtensionElementgetNamespace in interface ExtensionElementpublic XmlStringBuilder toXML(String enclosingNamespace)
Elementpublic static FileTooLargeError from(IQ iq)