Class AbstractHttpOverXmpp.Xml

  • All Implemented Interfaces:
    org.jivesoftware.smack.packet.Element, org.jivesoftware.smack.packet.ExtensionElement, org.jivesoftware.smack.packet.FullyQualifiedElement, org.jivesoftware.smack.packet.NamedElement, org.jivesoftware.smack.packet.XmlLangElement
    Enclosing class:
    AbstractHttpOverXmpp

    public static class AbstractHttpOverXmpp.Xml
    extends java.lang.Object
    Representation of Xml element.

    This class is immutable.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String ELEMENT  
    • Constructor Summary

      Constructors 
      Constructor Description
      Xml​(java.lang.String text)
      Creates this element.builder.toString().
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getElementName()  
      java.lang.String getText()
      Returns text of this element.
      org.jivesoftware.smack.util.XmlStringBuilder toXML​(org.jivesoftware.smack.packet.XmlEnvironment enclosingNamespace)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.jivesoftware.smack.packet.Element

        toXML, toXML
      • Methods inherited from interface org.jivesoftware.smack.packet.FullyQualifiedElement

        getLanguage, getQName
    • Constructor Detail

      • Xml

        public Xml​(java.lang.String text)
        Creates this element.builder.toString().
        Parameters:
        text - value of text
    • Method Detail

      • toXML

        public org.jivesoftware.smack.util.XmlStringBuilder toXML​(org.jivesoftware.smack.packet.XmlEnvironment enclosingNamespace)
      • getText

        public java.lang.String getText()
        Returns text of this element.
        Returns:
        text TODO javadoc me please
      • getElementName

        public java.lang.String getElementName()