com.caucho.xmpp.im
Class Text

java.lang.Object
  extended by com.caucho.xmpp.im.Text
All Implemented Interfaces:
java.io.Serializable

public class Text
extends java.lang.Object
implements java.io.Serializable

language-encoded text value

 element subject {
   attribute xml:lang?
   & string
 }
 

See Also:
Serialized Form

Constructor Summary
Text(java.lang.String value)
           
Text(java.lang.String value, java.lang.String lang)
           
 
Method Summary
 java.lang.String getLang()
           
 java.lang.String getValue()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Text

public Text(java.lang.String value)

Text

public Text(java.lang.String value,
            java.lang.String lang)
Method Detail

getValue

public java.lang.String getValue()

getLang

public java.lang.String getLang()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object