Class SpanElement
java.lang.Object
org.jivesoftware.smackx.message_markup.element.MarkupElement.MarkupChildElement
org.jivesoftware.smackx.message_markup.element.MarkupElement.NonEmptyChildElement
org.jivesoftware.smackx.message_markup.element.SpanElement
- All Implemented Interfaces:
Element
,ExtensionElement
,NamedElement
,XmlElement
,XmlLangElement
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final QName
Fields inherited from class org.jivesoftware.smackx.message_markup.element.MarkupElement.MarkupChildElement
ATTR_END, ATTR_START, NAMESPACE
-
Constructor Summary
ConstructorDescriptionSpanElement
(int start, int end, Set<SpanElement.SpanStyle> styles) Create a new Span element. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
Returns the root element name.Return all styles of this span.Methods inherited from class org.jivesoftware.smackx.message_markup.element.MarkupElement.NonEmptyChildElement
afterXmlPrelude
Methods inherited from class org.jivesoftware.smackx.message_markup.element.MarkupElement.MarkupChildElement
getEnd, getNamespace, getStart, toXML
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.XmlElement
getLanguage, getQName
-
Field Details
-
ELEMENT
- See Also:
-
QNAME
-
emphasis
- See Also:
-
code
- See Also:
-
deleted
- See Also:
-
-
Constructor Details
-
SpanElement
Create a new Span element.- Parameters:
start
- start indexend
- end indexstyles
- list of styles that apply to this span
-
-
Method Details
-
getStyles
Return all styles of this span.- Returns:
- styles TODO javadoc me please
-
getElementName
Description copied from interface:NamedElement
Returns the root element name.- Returns:
- the element name.
-
appendInnerXml
- Specified by:
appendInnerXml
in classMarkupElement.NonEmptyChildElement
-