public class Transport extends ElementWrapper
Modifier and Type | Class and Description |
---|---|
static class |
Transport.Mode |
Modifier and Type | Field and Description |
---|---|
static String |
DSTADDR_ATTR |
static String |
MODE_ATTR |
static String |
SID_ATTR |
Constructor and Description |
---|
Transport(Element elem) |
Transport(String xmlns,
String sid,
Transport.Mode mode) |
Transport(String xmlns,
String sid,
Transport.Mode mode,
String dstaddr) |
Modifier and Type | Method and Description |
---|---|
void |
addCandidate(Candidate candidate) |
List<Candidate> |
getCandidates() |
String |
getDstAddr() |
Transport.Mode |
getMode() |
String |
getSid() |
addChild, equals, findChild, getAsString, getAttribute, getAttributes, getChildAfter, getChildElementValue, getChildElementValue, getChildren, getChildren, getChildrenNS, getChildrenNS, getFirstChild, getFirstChild, getName, getNextSibling, getParent, getValue, getWrappedElement, getXMLNS, hashCode, removeAttribute, removeChild, setAttribute, setAttributes, setChildElementValue, setChildElementValue, setParent, setValue, setXMLNS, toString
public static final String DSTADDR_ATTR
public static final String MODE_ATTR
public static final String SID_ATTR
public Transport(Element elem) throws JaxmppException
JaxmppException
public Transport(String xmlns, String sid, Transport.Mode mode) throws JaxmppException
JaxmppException
public Transport(String xmlns, String sid, Transport.Mode mode, String dstaddr) throws JaxmppException
JaxmppException
public void addCandidate(Candidate candidate) throws XMLException
XMLException
public List<Candidate> getCandidates() throws JaxmppException
JaxmppException
public String getDstAddr() throws XMLException
XMLException
public Transport.Mode getMode() throws XMLException
XMLException
public String getSid() throws XMLException
XMLException
Copyright © 2006–2023 Tigase. All rights reserved.