Class MarkupElement.MarkupChildElement
- java.lang.Object
-
- org.jivesoftware.smackx.message_markup.element.MarkupElement.MarkupChildElement
-
- All Implemented Interfaces:
Element
,ExtensionElement
,FullyQualifiedElement
,NamedElement
,XmlLangElement
- Direct Known Subclasses:
MarkupElement.BlockLevelMarkupElement
,MarkupElement.NonEmptyChildElement
- Enclosing class:
- MarkupElement
public abstract static class MarkupElement.MarkupChildElement extends Object implements ExtensionElement
Interface for child elements.
-
-
Field Summary
Fields Modifier and Type Field Description static String
ATTR_END
static 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(XmlStringBuilder xml)
int
getEnd()
Return the end index of this element.String
getNamespace()
Returns the root element XML namespace.int
getStart()
Return the start index of this element.XmlStringBuilder
toXML(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.FullyQualifiedElement
getLanguage, getQName
-
Methods inherited from interface org.jivesoftware.smack.packet.NamedElement
getElementName
-
-
-
-
Field Detail
-
ATTR_START
public static final String ATTR_START
- See Also:
- Constant Field Values
-
ATTR_END
public static final String ATTR_END
- See Also:
- Constant Field Values
-
-
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 String getNamespace()
Description copied from interface:FullyQualifiedElement
Returns the root element XML namespace.- Specified by:
getNamespace
in interfaceFullyQualifiedElement
- Returns:
- the namespace.
-
toXML
public final XmlStringBuilder toXML(XmlEnvironment enclosingNamespace)
-
afterXmlPrelude
protected abstract void afterXmlPrelude(XmlStringBuilder xml)
-
-