Class LazyLoadingFragmentTransformer
java.lang.Object
com.atlassian.confluence.content.render.xhtml.transformers.LazyLoadingFragmentTransformer
- All Implemented Interfaces:
FragmentTransformer
A FragmentTransformer which delegates to another FragmentTransformer identified by bean id. The delegate
FragmentTransformer is only loaded when first required. This class is useful for resolving circular dependencies in
Spring configuration.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
handles
(StartElement startElementEvent, ConversionContext conversionContext) transform
(XMLEventReader reader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
-
Constructor Details
-
LazyLoadingFragmentTransformer
-
-
Method Details
-
handles
- Specified by:
handles
in interfaceFragmentTransformer
-
transform
public Streamable transform(XMLEventReader reader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext) throws XhtmlException - Specified by:
transform
in interfaceFragmentTransformer
- Throws:
XhtmlException
-