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()
NamedElement
getElementName
in interface NamedElement
public String getNamespace()
ExtensionElement
getNamespace
in interface ExtensionElement
public XmlStringBuilder toXML(String enclosingNamespace)
Element
public static FileTooLargeError from(IQ iq)