public class DelegatingMigrationAwareFragmentTransformer extends Object implements MigrationAware, FragmentTransformer
MigrationAware and FragmentTransformer.MigrationAware.MigrationPerformedPredicate| Constructor and Description |
|---|
DelegatingMigrationAwareFragmentTransformer(FragmentTransformer fragmentTransformer,
MigrationAware migrationAware) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
handles(StartElement startElementEvent,
ConversionContext conversionContext) |
Streamable |
transform(XMLEventReader reader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
boolean |
wasMigrationPerformed(ConversionContext conversionContext)
Given a
ConversionContext that was previously used to perform a migration, determine if that context
contains information that indicates whether a "migration" was performed. |
public DelegatingMigrationAwareFragmentTransformer(FragmentTransformer fragmentTransformer, MigrationAware migrationAware)
public boolean wasMigrationPerformed(ConversionContext conversionContext)
MigrationAwareConversionContext that was previously used to perform a migration, determine if that context
contains information that indicates whether a "migration" was performed. What constitutes a migration is
implementation-dependent.wasMigrationPerformed in interface MigrationAwareconversionContext - the context used for the migrationpublic boolean handles(StartElement startElementEvent, ConversionContext conversionContext)
handles in interface FragmentTransformerpublic Streamable transform(XMLEventReader reader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext) throws XhtmlException
transform in interface FragmentTransformerXhtmlExceptionCopyright © 2003–2019 Atlassian. All rights reserved.