public class RetractItem extends Object implements PacketExtension
Constructor and Description |
---|
RetractItem(String itemId)
Construct a RetractItem with the specified id.
|
Modifier and Type | Method and Description |
---|---|
String |
getElementName()
Returns the root element name.
|
String |
getId() |
String |
getNamespace()
Returns the root element XML namespace.
|
String |
toXML()
Returns the XML representation of the PacketExtension.
|
public RetractItem(String itemId)
itemId
- The id if the item deletedpublic String getElementName()
PacketExtension
getElementName
in interface PacketExtension
public String getNamespace()
PacketExtension
getNamespace
in interface PacketExtension
public String toXML()
PacketExtension
toXML
in interface PacketExtension