org.jabber.etherx.streams
Class Stream

java.lang.Object
  extended by org.jabber.etherx.streams.Stream

public class Stream
extends Object

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 minOccurs="0">
           <choice maxOccurs="unbounded" minOccurs="0">
             <element ref="{jabber:client}message"/>
             <element ref="{jabber:client}presence"/>
             <element ref="{jabber:client}iq"/>
           </choice>
           <choice maxOccurs="unbounded" minOccurs="0">
             <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>
         </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  List<Object> clientMessages
           
protected  Error error
           
protected  Features features
           
protected  String from
           
protected  String id
           
protected  String lang
           
protected  List<Object> serverMessages
           
protected  String to
           
protected  BigDecimal version
           
protected  List<Object> xmppSasl
           
protected  List<Object> xmppTls
           
 
Constructor Summary
Stream()
           
 
Method Summary
 List<Object> getClientMessages()
          Gets the value of the clientMessages property.
 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> getServerMessages()
          Gets the value of the serverMessages property.
 String getTo()
          Gets the value of the to property.
 BigDecimal getVersion()
          Gets the value of the version property.
 List<Object> getXmppSasl()
          Gets the value of the xmppSasl property.
 List<Object> getXmppTls()
          Gets the value of the xmppTls 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

features

protected Features features

xmppTls

protected List<Object> xmppTls

xmppSasl

protected List<Object> xmppSasl

clientMessages

protected List<Object> clientMessages

serverMessages

protected List<Object> serverMessages

error

protected Error error

from

protected String from

id

protected String id

to

protected String to

version

protected BigDecimal version

lang

protected String lang
Constructor Detail

Stream

public Stream()
Method Detail

getFeatures

public Features getFeatures()
Gets the value of the features property.

Returns:
possible object is Features

setFeatures

public void setFeatures(Features value)
Sets the value of the features property.

Parameters:
value - allowed object is Features

getXmppTls

public List<Object> getXmppTls()
Gets the value of the xmppTls property.

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 xmppTls property.

For example, to add a new item, do as follows:

    getXmppTls().add(newItem);
 

Objects of the following type(s) are allowed in the list Object


getXmppSasl

public List<Object> getXmppSasl()
Gets the value of the xmppSasl property.

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 xmppSasl property.

For example, to add a new item, do as follows:

    getXmppSasl().add(newItem);
 

Objects of the following type(s) are allowed in the list Object


getClientMessages

public List<Object> getClientMessages()
Gets the value of the clientMessages property.

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 clientMessages property.

For example, to add a new item, do as follows:

    getClientMessages().add(newItem);
 

Objects of the following type(s) are allowed in the list Iq Message Presence


getServerMessages

public List<Object> getServerMessages()
Gets the value of the serverMessages property.

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 serverMessages property.

For example, to add a new item, do as follows:

    getServerMessages().add(newItem);
 

Objects of the following type(s) are allowed in the list Iq Verify Message Result Presence


getError

public Error getError()
Gets the value of the error property.

Returns:
possible object is Error

setError

public void setError(Error value)
Sets the value of the error property.

Parameters:
value - allowed object is Error

getFrom

public String getFrom()
Gets the value of the from property.

Returns:
possible object is String

setFrom

public void setFrom(String value)
Sets the value of the from property.

Parameters:
value - allowed object is String

getId

public String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

public void setId(String value)
Sets the value of the id property.

Parameters:
value - allowed object is String

getTo

public String getTo()
Gets the value of the to property.

Returns:
possible object is String

setTo

public void setTo(String value)
Sets the value of the to property.

Parameters:
value - allowed object is String

getVersion

public BigDecimal getVersion()
Gets the value of the version property.

Returns:
possible object is BigDecimal

setVersion

public void setVersion(BigDecimal value)
Sets the value of the version property.

Parameters:
value - allowed object is BigDecimal

getLang

public String getLang()
Gets the value of the lang property.

Returns:
possible object is String

setLang

public void setLang(String value)
Sets the value of the lang property.

Parameters:
value - allowed object is String


Copyright © 2005-2013 The Apache Software Foundation. All Rights Reserved.