public class XhtmlRoundTripMigrator extends AbstractExceptionTolerantMigrator
ExceptionTolerantMigrator.MigrationResult
Constructor and Description |
---|
XhtmlRoundTripMigrator(FragmentTransformer storageRoundTripFragmentTransformer,
XmlEventReaderFactory xmlEventReaderFactory,
com.google.common.base.Predicate<ConversionContext> migrationPerformedPredicate) |
Modifier and Type | Method and Description |
---|---|
static XhtmlRoundTripMigrator |
createMigratorWithMigrationAwareTransformer(FragmentTransformer storageRoundTripFragmentTransformer,
XmlEventReaderFactory xmlEventReaderFactory) |
ExceptionTolerantMigrator.MigrationResult |
migrate(String inputStorageFormat,
ConversionContext conversionContext)
Migrate the supplied content.
|
migrate
public XhtmlRoundTripMigrator(FragmentTransformer storageRoundTripFragmentTransformer, XmlEventReaderFactory xmlEventReaderFactory, com.google.common.base.Predicate<ConversionContext> migrationPerformedPredicate)
public static XhtmlRoundTripMigrator createMigratorWithMigrationAwareTransformer(FragmentTransformer storageRoundTripFragmentTransformer, XmlEventReaderFactory xmlEventReaderFactory)
public ExceptionTolerantMigrator.MigrationResult migrate(String inputStorageFormat, ConversionContext conversionContext)
ExceptionTolerantMigrator
inputStorageFormat
- the comtent to be migratedconversionContext
- the context to be applied for this migrationExceptionTolerantMigrator.MigrationResult
containing the migrated content (if any), as well as indications of failures.Copyright © 2003–2018 Atlassian. All rights reserved.