Class MarshallingFragmentTransformer<T>
java.lang.Object
com.atlassian.confluence.content.render.xhtml.MarshallingFragmentTransformer<T>
- All Implemented Interfaces:
FragmentTransformer
Lazily resolves the marshaller and unmarshaller to use for transforming objects of the specified type.
- Since:
- 5.2
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMarshallingFragmentTransformer(Class<T> clazz, MarshallingType marshallerMarshallingType, MarshallingType unmarshallerMarshallingType, MarshallingRegistry marshallingRegistry) -
Method Summary
Modifier and TypeMethodDescriptionbooleanhandles(StartElement startElementEvent, ConversionContext conversionContext) transform(XMLEventReader reader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
-
Constructor Details
-
MarshallingFragmentTransformer
public MarshallingFragmentTransformer(Class<T> clazz, MarshallingType marshallerMarshallingType, MarshallingType unmarshallerMarshallingType, MarshallingRegistry marshallingRegistry)
-
-
Method Details
-
handles
- Specified by:
handlesin interfaceFragmentTransformer
-
transform
public Streamable transform(XMLEventReader reader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext) throws XhtmlException - Specified by:
transformin interfaceFragmentTransformer- Throws:
XhtmlException
-