Class RetractedElement
- java.lang.Object
-
- org.jivesoftware.smackx.message_retraction.element.RetractedElement
-
- All Implemented Interfaces:
Element
,ExtensionElement
,FullyQualifiedElement
,NamedElement
,XmlLangElement
public class RetractedElement extends java.lang.Object implements ExtensionElement
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ATTR_STAMP
static java.lang.String
ELEMENT
-
Constructor Summary
Constructors Constructor Description RetractedElement(java.util.Date stamp, OriginIdElement originId)
-
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
getNamespace()
Returns the root element XML namespace.OriginIdElement
getOriginId()
java.util.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.FullyQualifiedElement
getLanguage, getQName
-
-
-
-
Field Detail
-
ELEMENT
public static final java.lang.String ELEMENT
- See Also:
- Constant Field Values
-
ATTR_STAMP
public static final java.lang.String ATTR_STAMP
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
RetractedElement
public RetractedElement(java.util.Date stamp, OriginIdElement originId)
-
-
Method Detail
-
getStamp
public java.util.Date getStamp()
-
getOriginId
public OriginIdElement getOriginId()
-
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.
-
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.
-
toXML
public XmlStringBuilder toXML(XmlEnvironment xmlEnvironment)
-
-