Class Checksum
- java.lang.Object
-
- org.jivesoftware.smackx.jingle_filetransfer.element.Checksum
-
- All Implemented Interfaces:
Element
,ExtensionElement
,FullyQualifiedElement
,NamedElement
,XmlLangElement
public class Checksum extends java.lang.Object implements ExtensionElement
Checksum element.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ATTR_CREATOR
static java.lang.String
ATTR_NAME
static java.lang.String
ELEMENT
-
Constructor Summary
Constructors Constructor Description Checksum(JingleContent.Creator creator, java.lang.String name, JingleFileTransferChild file)
-
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.java.lang.CharSequence
toXML(XmlEnvironment enclosingNamespace)
-
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_CREATOR
public static final java.lang.String ATTR_CREATOR
- See Also:
- Constant Field Values
-
ATTR_NAME
public static final java.lang.String ATTR_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Checksum
public Checksum(JingleContent.Creator creator, java.lang.String name, JingleFileTransferChild file)
-
-
Method Detail
-
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 enclosingNamespace)
-
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.
-
-