java.lang.Object |
↳ |
com.atlassian.confluence.content.render.xhtml.editor.resource.identifiers.IdAndTypeAnalyzingResourceIdentifierUnmarshaller |
Class Overview
Unmarshals resource identifiers using the resource id and resource type attributes on an anchor tag (if they're present).
Will return a resource identifier that is not ID-and-type-based.
Public Constructors
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
Unmarshalls a StAX event stream to an object.
Parameters
xmlEventReader
| a reader over the fragment to unmarshall |
mainFragmentTransformer
| TODO |
conversionContext
| the conversion context |