Package org.jivesoftware.smackx.pubsub
Class RetractItem
- java.lang.Object
-
- org.jivesoftware.smackx.pubsub.RetractItem
-
- All Implemented Interfaces:
Element
,ExtensionElement
,FullyQualifiedElement
,NamedElement
,XmlLangElement
public class RetractItem extends java.lang.Object implements ExtensionElement
Represents and item that has been deleted from a node.
-
-
Constructor Summary
Constructors Constructor Description RetractItem(java.lang.String itemId)
Construct aRetractItem
with the specified id.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getElementName()
Returns the root element name.java.lang.String
getId()
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
-
-
-
-
Constructor Detail
-
RetractItem
public RetractItem(java.lang.String itemId)
Construct aRetractItem
with the specified id.- Parameters:
itemId
- The id if the item deleted
-
-
Method Detail
-
getId
public java.lang.String getId()
-
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.
-
toXML
public java.lang.String toXML(XmlEnvironment enclosingNamespace)
-
-