public class JingleFileTransferChild extends JingleContentDescriptionChildElement
Modifier and Type | Class and Description |
---|---|
static class |
JingleFileTransferChild.Builder |
Modifier and Type | Field and Description |
---|---|
static String |
ELEM_DATE |
static String |
ELEM_DESC |
static String |
ELEM_MEDIA_TYPE |
static String |
ELEM_NAME |
static String |
ELEM_SIZE |
static String |
ELEMENT |
Constructor and Description |
---|
JingleFileTransferChild(Date date,
String desc,
HashElement hash,
String mediaType,
String name,
int size,
Range range) |
Modifier and Type | Method and Description |
---|---|
static JingleFileTransferChild.Builder |
getBuilder() |
Date |
getDate() |
String |
getDescription() |
String |
getElementName()
Returns the root element name.
|
HashElement |
getHash() |
String |
getMediaType() |
String |
getName() |
Range |
getRange() |
int |
getSize() |
CharSequence |
toXML(String enclosingNamespace)
Returns the XML representation of this Element.
|
public static final String ELEMENT
public static final String ELEM_DATE
public static final String ELEM_DESC
public static final String ELEM_MEDIA_TYPE
public static final String ELEM_NAME
public static final String ELEM_SIZE
public JingleFileTransferChild(Date date, String desc, HashElement hash, String mediaType, String name, int size, Range range)
public String getDescription()
public HashElement getHash()
public String getMediaType()
public int getSize()
public String getElementName()
NamedElement
getElementName
in interface NamedElement
getElementName
in class JingleContentDescriptionChildElement
public CharSequence toXML(String enclosingNamespace)
Element
enclosingNamespace
- the enclosing namespace or null
.public static JingleFileTransferChild.Builder getBuilder()