Modifier and Type | Method and Description |
---|---|
MacroDefinition |
DefaultEditorFormatService.convertEditToMacroDefinition(String editFragment,
ConversionContext context) |
Modifier and Type | Method and Description |
---|---|
String |
DefaultEditorFormatService.convertMacroDefinitionToEdit(MacroDefinition macroDefinition,
ConversionContext context) |
String |
DefaultXhtmlContent.convertMacroDefinitionToStorage(MacroDefinition macroDefinition,
ConversionContext context) |
String |
DefaultXhtmlContent.convertMacroDefinitionToView(MacroDefinition macroDefinition,
ConversionContext context) |
Constructor and Description |
---|
DefaultEditorFormatService(Marshaller<MacroDefinition> editorMacroMarshaller,
Marshaller<Link> editorLinkMarshaller,
Marshaller<EmbeddedImage> editorEmbeddedImageMarshaller,
Unmarshaller<MacroDefinition> editorMacroUnmarshaller,
Unmarshaller<Link> editorLinkUnmarshaller,
Unmarshaller<EmbeddedImage> editorEmbeddedImageUnmarshaller,
FragmentTransformer editorToStorageFragmentTransformer,
FragmentTransformer storageToEditorFragmentTransformer,
XmlEventReaderFactory xmlEventReaderFactory,
ExceptionThrowingMigrator wikiToEditorHtmlMigrator) |
DefaultEditorFormatService(Marshaller<MacroDefinition> editorMacroMarshaller,
Marshaller<Link> editorLinkMarshaller,
Marshaller<EmbeddedImage> editorEmbeddedImageMarshaller,
Unmarshaller<MacroDefinition> editorMacroUnmarshaller,
Unmarshaller<Link> editorLinkUnmarshaller,
Unmarshaller<EmbeddedImage> editorEmbeddedImageUnmarshaller,
FragmentTransformer editorToStorageFragmentTransformer,
FragmentTransformer storageToEditorFragmentTransformer,
XmlEventReaderFactory xmlEventReaderFactory,
ExceptionThrowingMigrator wikiToEditorHtmlMigrator) |
DefaultXhtmlContent(Marshaller<MacroDefinition> viewMacroMarshaller,
Marshaller<MacroDefinition> storageMacroMarshaller,
Marshaller<Link> viewLinkMarshaller,
Marshaller<Link> storageLinkMarshaller,
Marshaller<EmbeddedImage> viewEmbeddedImageMarshaller,
Marshaller<EmbeddedImage> storageEmbeddedImageMarshaller,
Marshaller<InlineTaskList> viewInlineTaskMarshaller,
Marshaller<InlineTaskList> storageInlineTaskMarshaller,
Renderer viewRenderer,
XmlEventReaderFactory xmlEventReaderFactory,
ContentTransformerFactory contentTransformerFactory,
ExceptionTolerantMigrator wikiToXhtmlMigrator) |
DefaultXhtmlContent(Marshaller<MacroDefinition> viewMacroMarshaller,
Marshaller<MacroDefinition> storageMacroMarshaller,
Marshaller<Link> viewLinkMarshaller,
Marshaller<Link> storageLinkMarshaller,
Marshaller<EmbeddedImage> viewEmbeddedImageMarshaller,
Marshaller<EmbeddedImage> storageEmbeddedImageMarshaller,
Marshaller<InlineTaskList> viewInlineTaskMarshaller,
Marshaller<InlineTaskList> storageInlineTaskMarshaller,
Renderer viewRenderer,
XmlEventReaderFactory xmlEventReaderFactory,
ContentTransformerFactory contentTransformerFactory,
ExceptionTolerantMigrator wikiToXhtmlMigrator) |
Modifier and Type | Method and Description |
---|---|
MacroDefinition |
EditorMacroUnmarshaller.unmarshal(XMLEventReader reader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
protected String |
EditorUnknownMacroMarshaller.getCssClass(MacroDefinition definition) |
protected String |
EditorBodyMacroMarshaller.getCssClass(MacroDefinition definition) |
protected String |
EditorBodilessMacroMarshaller.getCssClass(MacroDefinition definition) |
protected String |
EditorUnknownMacroMarshaller.getImageSource(MacroDefinition definition) |
protected String |
EditorBodilessMacroMarshaller.getImageSource(MacroDefinition definition) |
String |
PlaceholderUrlFactory.getUrlForMacro(MacroDefinition macroDefinition) |
String |
DefaultPlaceholderUrlFactory.getUrlForMacro(MacroDefinition macroDefinition) |
String |
PlaceholderUrlFactory.getUrlForMacroHeading(MacroDefinition macroDefinition) |
String |
DefaultPlaceholderUrlFactory.getUrlForMacroHeading(MacroDefinition macroDefinition) |
Streamable |
EditorMacroMarshaller.marshal(MacroDefinition macroDefinition,
ConversionContext conversionContext) |
Streamable |
MacroMarshaller.marshal(Macro macro,
MacroDefinition macroDefinition,
ConversionContext conversionContext)
Marshall the supplied macro.
|
Streamable |
EditorBodyMacroMarshaller.marshal(Macro macro,
MacroDefinition macroDefinition,
ConversionContext conversionContext) |
Streamable |
EditorBodilessMacroMarshaller.marshal(Macro macro,
MacroDefinition macroDefinition,
ConversionContext conversionContext) |
Streamable |
CustomPlaceholderEditorMarshaller.marshal(Macro macro,
MacroDefinition macroDefinition,
ConversionContext conversionContext) |
Streamable |
CustomImageEditorMacroMarshaller.marshal(Macro macro,
MacroDefinition macroDefinition,
ConversionContext conversionContext) |
void |
CommonMacroAttributeWriter.writeCommonAttributes(MacroDefinition macroDefinition,
XMLStreamWriter writer) |
Modifier and Type | Method and Description |
---|---|
Marshaller<MacroDefinition> |
MacroMarshallingFactoryImpl.getEditorMarshaller() |
Unmarshaller<MacroDefinition> |
MacroMarshallingFactoryImpl.getEditorUnmarshaller() |
Marshaller<MacroDefinition> |
MacroMarshallingFactoryImpl.getStorageMarshaller() |
Unmarshaller<MacroDefinition> |
MacroMarshallingFactoryImpl.getStorageUnmarshaller() |
Marshaller<MacroDefinition> |
MacroMarshallingFactoryImpl.getViewMarshaller() |
Modifier and Type | Method and Description |
---|---|
String |
SectionMacroReplacementRenderer.render(MacroDefinition macro,
com.atlassian.renderer.RenderContext renderContext) |
String |
QuoteMacroReplacementRenderer.render(MacroDefinition macro,
com.atlassian.renderer.RenderContext renderContext) |
String |
NolinkMacroReplacementRenderer.render(MacroDefinition macro,
com.atlassian.renderer.RenderContext renderContext) |
String |
MacroReplacementRenderer.render(MacroDefinition macro,
com.atlassian.renderer.RenderContext renderContext) |
String |
ColumnMacroReplacementRenderer.render(MacroDefinition macro,
com.atlassian.renderer.RenderContext renderContext) |
String |
ColorMacroReplacementRenderer.render(MacroDefinition macro,
com.atlassian.renderer.RenderContext renderContext) |
Constructor and Description |
---|
ErrorReportingV2Renderer(List<com.atlassian.renderer.v2.components.RendererComponent> components,
Marshaller<MacroDefinition> wikiMarkupMacroMarshaller) |
XhtmlEmbeddedRendererComponent(Marshaller<MacroDefinition> wikiMarkupMacroMarshaller,
MacroParameterTypeParser macroParameterTypeParser) |
XhtmlMacroRendererComponent(com.atlassian.renderer.v2.macro.MacroManager v2MacroManager,
MacroMigrationManager macroMigrationManager,
Marshaller<MacroDefinition> macroMarshaller,
MacroReplacementRendererRepository replacementRepository,
MacroDefinitionDeserializer macroDefinitionWikiMarkupDeserializer) |
Constructor and Description |
---|
DefaultContentTransformerFactory(Unmarshaller<MacroDefinition> macroDefinitionUnmarshaller,
Marshaller<MacroDefinition> macroDefinitionMarshaller,
XmlEventReaderFactory xmlEventReaderFactory,
XmlOutputFactory xmlOutputFactory,
com.atlassian.event.api.EventPublisher eventPublisher) |
DefaultContentTransformerFactory(Unmarshaller<MacroDefinition> macroDefinitionUnmarshaller,
Marshaller<MacroDefinition> macroDefinitionMarshaller,
XmlEventReaderFactory xmlEventReaderFactory,
XmlOutputFactory xmlOutputFactory,
com.atlassian.event.api.EventPublisher eventPublisher) |
Modifier and Type | Method and Description |
---|---|
MacroDefinition |
StorageMacroV2Unmarshaller.unmarshal(XMLEventReader reader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
MacroDefinition |
StorageMacroV1Unmarshaller.unmarshal(XMLEventReader reader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
MacroDefinition |
DelegatingStorageMacroUnmarshaller.unmarshal(XMLEventReader reader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
Streamable |
StorageMacroV2Marshaller.marshal(MacroDefinition originalMacroDefinition,
ConversionContext conversionContext) |
Streamable |
StorageMacroV1Marshaller.marshal(MacroDefinition macroDefinition,
ConversionContext conversionContext) |
Streamable |
DelegatingStorageMacroMarshaller.marshal(MacroDefinition macroDefinition,
ConversionContext conversionContext)
Marshals the supplied
MacroDefinition using either V1 or V2 macro storage format. |
Modifier and Type | Method and Description |
---|---|
Marshaller<MacroDefinition> |
ViewMacroMarshallerFactoryImpl.newMacroMarshaller() |
Marshaller<MacroDefinition> |
ViewMacroMarshallerFactory.newMacroMarshaller()
Get a new instance of the default view macro Marshaller.
|
Marshaller<MacroDefinition> |
ViewMacroMarshallerFactoryImpl.newMacroMarshaller(MacroManager macroManager,
Marshaller<MacroDefinition> unknownMacroMarshaller,
ViewMacroErrorPlaceholder viewMacroErrorPlaceholder) |
Marshaller<MacroDefinition> |
ViewMacroMarshallerFactory.newMacroMarshaller(MacroManager macroManager,
Marshaller<MacroDefinition> unknownMacroMarshaller,
ViewMacroErrorPlaceholder viewMacroErrorPlaceholder)
Get a new instance of a macro Marshaller which uses the supplied MacroManager, unknown macro Marshaller
and ViewMacroErrorPlaceholder.
|
Marshaller<MacroDefinition> |
ViewMacroMarshallerFactoryImpl.newUnknownMacroMarshaller() |
Marshaller<MacroDefinition> |
ViewMacroMarshallerFactory.newUnknownMacroMarshaller() |
Modifier and Type | Method and Description |
---|---|
String |
ViewMacroErrorPlaceholderImpl.create(MacroDefinition macroDefinition,
String errorMessage) |
String |
ViewMacroErrorPlaceholder.create(MacroDefinition macroDefinition,
String errorMessage) |
Streamable |
ViewMacroWrapper.executeWrapMacro(ConversionContext context,
Macro macro,
MarshallerMetricsCollector metricsCollector,
MacroDefinition macroDefinition,
Map<String,String> macroParameters)
Deprecated.
since 5.9.0. Please use `wrap` instead
|
Streamable |
DefaultViewMacroWrapper.executeWrapMacro(ConversionContext context,
Macro macro,
MarshallerMetricsCollector metricsCollector,
MacroDefinition macroDefinition,
Map<String,String> macroParameters) |
boolean |
MacroAsyncRenderWhitelist.isAsyncRenderSafe(MacroDefinition macroDefinition,
Class<? extends Macro> macroClass) |
Streamable |
ViewUnknownMacroMarshaller.marshal(MacroDefinition macroDefinition,
ConversionContext conversionContext) |
Streamable |
ViewMacroMarshaller.marshal(MacroDefinition macroDefinition,
ConversionContext conversionContext) |
String |
ViewMacroWrapper.wrap(ConversionContext context,
Macro.OutputType outputType,
String macroBody,
MacroDefinition macroDefinition,
boolean wrap) |
String |
DefaultViewMacroWrapper.wrap(ConversionContext context,
Macro.OutputType outputType,
String macroBody,
MacroDefinition macroDefinition,
boolean wrap) |
Modifier and Type | Method and Description |
---|---|
Marshaller<MacroDefinition> |
ViewMacroMarshallerFactoryImpl.newMacroMarshaller(MacroManager macroManager,
Marshaller<MacroDefinition> unknownMacroMarshaller,
ViewMacroErrorPlaceholder viewMacroErrorPlaceholder) |
Marshaller<MacroDefinition> |
ViewMacroMarshallerFactory.newMacroMarshaller(MacroManager macroManager,
Marshaller<MacroDefinition> unknownMacroMarshaller,
ViewMacroErrorPlaceholder viewMacroErrorPlaceholder)
Get a new instance of a macro Marshaller which uses the supplied MacroManager, unknown macro Marshaller
and ViewMacroErrorPlaceholder.
|
Constructor and Description |
---|
ViewMacroMarshaller(MacroManager macroManager,
Marshaller<MacroDefinition> unknownMacroMarshaller,
ViewMacroErrorPlaceholder viewMacroErrorPlaceholder,
LegacyV2RendererContextInitialiser legacyV2RendererConfigurationPropertySetter,
com.atlassian.event.api.EventPublisher eventPublisher,
ConfluenceMonitoring monitoring,
MacroAsyncRenderWhitelist macroAsyncRenderWhitelist,
MacroMetadataManager macroMetadataManager,
MacroSchemaMigrator macroSchemaMigrator,
DarkFeaturesManager darkFeaturesManager,
ViewMacroWrapper viewMacroWrapper,
ConfluenceBigPipeManager bigPipeManager,
BigPipeSettingsManager bigPipeSettingsManager) |
Modifier and Type | Method and Description |
---|---|
Streamable |
DiffMacroMarshaller.marshal(MacroDefinition macroDefinition,
ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
Streamable |
DelegatingEditorMacroMarshaller.marshal(MacroDefinition macroDefinition,
ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
MacroDefinition |
MacroSchemaMigrator.migrateSchemaIfNecessary(MacroDefinition macroDefinition,
ConversionContext context)
Migrates the macro definition to the latest version of it's macro schema.
|
MacroDefinition |
DefaultMacroSchemaMigrator.migrateSchemaIfNecessary(MacroDefinition macroDefinition,
ConversionContext context) |
Modifier and Type | Method and Description |
---|---|
MacroDefinition |
MacroSchemaMigrator.migrateSchemaIfNecessary(MacroDefinition macroDefinition,
ConversionContext context)
Migrates the macro definition to the latest version of it's macro schema.
|
MacroDefinition |
DefaultMacroSchemaMigrator.migrateSchemaIfNecessary(MacroDefinition macroDefinition,
ConversionContext context) |
Modifier and Type | Method and Description |
---|---|
ConfluenceBigPipeManager.ConfluenceBigPipe |
ConfluenceBigPipeManager.ConfluenceBigPipe.pushContent(String key,
MacroDefinition macroDefinition,
MacroMetadata macroMetadata,
Callable<String> callable)
Runs given callable in provided pool, and will return a json structure that includes the rendered content
and any scripts / css it depends on.
|
Modifier and Type | Method and Description |
---|---|
MacroDefinition |
MacroDefinitionWikiMarkupDeserializer.deserialize(String serializedValue) |
MacroDefinition |
MacroDefinitionRequestDeserializer.deserialize(String serializedValue) |
MacroDefinition |
MacroDefinitionDeserializer.deserialize(String serializedValue) |
MacroDefinition |
MacroDefinitionWikiMarkupDeserializer.deserializeWithTypedParameters(String serializedValue,
ConversionContext conversionContext) |
MacroDefinition |
MacroDefinitionRequestDeserializer.deserializeWithTypedParameters(String serializedValue,
ConversionContext conversionContext) |
MacroDefinition |
MacroDefinitionDeserializer.deserializeWithTypedParameters(String serializedValue,
ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
String |
MacroDefinitionWikiMarkupSerializer.serialize(MacroDefinition macroDefinition) |
String |
MacroDefinitionSerializer.serialize(MacroDefinition macroDefinition) |
String |
MacroDefinitionRequestSerializer.serialize(MacroDefinition macroDefinition) |
Modifier and Type | Method and Description |
---|---|
void |
MacroCounter.addMacroUsage(MacroDefinition macroDefinition,
Macro macro)
Record a single usage of the given macro.
|
void |
DefaultMacroCounter.addMacroUsage(MacroDefinition macroDefinition,
Macro macro) |
static MacroMetricsKey |
MacroMetricsKey.createFrom(MacroDefinition macroDefinition,
Macro macro) |
Modifier and Type | Method and Description |
---|---|
MacroDefinition |
V2MacroToUnmigratedWikiMarkupMacroMigration.migrate(MacroDefinition macroDefinition,
ConversionContext conversionContext) |
MacroDefinition |
RichTextMacroMigration.migrate(MacroDefinition macroDefinition,
ConversionContext conversionContext) |
MacroDefinition |
PlainTextMacroMigration.migrate(MacroDefinition macro,
ConversionContext context) |
MacroDefinition |
MacroMigration.migrate(MacroDefinition macro,
ConversionContext context)
Migrates a wiki-markup representation of a macro to XHTML
|
Modifier and Type | Method and Description |
---|---|
MacroDefinition |
V2MacroToUnmigratedWikiMarkupMacroMigration.migrate(MacroDefinition macroDefinition,
ConversionContext conversionContext) |
MacroDefinition |
RichTextMacroMigration.migrate(MacroDefinition macroDefinition,
ConversionContext conversionContext) |
MacroDefinition |
PlainTextMacroMigration.migrate(MacroDefinition macro,
ConversionContext context) |
MacroDefinition |
MacroMigration.migrate(MacroDefinition macro,
ConversionContext context)
Migrates a wiki-markup representation of a macro to XHTML
|
Modifier and Type | Method and Description |
---|---|
MacroDefinition |
SpaceJumpMacroMigrator.migrate(MacroDefinition macroDefinition,
ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
MacroDefinition |
SpaceJumpMacroMigrator.migrate(MacroDefinition macroDefinition,
ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
MacroDefinition |
ExcerptHelper.getMacroDefinition(ContentEntityObject contentEntityObject,
String macroName)
Gets the first
MacroDefinition in the supplied (@code contentEntityObject}. |
Modifier and Type | Method and Description |
---|---|
static String |
EditorFormatCreator.convert(MacroDefinition definition)
Create an editor formatted version of the supplied macro definition.
|
static String |
StorageFormatCreator.convert(MacroDefinition definition,
MacroMetadataManager macroMetadataManager)
Create a storage formatted representation of the supplied macro definition.
|
Modifier and Type | Method and Description |
---|---|
MacroDefinition |
MacroDefinitionBuilder.build() |
MacroDefinition |
EditorFormatService.convertEditToMacroDefinition(String editFragment,
ConversionContext context)
Returns a
MacroDefinition from the supplied editFragment . |
MacroDefinition |
MacroDefinitionUpdater.update(MacroDefinition macroDefinition)
Called each time a macro definition is found in the content so that each definition may be modified or
replaced by another definition.
|
Modifier and Type | Method and Description |
---|---|
String |
EditorFormatService.convertMacroDefinitionToEdit(MacroDefinition macroDefinition,
ConversionContext context)
Returns an edit format fragment for the supplied
macroDefinition . |
String |
XhtmlContent.convertMacroDefinitionToStorage(MacroDefinition macroDefinition,
ConversionContext context)
Returns an storage format fragment for the supplied
macroDefinition . |
String |
XhtmlContent.convertMacroDefinitionToView(MacroDefinition macroDefinition,
ConversionContext context)
Returns a view format fragment for the supplied
macroDefinition . |
void |
MacroDefinitionHandler.handle(MacroDefinition macroDefinition)
Called each time a macro definition is found in the content.
|
abstract Streamable |
MacroDefinitionMarshallingStrategy.marshal(MacroDefinition macroDefinition,
ConversionContext conversionContext,
Marshaller<MacroDefinition> macroDefinitionMarshaller)
Convert the MacroDefinition to a string.
|
String |
MacroDefinitionReplacer.replace(MacroDefinition macroDefinition)
Called each time a macro definition is found in the content, so that each definition may be replaced
different content.
|
MacroDefinition |
MacroDefinitionUpdater.update(MacroDefinition macroDefinition)
Called each time a macro definition is found in the content so that each definition may be modified or
replaced by another definition.
|
Modifier and Type | Method and Description |
---|---|
abstract Streamable |
MacroDefinitionMarshallingStrategy.marshal(MacroDefinition macroDefinition,
ConversionContext conversionContext,
Marshaller<MacroDefinition> macroDefinitionMarshaller)
Convert the MacroDefinition to a string.
|
Constructor and Description |
---|
MacroDefinition(MacroDefinition macroDefinition)
Copy constructor.
|
Modifier and Type | Method and Description |
---|---|
MacroDefinition |
ParameterMacroMigrator.migrate(MacroDefinition macro,
ConversionContext context) |
MacroDefinition |
ExceptionThrowingMacroMigrator.migrate(MacroDefinition macro,
ConversionContext context) |
Modifier and Type | Method and Description |
---|---|
MacroDefinition |
ParameterMacroMigrator.migrate(MacroDefinition macro,
ConversionContext context) |
MacroDefinition |
ExceptionThrowingMacroMigrator.migrate(MacroDefinition macro,
ConversionContext context) |
Copyright © 2003–2016 Atlassian. All rights reserved.