Class JingleContentTransport
- java.lang.Object
-
- org.jivesoftware.smackx.jingle.element.JingleContentTransport
-
- All Implemented Interfaces:
Element
,ExtensionElement
,FullyQualifiedElement
,NamedElement
,XmlLangElement
- Direct Known Subclasses:
JingleIBBTransport
,JingleS5BTransport
,UnknownJingleContentTransport
public abstract class JingleContentTransport extends Object implements ExtensionElement
A jingle transport extension.
-
-
Field Summary
Fields Modifier and Type Field Description protected List<JingleContentTransportCandidate>
candidates
static String
ELEMENT
protected JingleContentTransportInfo
info
-
Constructor Summary
Constructors Modifier Constructor Description protected
JingleContentTransport(List<JingleContentTransportCandidate> candidates)
protected
JingleContentTransport(List<JingleContentTransportCandidate> candidates, JingleContentTransportInfo info)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addExtraAttributes(XmlStringBuilder xml)
List<JingleContentTransportCandidate>
getCandidates()
String
getElementName()
Returns the root element name.JingleContentTransportInfo
getInfo()
XmlStringBuilder
toXML(XmlEnvironment xmlEnvironment)
-
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, getNamespace, getQName
-
-
-
-
Field Detail
-
ELEMENT
public static final String ELEMENT
- See Also:
- Constant Field Values
-
candidates
protected final List<JingleContentTransportCandidate> candidates
-
info
protected final JingleContentTransportInfo info
-
-
Constructor Detail
-
JingleContentTransport
protected JingleContentTransport(List<JingleContentTransportCandidate> candidates)
-
JingleContentTransport
protected JingleContentTransport(List<JingleContentTransportCandidate> candidates, JingleContentTransportInfo info)
-
-
Method Detail
-
getCandidates
public List<JingleContentTransportCandidate> getCandidates()
-
getInfo
public JingleContentTransportInfo getInfo()
-
getElementName
public String getElementName()
Description copied from interface:NamedElement
Returns the root element name.- Specified by:
getElementName
in interfaceNamedElement
- Returns:
- the element name.
-
addExtraAttributes
protected void addExtraAttributes(XmlStringBuilder xml)
-
toXML
public XmlStringBuilder toXML(XmlEnvironment xmlEnvironment)
-
-