Class AdHocCommandData.SpecificError
- java.lang.Object
-
- org.jivesoftware.smackx.commands.packet.AdHocCommandData.SpecificError
-
- All Implemented Interfaces:
Element
,NamedElement
,XmlElement
,XmlLangElement
- Enclosing class:
- AdHocCommandData
public static class AdHocCommandData.SpecificError extends Object implements XmlElement
-
-
Field Summary
Fields Modifier and Type Field Description SpecificErrorCondition
condition
static String
namespace
-
Constructor Summary
Constructors Constructor Description SpecificError(SpecificErrorCondition condition)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SpecificErrorCondition
getCondition()
String
getElementName()
Returns the root element name.String
getNamespace()
Returns the root element XML namespace.String
toXML(XmlEnvironment enclosingNamespace)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jivesoftware.smack.packet.XmlElement
getLanguage, getQName
-
-
-
-
Field Detail
-
namespace
public static final String namespace
- See Also:
- Constant Field Values
-
condition
public SpecificErrorCondition condition
-
-
Constructor Detail
-
SpecificError
public SpecificError(SpecificErrorCondition condition)
-
-
Method Detail
-
getElementName
public String getElementName()
Description copied from interface:NamedElement
Returns the root element name.- Specified by:
getElementName
in interfaceNamedElement
- Returns:
- the element name.
-
getNamespace
public String getNamespace()
Description copied from interface:XmlElement
Returns the root element XML namespace.- Specified by:
getNamespace
in interfaceXmlElement
- Returns:
- the namespace.
-
getCondition
public SpecificErrorCondition getCondition()
-
toXML
public String toXML(XmlEnvironment enclosingNamespace)
-
-