com.atlassian.confluence.content.render.xhtml.Unmarshaller<T> |
Known Indirect Subclasses
DelegatingResourceIdentifierUnmarshaller,
EditorAttachmentResourceIdentifierMarshallerAndUnmarshaller,
EditorBlogPostResourceIdentifierMarshallerAndUnmarshaller,
EditorEmbeddedImageResourceUnmarshaller,
EditorEmoticonUnmarshaller,
EditorIdAndTypeResourceIdentifierUnmarshaller,
EditorLinkBodyUnmarshaller,
EditorLinkUnmarshaller,
EditorMacroUnmarshaller,
EditorPageResourceIdentifierMarshallerAndUnmarshaller,
EditorShortcutResourceIdentifierMarshallerAndUnmarshaller,
EditorSpaceResourceIdentifierMarshallerAndUnmarshaller,
EditorUserResourceIdentifierMarshallerAndUnmarshaller,
IdAndTypeAnalyzingResourceIdentifierUnmarshaller,
StorageEmbeddedImageUnmarshaller,
and
6 others.
|
Class Overview
Responsible for unmarshalling an XML fragment.
Summary
Public Methods |
boolean
|
handles(StartElement startElementEvent, ConversionContext conversionContext)
Determines whether or not this unmarshaller should be applied to a fragment with the specified start element.
|
T
|
unmarshal(XMLEventReader xmlEventReader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
Unmarshalls a StAX event stream to an object.
|
Public Methods
public
boolean
handles
(StartElement startElementEvent, ConversionContext conversionContext)
Determines whether or not this unmarshaller should be applied to a fragment with the specified start element.
Parameters
startElementEvent
| start element |
conversionContext
| the conversion context |
Returns
- true if this unmarshaller can be applied, false otherwise
public
T
unmarshal
(XMLEventReader xmlEventReader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
Unmarshalls a StAX event stream to an object.
Parameters
xmlEventReader
| a reader over the fragment to unmarshall |
mainFragmentTransformer
| TODO |
conversionContext
| the conversion context |
Throws
UnmarshalException
| if an error occurs during unmarshalling |
XhtmlException
| if some other problem occurs
|