Class AbstractHttpOverXmpp.Data

java.lang.Object
org.jivesoftware.smackx.hoxt.packet.AbstractHttpOverXmpp.Data
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.Data extends Object
Representation of Data element.

This class is immutable.

  • Field Summary

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

    Constructors
    Constructor
    Description
    Data(org.jivesoftware.smack.packet.NamedElement child)
    Creates Data element.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.jivesoftware.smack.packet.NamedElement
    Returns element nested by Data.
     
    final String
     
    org.jivesoftware.smack.util.XmlStringBuilder
    toXML(org.jivesoftware.smack.packet.XmlEnvironment enclosingNamespace)
    Returns string containing xml representation of this object.

    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

    • Data

      public Data(org.jivesoftware.smack.packet.NamedElement child)
      Creates Data element.
      Parameters:
      child - element nested by Data
  • Method Details

    • toXML

      public org.jivesoftware.smack.util.XmlStringBuilder toXML(org.jivesoftware.smack.packet.XmlEnvironment enclosingNamespace)
      Returns string containing xml representation of this object.
      Returns:
      xml representation of this object
    • getChild

      public org.jivesoftware.smack.packet.NamedElement getChild()
      Returns element nested by Data.
      Returns:
      element nested by Data
    • getElementName

      public String getElementName()
    • getNamespace

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