Class PublicKeysListElement.PubkeyMetadataElement
- java.lang.Object
-
- org.jivesoftware.smackx.ox.element.PublicKeysListElement.PubkeyMetadataElement
-
- All Implemented Interfaces:
Element
,ExtensionElement
,FullyQualifiedElement
,NamedElement
,XmlLangElement
- Enclosing class:
- PublicKeysListElement
public static class PublicKeysListElement.PubkeyMetadataElement extends java.lang.Object implements ExtensionElement
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ATTR_DATE
static java.lang.String
ATTR_V4_FINGERPRINT
static java.lang.String
ELEMENT
-
Constructor Summary
Constructors Constructor Description PubkeyMetadataElement(org.pgpainless.key.OpenPgpV4Fingerprint v4_fingerprint, java.util.Date date)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.util.Date
getDate()
java.lang.String
getElementName()
Returns the root element name.java.lang.String
getNamespace()
Returns the root element XML namespace.org.pgpainless.key.OpenPgpV4Fingerprint
getV4Fingerprint()
int
hashCode()
XmlStringBuilder
toXML(XmlEnvironment enclosingNamespace)
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, 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_V4_FINGERPRINT
public static final java.lang.String ATTR_V4_FINGERPRINT
- See Also:
- Constant Field Values
-
ATTR_DATE
public static final java.lang.String ATTR_DATE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PubkeyMetadataElement
public PubkeyMetadataElement(org.pgpainless.key.OpenPgpV4Fingerprint v4_fingerprint, java.util.Date date)
-
-
Method Detail
-
getV4Fingerprint
public org.pgpainless.key.OpenPgpV4Fingerprint getV4Fingerprint()
-
getDate
public java.util.Date getDate()
-
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.
-
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.
-
toXML
public XmlStringBuilder toXML(XmlEnvironment enclosingNamespace)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
-