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
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final QNameFields inherited from class MarkupElement.MarkupChildElement
ATTR_END, ATTR_START, NAMESPACE -
Constructor Summary
ConstructorsConstructorDescriptionSpanElement(int start, int end, Set<SpanElement.SpanStyle> styles) Create a new Span element. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidReturns the root element name.Return all styles of this span.Methods inherited from class MarkupElement.NonEmptyChildElement
afterXmlPreludeMethods inherited from class MarkupElement.MarkupChildElement
getEnd, getNamespace, getStart, toXMLMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface XmlElement
getLanguage, getQName
-
Field Details
-
ELEMENT
-
QNAME
-
emphasis
-
code
-
deleted
-
-
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:NamedElementReturns the root element name.- Returns:
- the element name.
-
appendInnerXml
- Specified by:
appendInnerXmlin classMarkupElement.NonEmptyChildElement
-