public class ImageLinkEmoticonUnmarshaller extends Object implements Unmarshaller<Emoticon>
Constructor and Description |
---|
ImageLinkEmoticonUnmarshaller() |
Modifier and Type | Method and Description |
---|---|
boolean |
handles(StartElement startElementEvent,
ConversionContext conversionContext)
Handle elements with the "emoticon" class and the emoticon-[type] attribute where [type] is a valid Confluence emoticon
|
Emoticon |
unmarshal(XMLEventReader xmlEventReader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext)
Unmarshalls a StAX event stream to an object.
|
public boolean handles(StartElement startElementEvent, ConversionContext conversionContext)
handles
in interface Unmarshaller<Emoticon>
startElementEvent
- start elementconversionContext
- the conversion contextpublic Emoticon unmarshal(XMLEventReader xmlEventReader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext) throws XhtmlException
Unmarshaller
unmarshal
in interface Unmarshaller<Emoticon>
xmlEventReader
- a reader over the fragment to unmarshallmainFragmentTransformer
- TODOconversionContext
- the conversion contextXhtmlException
- if some other problem occursCopyright © 2003–2020 Atlassian. All rights reserved.