public static class AdHocCommandData.SpecificError extends Object implements PacketExtension
Modifier and Type | Field and Description |
---|---|
AdHocCommand.SpecificErrorCondition |
condition |
static String |
namespace |
Constructor and Description |
---|
AdHocCommandData.SpecificError(AdHocCommand.SpecificErrorCondition condition) |
Modifier and Type | Method and Description |
---|---|
AdHocCommand.SpecificErrorCondition |
getCondition() |
String |
getElementName()
Returns the root element name.
|
String |
getNamespace()
Returns the root element XML namespace.
|
String |
toXML()
Returns the XML representation of the PacketExtension.
|
public static final String namespace
public AdHocCommand.SpecificErrorCondition condition
public AdHocCommandData.SpecificError(AdHocCommand.SpecificErrorCondition condition)
public String getElementName()
PacketExtension
getElementName
in interface PacketExtension
public String getNamespace()
PacketExtension
getNamespace
in interface PacketExtension
public AdHocCommand.SpecificErrorCondition getCondition()
public String toXML()
PacketExtension
toXML
in interface PacketExtension