package

com.atlassian.confluence.content.render.xhtml.migration

Interfaces

BatchableWorkSource<T> Source of migration work that can be broken up into batches. 
BatchTask<T> A BatchTask implementation is supplied to a WorkSourceBatchRunner to actually perform the required work on individual items read from the BatchableWorkSource
ContentDao

DAO to allow us to load content objects by id for migration. 

EmbeddedResourceResolver Interface to represent the concern of resolving of a v2 embedded resource into a persistent Attachment object. 
ExceptionThrowingMigrator

Migrates / converts text from one format to another. 

ExceptionTolerantMigrator

Migrates / converts text from one text format to another. 

LinkResolver Resolves wiki text to an xhtml link. 
MacroReplacementRenderer Generates a rendering that is to replace or override the default rendering of a macro to XHTML storage format. 
MacroReplacementRendererRepository Representing a component that maintains a list of MacroReplacementRenderer to be used during migration of macros. 
WikiToXhtmlSiteMigrator A component responsible for performing the conversion of wiki formatted content within Confluence to XHTML format. 

Classes

ColorMacroReplacementRenderer Converts the old style wiki color macro into an XHTML <span> elements (as used by TinyMCE). 
ColumnMacroReplacementRenderer  
ContentEntityObjectMigrationWorkSource Source that provides batches of ContentEntityObjects that require migration. 
DefaultContentDao  
DefaultEmbeddedResourceResolver  
DefaultMacroReplacementRendererRepository A MacroReplacementRendererRepository that looks up MacroReplacementRenderers based on the class of the macro to be replaced. 
DefaultWikiToXhtmlSiteMigrator  
ErrorReportingV2Renderer Extend the V2Render with a new method where a writeable List can be supplied to collect any exceptions thrown during renderering. 
HeadingBlockRenderer  
LatestVersionXhtmlContentWorkSource

A work source that provides batches of ContentEntityObjects that have XHTML formatted bodies. 

LazyLoadingMigrationRenderer Required to allow us to break a circular dependency of the subRenderer back to the renderer. 
NolinkMacroReplacementRenderer Converts the old style nolink or nl macro into an XHTML <span> elements  
QuoteMacroReplacementRenderer  
SectionMacroReplacementRenderer  
TestColorMacroReplacementRenderer Tests the migration of the old wiki color macro into an XHTML <span> elements (as used by TinyMCE). 
TestContentEntityObjectMigrationWorkSource  
TestDefaultMacroReplacementRendererRepository  
TestErrorReportingV2Renderer  
TestNolinkMacroReplacementRenderer  
TestWorkSourceBatchRunner  
TestXhtmlCamelCaseLinkMigrationRendererComponent  
TestXhtmlEmbeddedRendererComponent  
TestXhtmlEmbeddedResourceRenderer  
TestXhtmlLinkRendererComponent  
TestXhtmlMacroRendererComponent  
TestXhtmlMigrationLinkResolver  
UrlLinkMarshaller A Marshaller specifically used in handling links for UrlResourceIdentifier
UrlResourceIdentifier

URL based identifier. 

WikiToEditorHtmlMigrator Convert a wiki formatted String into Confluence Editor format HTML. 
WikiToXhtmlMigrator

Convert wiki formatted text to the XHTML format used for storage from Confluence 4.0. 

WorkSourceBatchRunner<T>

This class is typically the basis for upgrade or migration tasks that need to manipulate a large amount of content. 

XhtmlCamelCaseLinkMigrationRendererComponent Handles conversion of camelCase links to XHTML links during migration. 
XhtmlContentWorkSource

A work source that provides batches of ContentEntityObjects that have XHTML formatted bodies. 

XhtmlEmbeddedRendererComponent Migrate images and convert any other embedded types to the multimedia macro. 
XhtmlEmbeddedResourceRenderer  
XhtmlEmoticonRendererComponent A migration renderer component that will convert emoticon's in wiki format to the new Xhtml storage format. 
XhtmlLinkRendererComponent  
XhtmlMacroRendererComponent  
XhtmlMigrationLinkResolver Converts wiki link text to xhtml link objects for migration. 
XhtmlSpaceDescriptionsWorkSource

A work source that provides batches of SpaceDescriptions with BodyContent of type XHTML

This class is thread-safe. 

Exceptions

BatchException A composite exception that wraps a list of exceptions, useful for propagating list of exceptions that might have occurred during a batch task.