Class JingleFileTransferChild
- java.lang.Object
-
- org.jivesoftware.smackx.jingle_filetransfer.element.JingleFileTransferChild
-
- All Implemented Interfaces:
Element
,FullyQualifiedElement
,NamedElement
,XmlLangElement
,JingleContentDescriptionChildElement
public class JingleFileTransferChild extends java.lang.Object implements JingleContentDescriptionChildElement
Content of type File.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JingleFileTransferChild.Builder
-
Constructor Summary
Constructors Constructor Description JingleFileTransferChild(java.util.Date date, java.lang.String desc, HashElement hash, java.lang.String mediaType, java.lang.String name, int size, Range range)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static JingleFileTransferChild.Builder
getBuilder()
java.util.Date
getDate()
java.lang.String
getDescription()
java.lang.String
getElementName()
Returns the root element name.HashElement
getHash()
java.lang.String
getMediaType()
java.lang.String
getName()
java.lang.String
getNamespace()
Returns the root element XML namespace.Range
getRange()
int
getSize()
XmlStringBuilder
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
-
NAMESPACE
public static final java.lang.String NAMESPACE
- See Also:
- Constant Field Values
-
ELEM_DATE
public static final java.lang.String ELEM_DATE
- See Also:
- Constant Field Values
-
ELEM_DESC
public static final java.lang.String ELEM_DESC
- See Also:
- Constant Field Values
-
ELEM_MEDIA_TYPE
public static final java.lang.String ELEM_MEDIA_TYPE
- See Also:
- Constant Field Values
-
ELEM_NAME
public static final java.lang.String ELEM_NAME
- See Also:
- Constant Field Values
-
ELEM_SIZE
public static final java.lang.String ELEM_SIZE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
JingleFileTransferChild
public JingleFileTransferChild(java.util.Date date, java.lang.String desc, HashElement hash, java.lang.String mediaType, java.lang.String name, int size, Range range)
-
-
Method Detail
-
getDate
public java.util.Date getDate()
-
getDescription
public java.lang.String getDescription()
-
getHash
public HashElement getHash()
-
getMediaType
public java.lang.String getMediaType()
-
getName
public java.lang.String getName()
-
getSize
public int getSize()
-
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)
-
getBuilder
public static JingleFileTransferChild.Builder getBuilder()
-
-