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 java.lang.Object implements ExtensionElement
A jingle transport extension.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<JingleContentTransportCandidate>
candidates
static java.lang.String
ELEMENT
protected JingleContentTransportInfo
info
-
Constructor Summary
Constructors Modifier Constructor Description protected
JingleContentTransport(java.util.List<JingleContentTransportCandidate> candidates)
protected
JingleContentTransport(java.util.List<JingleContentTransportCandidate> candidates, JingleContentTransportInfo info)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addExtraAttributes(XmlStringBuilder xml)
java.util.List<JingleContentTransportCandidate>
getCandidates()
java.lang.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 java.lang.String ELEMENT
- See Also:
- Constant Field Values
-
candidates
protected final java.util.List<JingleContentTransportCandidate> candidates
-
info
protected final JingleContentTransportInfo info
-
-
Constructor Detail
-
JingleContentTransport
protected JingleContentTransport(java.util.List<JingleContentTransportCandidate> candidates)
-
JingleContentTransport
protected JingleContentTransport(java.util.List<JingleContentTransportCandidate> candidates, JingleContentTransportInfo info)
-
-
Method Detail
-
getCandidates
public java.util.List<JingleContentTransportCandidate> getCandidates()
-
getInfo
public JingleContentTransportInfo getInfo()
-
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.
-
addExtraAttributes
protected void addExtraAttributes(XmlStringBuilder xml)
-
toXML
public XmlStringBuilder toXML(XmlEnvironment xmlEnvironment)
-
-