public class DefaultFragmentTransformerFactoryImpl extends Object implements DefaultFragmentTransformerFactory
DefaultFragmentTransformer
configured in a particular
way. You are also able to customise the constructed DefaultFragmentTransformer
in certain ways.Constructor and Description |
---|
DefaultFragmentTransformerFactoryImpl(List<ElementTransformer> defaultElementTransformers,
List<? extends FragmentTransformer> defaultFragmentTransformers,
XmlOutputFactory xmlFragmentOutputFactory,
XmlEventReaderFactory xmlEventReaderFactory,
FragmentTransformationErrorHandler fragmentTransformationErrorHandler,
com.atlassian.event.api.EventPublisher eventPublisher) |
Modifier and Type | Method and Description |
---|---|
DefaultFragmentTransformer |
createDefault() |
DefaultFragmentTransformer |
createWithCustomFragmentTransformers(List<? extends FragmentTransformer> additional)
Create a
DefaultFragmentTransformer with an extended set of FragmentTransformer s. |
public DefaultFragmentTransformerFactoryImpl(List<ElementTransformer> defaultElementTransformers, List<? extends FragmentTransformer> defaultFragmentTransformers, XmlOutputFactory xmlFragmentOutputFactory, XmlEventReaderFactory xmlEventReaderFactory, FragmentTransformationErrorHandler fragmentTransformationErrorHandler, com.atlassian.event.api.EventPublisher eventPublisher)
public DefaultFragmentTransformer createDefault()
createDefault
in interface DefaultFragmentTransformerFactory
public DefaultFragmentTransformer createWithCustomFragmentTransformers(List<? extends FragmentTransformer> additional)
DefaultFragmentTransformerFactory
DefaultFragmentTransformer
with an extended set of FragmentTransformer
s. You can specify additional FragmentTransformers to
be applied before the default one which effectively provides a mechanism to override the default FragmentTransformers
since once a Fragment has been transformed it will no longer match the default FragmentTransformer that may otherwise have applied.createWithCustomFragmentTransformers
in interface DefaultFragmentTransformerFactory
additional
- the List of FragmentTransformer to be applied before the default FragmentTransformers.Copyright © 2003–2019 Atlassian. All rights reserved.