|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jabber.etherx.streams.Stream
public class Stream
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{http://etherx.jabber.org/streams}features" minOccurs="0"/> <any namespace='urn:ietf:params:xml:ns:xmpp-tls' maxOccurs="unbounded" minOccurs="0"/> <any namespace='urn:ietf:params:xml:ns:xmpp-sasl' maxOccurs="unbounded" minOccurs="0"/> <choice maxOccurs="unbounded" minOccurs="0"> <element ref="{jabber:client}message"/> <element ref="{jabber:client}presence"/> <element ref="{jabber:client}iq"/> <element ref="{jabber:server}message"/> <element ref="{jabber:server}presence"/> <element ref="{jabber:server}iq"/> <element ref="{jabber:server:dialback}result"/> <element ref="{jabber:server:dialback}verify"/> </choice> <element ref="{http://etherx.jabber.org/streams}error" minOccurs="0"/> </sequence> <attribute name="from" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" /> <attribute name="to" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="version" type="{http://www.w3.org/2001/XMLSchema}decimal" /> <attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/> </restriction> </complexContent> </complexType>
Field Summary | |
---|---|
protected Error |
error
|
protected Features |
features
|
protected String |
from
|
protected String |
id
|
protected String |
lang
|
protected List<Object> |
messageOrPresenceOrIq
|
protected List<Object> |
sasl
|
protected List<Object> |
tls
|
protected String |
to
|
protected BigDecimal |
version
|
Constructor Summary | |
---|---|
Stream()
|
Method Summary | |
---|---|
Error |
getError()
Gets the value of the error property. |
Features |
getFeatures()
Gets the value of the features property. |
String |
getFrom()
Gets the value of the from property. |
String |
getId()
Gets the value of the id property. |
String |
getLang()
Gets the value of the lang property. |
List<Object> |
getMessageOrPresenceOrIq()
Gets the value of the messageOrPresenceOrIq property. |
List<Object> |
getSasl()
Gets the value of the sasl property. |
List<Object> |
getTls()
Gets the value of the tls property. |
String |
getTo()
Gets the value of the to property. |
BigDecimal |
getVersion()
Gets the value of the version property. |
void |
setError(Error value)
Sets the value of the error property. |
void |
setFeatures(Features value)
Sets the value of the features property. |
void |
setFrom(String value)
Sets the value of the from property. |
void |
setId(String value)
Sets the value of the id property. |
void |
setLang(String value)
Sets the value of the lang property. |
void |
setTo(String value)
Sets the value of the to property. |
void |
setVersion(BigDecimal value)
Sets the value of the version property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Features features
protected List<Object> tls
protected List<Object> sasl
protected List<Object> messageOrPresenceOrIq
protected Error error
protected String from
protected String id
protected String to
protected BigDecimal version
protected String lang
Constructor Detail |
---|
public Stream()
Method Detail |
---|
public Features getFeatures()
Features
public void setFeatures(Features value)
value
- allowed object is
Features
public List<Object> getTls()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the tls property.
For example, to add a new item, do as follows:
getTls().add(newItem);
Objects of the following type(s) are allowed in the list
Object
public List<Object> getSasl()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the sasl property.
For example, to add a new item, do as follows:
getSasl().add(newItem);
Objects of the following type(s) are allowed in the list
Object
public List<Object> getMessageOrPresenceOrIq()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the messageOrPresenceOrIq property.
For example, to add a new item, do as follows:
getMessageOrPresenceOrIq().add(newItem);
Objects of the following type(s) are allowed in the list
Message
Presence
Presence
Iq
Message
Result
Verify
Iq
public Error getError()
Error
public void setError(Error value)
value
- allowed object is
Error
public String getFrom()
String
public void setFrom(String value)
value
- allowed object is
String
public String getId()
String
public void setId(String value)
value
- allowed object is
String
public String getTo()
String
public void setTo(String value)
value
- allowed object is
String
public BigDecimal getVersion()
BigDecimal
public void setVersion(BigDecimal value)
value
- allowed object is
BigDecimal
public String getLang()
String
public void setLang(String value)
value
- allowed object is
String
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |