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