org.jabber.etherx.streams
Class Stream

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

public class Stream
extends java.lang.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  java.util.List<java.lang.Object> clientMessages
           
protected  Error error
           
protected  Features features
           
protected  java.lang.String from
           
protected  java.lang.String id
           
protected  java.lang.String lang
           
protected  java.util.List<java.lang.Object> serverMessages
           
protected  java.lang.String to
           
protected  java.math.BigDecimal version
           
protected  java.util.List<java.lang.Object> xmppSasl
           
protected  java.util.List<java.lang.Object> xmppTls
           
 
Constructor Summary
Stream()
           
 
Method Summary
 java.util.List<java.lang.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.
 java.lang.String getFrom()
          Gets the value of the from property.
 java.lang.String getId()
          Gets the value of the id property.
 java.lang.String getLang()
          Gets the value of the lang property.
 java.util.List<java.lang.Object> getServerMessages()
          Gets the value of the serverMessages property.
 java.lang.String getTo()
          Gets the value of the to property.
 java.math.BigDecimal getVersion()
          Gets the value of the version property.
 java.util.List<java.lang.Object> getXmppSasl()
          Gets the value of the xmppSasl property.
 java.util.List<java.lang.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(java.lang.String value)
          Sets the value of the from property.
 void setId(java.lang.String value)
          Sets the value of the id property.
 void setLang(java.lang.String value)
          Sets the value of the lang property.
 void setTo(java.lang.String value)
          Sets the value of the to property.
 void setVersion(java.math.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 java.util.List<java.lang.Object> xmppTls

xmppSasl

protected java.util.List<java.lang.Object> xmppSasl

clientMessages

protected java.util.List<java.lang.Object> clientMessages

serverMessages

protected java.util.List<java.lang.Object> serverMessages

error

protected Error error

from

protected java.lang.String from

id

protected java.lang.String id

to

protected java.lang.String to

version

protected java.math.BigDecimal version

lang

protected java.lang.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 java.util.List<java.lang.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 java.util.List<java.lang.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 java.util.List<java.lang.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 Message Presence Iq


getServerMessages

public java.util.List<java.lang.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 Result Presence Message Verify


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 java.lang.String getFrom()
Gets the value of the from property.

Returns:
possible object is String

setFrom

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

Parameters:
value - allowed object is String

getId

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

Returns:
possible object is String

setId

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

Parameters:
value - allowed object is String

getTo

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

Returns:
possible object is String

setTo

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

Parameters:
value - allowed object is String

getVersion

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

Returns:
possible object is BigDecimal

setVersion

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

Parameters:
value - allowed object is BigDecimal

getLang

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

Returns:
possible object is String

setLang

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

Parameters:
value - allowed object is String


Copyright © 2005-2011 FuseSource, Corp.. All Rights Reserved.