Class MarkupElement.MarkupChildElement

  • 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
    Direct Known Subclasses:
    MarkupElement.BlockLevelMarkupElement, MarkupElement.NonEmptyChildElement
    Enclosing class:
    MarkupElement

    public abstract static class MarkupElement.MarkupChildElement
    extends java.lang.Object
    implements org.jivesoftware.smack.packet.ExtensionElement
    Interface for child elements.
    • Field Summary

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

      Constructors 
      Modifier Constructor Description
      protected MarkupChildElement​(int start, int end)  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      protected abstract void afterXmlPrelude​(org.jivesoftware.smack.util.XmlStringBuilder xml)  
      int getEnd()
      Return the end index of this element.
      java.lang.String getNamespace()  
      int getStart()
      Return the start index 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
      • Methods inherited from interface org.jivesoftware.smack.packet.NamedElement

        getElementName
    • Constructor Detail

      • MarkupChildElement

        protected MarkupChildElement​(int start,
                                     int end)
    • Method Detail

      • getStart

        public final int getStart()
        Return the start index of this element.
        Returns:
        start index
      • getEnd

        public final int getEnd()
        Return the end index of this element.
        Returns:
        end index
      • getNamespace

        public final java.lang.String getNamespace()
        Specified by:
        getNamespace in interface org.jivesoftware.smack.packet.FullyQualifiedElement
      • toXML

        public final org.jivesoftware.smack.util.XmlStringBuilder toXML​(org.jivesoftware.smack.packet.XmlEnvironment enclosingNamespace)
        Specified by:
        toXML in interface org.jivesoftware.smack.packet.Element
      • afterXmlPrelude

        protected abstract void afterXmlPrelude​(org.jivesoftware.smack.util.XmlStringBuilder xml)