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 org.jivesoftware.smackx.message_markup.element.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 org.jivesoftware.smackx.message_markup.element.MarkupElement.NonEmptyChildElement
afterXmlPreludeMethods inherited from class org.jivesoftware.smackx.message_markup.element.MarkupElement.MarkupChildElement
getEnd, getNamespace, getStart, toXMLMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:NamedElementReturns the root element name.- Returns:
 - the element name.
 
 - 
appendInnerXml
- Specified by:
 appendInnerXmlin classMarkupElement.NonEmptyChildElement
 
 -