public class ConferenceInfoDocument.User
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
void |
addEndpoint(ConferenceInfoDocument.Endpoint endpoint)
Adds a copy of endpoint to this User
|
ConferenceInfoDocument.Endpoint |
addNewEndpoint(java.lang.String entity)
Creates a new Endpoint instance, adds it to this
User and returns it.
|
java.lang.String |
getDisplayText()
Returns the text content of the display-text child element
of this User's element, if it has such a child.
|
ConferenceInfoDocument.Endpoint |
getEndpoint(java.lang.String entity)
Searches this User's associated Endpoints
and returns the one with entity attribute entity,
or null if one wasn't found.
|
java.util.List<ConferenceInfoDocument.Endpoint> |
getEndpoints()
Returns the list of Endpoints which represent the
endpoint children of this User's element.
|
java.lang.String |
getEntity()
Returns the value of the entity attribute of this
User's element.
|
ConferenceInfoDocument.State |
getState()
Returns the value of the state attribute of this
User's element
|
void |
removeEndpoint(java.lang.String entity)
Removes a specific Endpoint (the one with entity
entity) from this User.
|
void |
setDisplayText(java.lang.String text)
Sets the display-text child element to this User's
element.
|
void |
setEntity(java.lang.String entity)
Sets the entity attribute of this User's element
to entity
|
void |
setState(ConferenceInfoDocument.State state)
Sets the state attribute of this User's element to
state
|
public void setEntity(java.lang.String entity)
entity
- the value to set for the entity attribute.public java.lang.String getEntity()
public void setState(ConferenceInfoDocument.State state)
state
- the value to use for the state attribute.public ConferenceInfoDocument.State getState()
public void setDisplayText(java.lang.String text)
text
- the text content to use for the display-text
element.public java.lang.String getDisplayText()
public java.util.List<ConferenceInfoDocument.Endpoint> getEndpoints()
public ConferenceInfoDocument.Endpoint getEndpoint(java.lang.String entity)
entity
- The value of the entity attribute to search
for.public ConferenceInfoDocument.Endpoint addNewEndpoint(java.lang.String entity)
entity
- The value to use for the entity attribute of
the new Endpoint.public void addEndpoint(ConferenceInfoDocument.Endpoint endpoint)
endpoint
- the Endpoint to add a copy ofpublic void removeEndpoint(java.lang.String entity)
entity
- the entity of the Endpoint to remove
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.