public class SearchSettings extends SimpleIQ
Modifier and Type | Class and Description |
---|---|
static class |
SearchSettings.InternalProvider
Stanza(/Packet) extension provider for AgentStatusRequest packets.
|
IQ.IQChildElementXmlStringBuilder, IQ.Type
Modifier and Type | Field and Description |
---|---|
static String |
ELEMENT_NAME
Element name of the stanza(/packet) extension.
|
static String |
NAMESPACE
Namespace of the stanza(/packet) extension.
|
IQ_ELEMENT, QUERY_ELEMENT
DEFAULT_LANGUAGE, ITEM, language, TEXT
Constructor and Description |
---|
SearchSettings() |
Modifier and Type | Method and Description |
---|---|
String |
getForumsLocation() |
String |
getKbLocation() |
boolean |
hasForums() |
boolean |
hasKB() |
boolean |
isSearchEnabled() |
void |
setForumsLocation(String forumsLocation) |
void |
setKbLocation(String kbLocation) |
getIQChildElementBuilder
createErrorResponse, createResultIQ, getChildElementName, getChildElementNamespace, getChildElementXML, getType, isRequestIQ, setType, toXML
addCommonAttributes, addExtension, addExtensions, appendErrorIfExists, getDefaultLanguage, getError, getExtension, getExtension, getExtensions, getExtensions, getExtensionsXML, getFrom, getLanguage, getPacketID, getStanzaId, getTo, hasExtension, hasExtension, hasStanzaIdSet, overrideExtension, removeExtension, removeExtension, setError, setFrom, setLanguage, setPacketID, setStanzaId, setTo, toString
public static final String ELEMENT_NAME
public static final String NAMESPACE
public SearchSettings()
public boolean isSearchEnabled()
public String getForumsLocation()
public void setForumsLocation(String forumsLocation)
public String getKbLocation()
public void setKbLocation(String kbLocation)
public boolean hasKB()
public boolean hasForums()