Class RandomPaddingAffixElement
- java.lang.Object
-
- org.jivesoftware.smackx.stanza_content_encryption.element.RandomPaddingAffixElement
-
- All Implemented Interfaces:
Element
,NamedElement
,AffixElement
public class RandomPaddingAffixElement extends java.lang.Object implements NamedElement, AffixElement
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ELEMENT
-
Constructor Summary
Constructors Constructor Description RandomPaddingAffixElement()
RandomPaddingAffixElement(java.lang.String padding)
-
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.lang.String
getPadding()
int
hashCode()
XmlStringBuilder
toXML(XmlEnvironment xmlEnvironment)
-
-
-
Field Detail
-
ELEMENT
public static final java.lang.String ELEMENT
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
RandomPaddingAffixElement
public RandomPaddingAffixElement(java.lang.String padding)
-
RandomPaddingAffixElement
public RandomPaddingAffixElement()
-
-
Method Detail
-
getPadding
public java.lang.String getPadding()
-
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)
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-