Class RetractedElement
- java.lang.Object
-
- org.jivesoftware.smackx.message_retraction.element.RetractedElement
-
- All Implemented Interfaces:
Element
,ExtensionElement
,NamedElement
,XmlElement
,XmlLangElement
public class RetractedElement extends Object implements ExtensionElement
-
-
Constructor Summary
Constructors Constructor Description RetractedElement(Date stamp, OriginIdElement originId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getElementName()
Returns the root element name.String
getNamespace()
Returns the root element XML namespace.OriginIdElement
getOriginId()
Date
getStamp()
XmlStringBuilder
toXML(XmlEnvironment xmlEnvironment)
-
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
-
ELEMENT
public static final String ELEMENT
- See Also:
- Constant Field Values
-
ATTR_STAMP
public static final String ATTR_STAMP
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
RetractedElement
public RetractedElement(Date stamp, OriginIdElement originId)
-
-
Method Detail
-
getOriginId
public OriginIdElement getOriginId()
-
getNamespace
public String getNamespace()
Description copied from interface:XmlElement
Returns the root element XML namespace.- Specified by:
getNamespace
in interfaceXmlElement
- Returns:
- the namespace.
-
getElementName
public String getElementName()
Description copied from interface:NamedElement
Returns the root element name.- Specified by:
getElementName
in interfaceNamedElement
- Returns:
- the element name.
-
toXML
public XmlStringBuilder toXML(XmlEnvironment xmlEnvironment)
-
-