public class SearchSettings extends IQ
| Modifier and Type | Class and Description |
|---|---|
static class |
SearchSettings.InternalProvider
Packet extension provider for AgentStatusRequest packets.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
ELEMENT_NAME
Element name of the packet extension.
|
static String |
NAMESPACE
Namespace of the packet extension.
|
DEFAULT_LANGUAGE, ID_NOT_AVAILABLE| Constructor and Description |
|---|
SearchSettings() |
| Modifier and Type | Method and Description |
|---|---|
String |
getChildElementXML()
Returns the sub-element XML section of the IQ packet, or null if there
isn't one.
|
String |
getForumsLocation() |
String |
getKbLocation() |
boolean |
hasForums() |
boolean |
hasKB() |
boolean |
isSearchEnabled() |
void |
setForumsLocation(String forumsLocation) |
void |
setKbLocation(String kbLocation) |
createErrorResponse, createResultIQ, getType, setType, toXMLaddCommonAttributes, addExtension, addExtensions, equals, getDefaultLanguage, getError, getExtension, getExtension, getExtensions, getExtensionsXML, getFrom, getPacketID, getTo, getXmlns, hashCode, nextID, removeExtension, setDefaultXmlns, setError, setFrom, setPacketID, setTo, toStringpublic 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()
public String getChildElementXML()
IQExtensions of this class must override this method.
getChildElementXML in class IQ