public class Candidate extends ElementWrapper implements ConnectionEndpoint
Modifier and Type | Class and Description |
---|---|
static class |
Candidate.Type |
Modifier and Type | Field and Description |
---|---|
static String |
CID_ATTR |
static String |
HOST_ATTR |
static String |
JID_ATTR |
static String |
PORT_ATTR |
static String |
PRIORITY_ATTR |
static String |
TYPE_ATTR |
Constructor and Description |
---|
Candidate(Element elem) |
Candidate(String cid,
String host,
Integer port,
JID jid,
Integer priority,
Candidate.Type type) |
Modifier and Type | Method and Description |
---|---|
String |
getCid() |
String |
getHost() |
JID |
getJid() |
Integer |
getPort() |
Integer |
getPriority() |
Candidate.Type |
getType() |
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
public static final String CID_ATTR
public static final String HOST_ATTR
public static final String JID_ATTR
public static final String PORT_ATTR
public static final String PRIORITY_ATTR
public static final String TYPE_ATTR
public Candidate(Element elem) throws JaxmppException
JaxmppException
public Candidate(String cid, String host, Integer port, JID jid, Integer priority, Candidate.Type type) throws JaxmppException
JaxmppException
public String getCid() throws XMLException
XMLException
public String getHost() throws XMLException
getHost
in interface ConnectionEndpoint
XMLException
public JID getJid() throws XMLException
getJid
in interface ConnectionEndpoint
XMLException
public Integer getPort() throws XMLException
getPort
in interface ConnectionEndpoint
XMLException
public Integer getPriority() throws XMLException
XMLException
public Candidate.Type getType() throws XMLException
XMLException
Copyright © 2006–2015 Tigase. All rights reserved.