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 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

features

protected Features features

tls

protected List<Object> tls

sasl

protected List<Object> sasl

messageOrPresenceOrIq

protected List<Object> messageOrPresenceOrIq

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

getTls

public List<Object> getTls()
Gets the value of the tls 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 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


getSasl

public List<Object> getSasl()
Gets the value of the sasl 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 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


getMessageOrPresenceOrIq

public List<Object> getMessageOrPresenceOrIq()
Gets the value of the messageOrPresenceOrIq 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 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 Iq Result Iq 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 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-2011 Apache Software Foundation. All Rights Reserved.