Uses of Class
com.atlassian.confluence.xhtml.api.MacroDefinition
Package
Description
-
Uses of MacroDefinition in com.atlassian.confluence.content.render.xhtml
Modifier and TypeMethodDescriptionDefaultEditorFormatService.convertEditToMacroDefinition
(String editFragment, ConversionContext context) Modifier and TypeMethodDescriptionDefaultEditorFormatService.convertMacroDefinitionToEdit
(MacroDefinition macroDefinition, ConversionContext context) DefaultXhtmlContent.convertMacroDefinitionToStorage
(MacroDefinition macroDefinition, ConversionContext context) DefaultXhtmlContent.convertMacroDefinitionToView
(MacroDefinition macroDefinition, ConversionContext context) ModifierConstructorDescriptionDefaultEditorFormatService
(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) Deprecated.since 8.5.13DefaultEditorFormatService
(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) Deprecated.since 8.5.13DefaultEditorFormatService
(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, HtmlToXmlConverter htmlToXmlConverter) 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, HtmlToXmlConverter htmlToXmlConverter) 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) -
Uses of MacroDefinition in com.atlassian.confluence.content.render.xhtml.editor.macro
Modifier and TypeMethodDescriptionEditorMacroUnmarshaller.unmarshal
(XMLEventReader reader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext) Modifier and TypeMethodDescriptionprotected String
EditorBodilessMacroMarshaller.getCssClass
(MacroDefinition definition) protected String
EditorBodyMacroMarshaller.getCssClass
(MacroDefinition definition) protected String
EditorBodilessMacroMarshaller.getImageSource
(MacroDefinition definition) protected String
EditorBodyMacroMarshaller.getImageSource
(MacroDefinition definition) DefaultPlaceholderUrlFactory.getUrlForMacro
(MacroDefinition macroDefinition) PlaceholderUrlFactory.getUrlForMacro
(MacroDefinition macroDefinition) DefaultPlaceholderUrlFactory.getUrlForMacroHeading
(MacroDefinition macroDefinition) PlaceholderUrlFactory.getUrlForMacroHeading
(MacroDefinition macroDefinition) CustomImageEditorMacroMarshaller.marshal
(Macro macro, MacroDefinition macroDefinition, ConversionContext conversionContext) CustomPlaceholderEditorMarshaller.marshal
(Macro macro, MacroDefinition macroDefinition, ConversionContext conversionContext) EditorBodilessMacroMarshaller.marshal
(Macro macro, MacroDefinition macroDefinition, ConversionContext conversionContext) EditorBodyMacroMarshaller.marshal
(Macro macro, MacroDefinition macroDefinition, ConversionContext conversionContext) EditorMacroMarshaller.marshal
(MacroDefinition macroDefinition, ConversionContext conversionContext) ImprovedEditorUnknownMacroMarshaller.marshal
(Macro macro, MacroDefinition macroDefinition, ConversionContext conversionContext) MacroMarshaller.marshal
(Macro macro, MacroDefinition macroDefinition, ConversionContext conversionContext) Marshall the supplied macro.void
CommonMacroAttributeWriter.writeCommonAttributes
(MacroDefinition macroDefinition, XMLStreamWriter writer) -
Uses of MacroDefinition in com.atlassian.confluence.content.render.xhtml.macro
Modifier and TypeMethodDescriptionMacroMarshallingFactoryImpl.getEditorMarshaller()
MacroMarshallingFactoryImpl.getEditorUnmarshaller()
MacroMarshallingFactoryImpl.getStorageMarshaller()
MacroMarshallingFactoryImpl.getStorageUnmarshaller()
MacroMarshallingFactoryImpl.getViewMarshaller()
ModifierConstructorDescriptionMacroMarshallingFactoryImpl
(Marshaller<MacroDefinition> viewMarshaller, Marshaller<MacroDefinition> editorMarshaller, Marshaller<MacroDefinition> storageMarshaller, Unmarshaller<MacroDefinition> editorUnmarshaller, Unmarshaller<MacroDefinition> storageUnmarshaller) MacroMarshallingFactoryImpl
(Marshaller<MacroDefinition> viewMarshaller, Marshaller<MacroDefinition> editorMarshaller, Marshaller<MacroDefinition> storageMarshaller, Unmarshaller<MacroDefinition> editorUnmarshaller, Unmarshaller<MacroDefinition> storageUnmarshaller) -
Uses of MacroDefinition in com.atlassian.confluence.content.render.xhtml.migration
Modifier and TypeMethodDescriptionColorMacroReplacementRenderer.render
(MacroDefinition macro, com.atlassian.renderer.RenderContext renderContext) ColumnMacroReplacementRenderer.render
(MacroDefinition macro, com.atlassian.renderer.RenderContext renderContext) MacroReplacementRenderer.render
(MacroDefinition macro, com.atlassian.renderer.RenderContext renderContext) NolinkMacroReplacementRenderer.render
(MacroDefinition macro, com.atlassian.renderer.RenderContext renderContext) QuoteMacroReplacementRenderer.render
(MacroDefinition macro, com.atlassian.renderer.RenderContext renderContext) SectionMacroReplacementRenderer.render
(MacroDefinition macro, com.atlassian.renderer.RenderContext renderContext) ModifierConstructorDescriptionErrorReportingV2Renderer
(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) -
Uses of MacroDefinition in com.atlassian.confluence.content.render.xhtml.storage
ModifierConstructorDescriptionDefaultContentTransformerFactory
(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) -
Uses of MacroDefinition in com.atlassian.confluence.content.render.xhtml.storage.macro
Modifier and TypeMethodDescriptionDelegatingStorageMacroUnmarshaller.unmarshal
(XMLEventReader reader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext) StorageMacroV1Unmarshaller.unmarshal
(XMLEventReader reader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext) StorageMacroV2Unmarshaller.unmarshal
(XMLEventReader reader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext) Modifier and TypeMethodDescriptionDelegatingStorageMacroMarshaller.marshal
(MacroDefinition macroDefinition, ConversionContext conversionContext) Marshals the suppliedMacroDefinition
using either V1 or V2 macro storage format.StorageMacroV1Marshaller.marshal
(MacroDefinition macroDefinition, ConversionContext conversionContext) StorageMacroV2Marshaller.marshal
(MacroDefinition originalMacroDefinition, ConversionContext conversionContext) -
Uses of MacroDefinition in com.atlassian.confluence.content.render.xhtml.view.macro
Modifier and TypeMethodDescriptionViewMacroMarshallerFactory.newMacroMarshaller()
Get a new instance of the default view macro Marshaller.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.ViewMacroMarshallerFactoryImpl.newMacroMarshaller()
ViewMacroMarshallerFactoryImpl.newMacroMarshaller
(MacroManager macroManager, Marshaller<MacroDefinition> unknownMacroMarshaller, ViewMacroErrorPlaceholder viewMacroErrorPlaceholder) ViewMacroMarshallerFactory.newUnknownMacroMarshaller()
ViewMacroMarshallerFactoryImpl.newUnknownMacroMarshaller()
Modifier and TypeMethodDescriptionViewMacroErrorPlaceholder.create
(MacroDefinition macroDefinition, String errorMessage) ViewMacroErrorPlaceholderImpl.create
(MacroDefinition macroDefinition, String errorMessage) boolean
MacroAsyncRenderWhitelist.isAsyncRenderSafe
(MacroDefinition macroDefinition, Class<? extends Macro> macroClass) ViewMacroMarshaller.marshal
(MacroDefinition macroDefinition, ConversionContext conversionContext) ViewUnknownMacroMarshaller.marshal
(MacroDefinition macroDefinition, ConversionContext conversionContext) DefaultViewMacroWrapper.wrap
(ConversionContext context, Macro.OutputType outputType, String macroBody, MacroDefinition macroDefinition) ViewMacroWrapper.wrap
(ConversionContext context, Macro.OutputType outputType, String macroBody, MacroDefinition macroDefinition) Execute macro wrapping.default String
ViewMacroWrapper.wrap
(ConversionContext context, Macro.OutputType outputType, String macroBody, MacroDefinition macroDefinition, boolean wrap) Deprecated.Modifier and TypeMethodDescriptionViewMacroMarshallerFactory.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.ViewMacroMarshallerFactoryImpl.newMacroMarshaller
(MacroManager macroManager, Marshaller<MacroDefinition> unknownMacroMarshaller, ViewMacroErrorPlaceholder viewMacroErrorPlaceholder) ModifierConstructorDescriptionViewMacroMarshaller
(MacroManager macroManager, Marshaller<MacroDefinition> unknownMacroMarshaller, ViewMacroErrorPlaceholder viewMacroErrorPlaceholder, LegacyV2RendererContextInitialiser legacyV2RendererConfigurationPropertySetter, com.atlassian.event.api.EventPublisher eventPublisher, ConfluenceMonitoring monitoring, MacroAsyncRenderWhitelist macroAsyncRenderWhitelist, MacroMetadataManager macroMetadataManager, MacroSchemaMigrator macroSchemaMigrator, ViewMacroWrapper viewMacroWrapper, MacroRenderingMonitor macroRenderingMonitor) -
Uses of MacroDefinition in com.atlassian.confluence.diff.marshallers
Modifier and TypeMethodDescriptionDiffMacroMarshaller.marshal
(MacroDefinition macroDefinition, ConversionContext conversionContext) -
Uses of MacroDefinition in com.atlassian.confluence.impl.content.render.xhtml.editor.macro
Modifier and TypeMethodDescriptionDelegatingEditorMacroMarshaller.marshal
(MacroDefinition macroDefinition, ConversionContext conversionContext) -
Uses of MacroDefinition in com.atlassian.confluence.impl.macro.schema
Modifier and TypeMethodDescriptionDefaultMacroSchemaMigrator.migrateSchemaIfNecessary
(MacroDefinition macroDefinition, ConversionContext context) MacroSchemaMigrator.migrateSchemaIfNecessary
(MacroDefinition macroDefinition, ConversionContext context) Migrates the macro definition to the latest version of it's macro schema.Modifier and TypeMethodDescriptionDefaultMacroSchemaMigrator.migrateSchemaIfNecessary
(MacroDefinition macroDefinition, ConversionContext context) MacroSchemaMigrator.migrateSchemaIfNecessary
(MacroDefinition macroDefinition, ConversionContext context) Migrates the macro definition to the latest version of it's macro schema. -
Uses of MacroDefinition in com.atlassian.confluence.internal.diagnostics
ModifierConstructorDescriptionMacroRendering
(ConversionContext conversionContext, MacroDefinition macroDefinition, Macro macro) -
Uses of MacroDefinition in com.atlassian.confluence.macro
Modifier and TypeMethodDescriptionMacroDefinitionDeserializer.deserialize
(String serializedValue) MacroDefinitionRequestDeserializer.deserialize
(String serializedValue) MacroDefinitionWikiMarkupDeserializer.deserialize
(String serializedValue) MacroDefinitionDeserializer.deserializeWithTypedParameters
(String serializedValue, ConversionContext conversionContext) MacroDefinitionRequestDeserializer.deserializeWithTypedParameters
(String serializedValue, ConversionContext conversionContext) MacroDefinitionWikiMarkupDeserializer.deserializeWithTypedParameters
(String serializedValue, ConversionContext conversionContext) Modifier and TypeMethodDescriptionMacroDefinitionRequestSerializer.serialize
(MacroDefinition macroDefinition) MacroDefinitionSerializer.serialize
(MacroDefinition macroDefinition) MacroDefinitionWikiMarkupSerializer.serialize
(MacroDefinition macroDefinition) -
Uses of MacroDefinition in com.atlassian.confluence.macro.count
Modifier and TypeMethodDescriptionvoid
DefaultMacroCounter.addMacroUsage
(MacroDefinition macroDefinition, @Nullable Macro macro) void
MacroCounter.addMacroUsage
(MacroDefinition macroDefinition, @Nullable Macro macro) Record a single usage of the given macro.static @NonNull MacroMetricsKey
MacroMetricsKey.createFrom
(MacroDefinition macroDefinition, @Nullable Macro macro) -
Uses of MacroDefinition in com.atlassian.confluence.macro.xhtml
Modifier and TypeMethodDescriptionMacroMigration.migrate
(MacroDefinition macro, ConversionContext context) Migrates a wiki-markup representation of a macro to XHTMLPlainTextMacroMigration.migrate
(MacroDefinition macro, ConversionContext context) RichTextMacroMigration.migrate
(MacroDefinition macroDefinition, ConversionContext conversionContext) V2MacroToUnmigratedWikiMarkupMacroMigration.migrate
(MacroDefinition macroDefinition, ConversionContext conversionContext) Modifier and TypeMethodDescriptionMacroMigration.migrate
(MacroDefinition macro, ConversionContext context) Migrates a wiki-markup representation of a macro to XHTMLPlainTextMacroMigration.migrate
(MacroDefinition macro, ConversionContext context) RichTextMacroMigration.migrate
(MacroDefinition macroDefinition, ConversionContext conversionContext) V2MacroToUnmigratedWikiMarkupMacroMigration.migrate
(MacroDefinition macroDefinition, ConversionContext conversionContext) -
Uses of MacroDefinition in com.atlassian.confluence.util
Modifier and TypeMethodDescriptionExcerptHelper.getMacroDefinition
(ContentEntityObject contentEntityObject, String macroName) Gets the firstMacroDefinition
in the supplied (@code contentEntityObject}. -
Uses of MacroDefinition in com.atlassian.confluence.xhtml.api
Modifier and TypeMethodDescriptionMacroDefinitionBuilder.build()
EditorFormatService.convertEditToMacroDefinition
(String editFragment, ConversionContext context) Returns aMacroDefinition
from the suppliededitFragment
.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 TypeMethodDescriptionEditorFormatService.convertMacroDefinitionToEdit
(MacroDefinition macroDefinition, ConversionContext context) Returns an edit format fragment for the suppliedmacroDefinition
.XhtmlContent.convertMacroDefinitionToStorage
(MacroDefinition macroDefinition, ConversionContext context) Returns an storage format fragment for the suppliedmacroDefinition
.XhtmlContent.convertMacroDefinitionToView
(MacroDefinition macroDefinition, ConversionContext context) Returns a view format fragment for the suppliedmacroDefinition
.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.MacroDefinitionReplacer.replace
(MacroDefinition macroDefinition) Called each time a macro definition is found in the content, so that each definition may be replaced different content.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 TypeMethodDescriptionabstract Streamable
MacroDefinitionMarshallingStrategy.marshal
(MacroDefinition macroDefinition, ConversionContext conversionContext, Marshaller<MacroDefinition> macroDefinitionMarshaller) Convert the MacroDefinition to a string.