Class MarkupElement.MarkupChildElement
java.lang.Object
org.jivesoftware.smackx.message_markup.element.MarkupElement.MarkupChildElement
- 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
- Direct Known Subclasses:
MarkupElement.BlockLevelMarkupElement,MarkupElement.NonEmptyChildElement
- Enclosing class:
- MarkupElement
public abstract static class MarkupElement.MarkupChildElement
extends Object
implements org.jivesoftware.smack.packet.ExtensionElement
Interface for child elements.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voidafterXmlPrelude(org.jivesoftware.smack.util.XmlStringBuilder xml) final intgetEnd()Return the end index of this element.final Stringfinal intgetStart()Return the start index of this element.final org.jivesoftware.smack.util.XmlStringBuildertoXML(org.jivesoftware.smack.packet.XmlEnvironment enclosingNamespace) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jivesoftware.smack.packet.Element
toXML, toXMLMethods inherited from interface org.jivesoftware.smack.packet.NamedElement
getElementNameMethods inherited from interface org.jivesoftware.smack.packet.XmlElement
getLanguage, getQName
-
Field Details
-
NAMESPACE
- See Also:
-
ATTR_START
- See Also:
-
ATTR_END
- See Also:
-
-
Constructor Details
-
MarkupChildElement
protected MarkupChildElement(int start, int end)
-
-
Method Details
-
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
- Specified by:
getNamespacein interfaceorg.jivesoftware.smack.packet.XmlElement
-
toXML
public final org.jivesoftware.smack.util.XmlStringBuilder toXML(org.jivesoftware.smack.packet.XmlEnvironment enclosingNamespace) - Specified by:
toXMLin interfaceorg.jivesoftware.smack.packet.Element
-
afterXmlPrelude
protected abstract void afterXmlPrelude(org.jivesoftware.smack.util.XmlStringBuilder xml)
-