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