public static class MUCInitialPresence.History extends Object implements NamedElement
Constructor and Description |
---|
History()
Deprecated.
use
#History(int, int, int, Date) instead. |
History(int maxChars,
int maxStanzas,
int seconds,
Date since) |
Modifier and Type | Method and Description |
---|---|
String |
getElementName()
Returns the root element name.
|
int |
getMaxChars()
Returns the total number of characters to receive in the history.
|
int |
getMaxStanzas()
Returns the total number of messages to receive in the history.
|
int |
getSeconds()
Returns the number of seconds to use to filter the messages received during that time.
|
Date |
getSince()
Returns the since date to use to filter the messages received during that time.
|
void |
setMaxChars(int maxChars)
Deprecated.
use
#History(int, int, int, Date) instead. |
void |
setMaxStanzas(int maxStanzas)
Deprecated.
use
#History(int, int, int, Date) instead. |
void |
setSeconds(int seconds)
Deprecated.
use
#History(int, int, int, Date) instead. |
void |
setSince(Date since)
Deprecated.
use
#History(int, int, int, Date) instead. |
XmlStringBuilder |
toXML(String enclosingNamespace)
Returns the XML representation of this Element.
|
public static final String ELEMENT
@Deprecated public History()
#History(int, int, int, Date)
instead.public int getMaxChars()
public int getMaxStanzas()
public int getSeconds()
public Date getSince()
@Deprecated public void setMaxChars(int maxChars)
#History(int, int, int, Date)
instead.maxChars
- the total number of characters to receive in the history.@Deprecated public void setMaxStanzas(int maxStanzas)
#History(int, int, int, Date)
instead.maxStanzas
- the total number of messages to receive in the history.@Deprecated public void setSeconds(int seconds)
#History(int, int, int, Date)
instead.seconds
- the number of seconds to use to filter the messages received during
that time.@Deprecated public void setSince(Date since)
#History(int, int, int, Date)
instead.since
- the since date to use to filter the messages received during that time.public XmlStringBuilder toXML(String enclosingNamespace)
Element
public String getElementName()
NamedElement
getElementName
in interface NamedElement