Class TimestampAffixElement
- java.lang.Object
-
- org.jivesoftware.smackx.stanza_content_encryption.element.TimestampAffixElement
-
- All Implemented Interfaces:
Element
,NamedElement
,AffixElement
public class TimestampAffixElement extends Object implements NamedElement, AffixElement
-
-
Field Summary
Fields Modifier and Type Field Description static String
ATTR_STAMP
static String
ELEMENT
-
Constructor Summary
Constructors Constructor Description TimestampAffixElement(Date timestamp)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getElementName()
Returns the root element name.Date
getTimestamp()
int
hashCode()
CharSequence
toXML(XmlEnvironment xmlEnvironment)
-
-
-
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
-
TimestampAffixElement
public TimestampAffixElement(Date timestamp)
-
-
Method Detail
-
getTimestamp
public Date getTimestamp()
-
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 CharSequence toXML(XmlEnvironment xmlEnvironment)
-
-