Class AdHocCommandData.SpecificError
- java.lang.Object
-
- org.jivesoftware.smackx.commands.packet.AdHocCommandData.SpecificError
-
- All Implemented Interfaces:
Element
,ExtensionElement
,FullyQualifiedElement
,NamedElement
,XmlLangElement
- Enclosing class:
- AdHocCommandData
public static class AdHocCommandData.SpecificError extends java.lang.Object implements ExtensionElement
-
-
Field Summary
Fields Modifier and Type Field Description AdHocCommand.SpecificErrorCondition
condition
static java.lang.String
namespace
-
Constructor Summary
Constructors Constructor Description SpecificError(AdHocCommand.SpecificErrorCondition condition)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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(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.FullyQualifiedElement
getLanguage, getQName
-
-
-
-
Field Detail
-
namespace
public static final java.lang.String namespace
- See Also:
- Constant Field Values
-
condition
public AdHocCommand.SpecificErrorCondition condition
-
-
Constructor Detail
-
SpecificError
public SpecificError(AdHocCommand.SpecificErrorCondition condition)
-
-
Method Detail
-
getElementName
public java.lang.String getElementName()
Description copied from interface:NamedElement
Returns the root element name.- Specified by:
getElementName
in interfaceNamedElement
- Returns:
- the element name.
-
getNamespace
public java.lang.String getNamespace()
Description copied from interface:FullyQualifiedElement
Returns the root element XML namespace.- Specified by:
getNamespace
in interfaceFullyQualifiedElement
- Returns:
- the namespace.
-
getCondition
public AdHocCommand.SpecificErrorCondition getCondition()
-
toXML
public java.lang.String toXML(XmlEnvironment enclosingNamespace)
-
-