Smack

org.jivesoftware.smackx.packet
Class AdHocCommandData.SpecificError

java.lang.Object
  extended by org.jivesoftware.smackx.packet.AdHocCommandData.SpecificError
All Implemented Interfaces:
PacketExtension
Enclosing class:
AdHocCommandData

public static class AdHocCommandData.SpecificError
extends java.lang.Object
implements PacketExtension


Field Summary
 AdHocCommand.SpecificErrorCondition condition
           
static java.lang.String namespace
           
 
Constructor Summary
AdHocCommandData.SpecificError(AdHocCommand.SpecificErrorCondition condition)
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

namespace

public static final java.lang.String namespace
See Also:
Constant Field Values

condition

public AdHocCommand.SpecificErrorCondition condition
Constructor Detail

AdHocCommandData.SpecificError

public AdHocCommandData.SpecificError(AdHocCommand.SpecificErrorCondition condition)
Method Detail

getElementName

public java.lang.String getElementName()
Description copied from interface: PacketExtension
Returns the root element name.

Specified by:
getElementName in interface PacketExtension
Returns:
the element name.

getNamespace

public java.lang.String getNamespace()
Description copied from interface: PacketExtension
Returns the root element XML namespace.

Specified by:
getNamespace in interface PacketExtension
Returns:
the namespace.

getCondition

public AdHocCommand.SpecificErrorCondition getCondition()

toXML

public java.lang.String toXML()
Description copied from interface: PacketExtension
Returns the XML representation of the PacketExtension.

Specified by:
toXML in interface PacketExtension
Returns:
the packet extension as XML.

Smack

Copyright © 2003-2007 Jive Software.