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()
PacketExtensiongetElementName in interface PacketExtensionpublic String getNamespace()
PacketExtensiongetNamespace in interface PacketExtensionpublic AdHocCommand.SpecificErrorCondition getCondition()
public String toXML()
PacketExtensiontoXML in interface PacketExtension