Modifier and Type | Class and Description |
---|---|
static class |
Macros.InternalProvider
An IQProvider for Macro 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 |
---|
Macros() |
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.
|
MacroGroup |
getPersonalMacroGroup() |
MacroGroup |
getRootGroup() |
boolean |
isPersonal() |
void |
setPersonal(boolean personal) |
void |
setPersonalMacroGroup(MacroGroup personalMacroGroup) |
void |
setRootGroup(MacroGroup rootGroup) |
createErrorResponse, createResultIQ, getType, setType, toXML
addCommonAttributes, addExtension, addExtensions, equals, getDefaultLanguage, getError, getExtension, getExtension, getExtensions, getExtensionsXML, getFrom, getPacketID, getTo, getXmlns, hashCode, nextID, removeExtension, setDefaultXmlns, setError, setFrom, setPacketID, setTo, toString
public static final String ELEMENT_NAME
public static final String NAMESPACE
public Macros()
public MacroGroup getRootGroup()
public void setRootGroup(MacroGroup rootGroup)
public boolean isPersonal()
public void setPersonal(boolean personal)
public MacroGroup getPersonalMacroGroup()
public void setPersonalMacroGroup(MacroGroup personalMacroGroup)
public String getChildElementXML()
IQ
Extensions of this class must override this method.
getChildElementXML
in class IQ