Class AbstractHttpOverXmpp.Xml

java.lang.Object
org.jivesoftware.smackx.hoxt.packet.AbstractHttpOverXmpp.Xml
All Implemented Interfaces:
org.jivesoftware.smack.packet.Element, org.jivesoftware.smack.packet.ExtensionElement, org.jivesoftware.smack.packet.NamedElement, org.jivesoftware.smack.packet.XmlElement, org.jivesoftware.smack.packet.XmlLangElement
Enclosing class:
AbstractHttpOverXmpp

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

This class is immutable.

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
    static final QName
     
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
     
    final String
     
    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.XmlElement

    getLanguage, getQName
  • Field Details

  • Constructor Details

    • Xml

      public Xml(String text)
      Creates this element.builder.toString().
      Parameters:
      text - value of text
  • Method Details

    • toXML

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

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

      public String getElementName()
    • getNamespace

      public final String getNamespace()
      Specified by:
      getNamespace in interface org.jivesoftware.smack.packet.XmlElement