Uses of Class
com.atlassian.confluence.xhtml.api.MacroDefinition
Packages that use MacroDefinition
Package
Description
-
Uses of MacroDefinition in com.atlassian.confluence.content.render.xhtml
Methods in com.atlassian.confluence.content.render.xhtml that return MacroDefinitionModifier and TypeMethodDescriptionDefaultEditorFormatService.convertEditToMacroDefinition
(String editFragment, ConversionContext context) Methods in com.atlassian.confluence.content.render.xhtml with parameters of type MacroDefinitionModifier and TypeMethodDescriptionDefaultEditorFormatService.convertMacroDefinitionToEdit
(MacroDefinition macroDefinition, ConversionContext context) DefaultXhtmlContent.convertMacroDefinitionToStorage
(MacroDefinition macroDefinition, ConversionContext context) DefaultXhtmlContent.convertMacroDefinitionToView
(MacroDefinition macroDefinition, ConversionContext context) Constructor parameters in com.atlassian.confluence.content.render.xhtml with type arguments of type MacroDefinitionModifierConstructorDescriptionDefaultEditorFormatService
(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
Methods in com.atlassian.confluence.content.render.xhtml.editor.macro that return MacroDefinitionModifier and TypeMethodDescriptionEditorMacroUnmarshaller.unmarshal
(XMLEventReader reader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext) Methods in com.atlassian.confluence.content.render.xhtml.editor.macro with parameters of type MacroDefinitionModifier 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
Methods in com.atlassian.confluence.content.render.xhtml.macro that return types with arguments of type MacroDefinitionModifier and TypeMethodDescriptionMacroMarshallingFactoryImpl.getEditorMarshaller()
MacroMarshallingFactoryImpl.getEditorUnmarshaller()
MacroMarshallingFactoryImpl.getStorageMarshaller()
MacroMarshallingFactoryImpl.getStorageUnmarshaller()
MacroMarshallingFactoryImpl.getViewMarshaller()
Constructor parameters in com.atlassian.confluence.content.render.xhtml.macro with type arguments of type MacroDefinitionModifierConstructorDescriptionMacroMarshallingFactoryImpl
(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
Methods in com.atlassian.confluence.content.render.xhtml.migration with parameters of type MacroDefinitionModifier 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) Constructor parameters in com.atlassian.confluence.content.render.xhtml.migration with type arguments of type MacroDefinitionModifierConstructorDescriptionErrorReportingV2Renderer
(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
Constructor parameters in com.atlassian.confluence.content.render.xhtml.storage with type arguments of type MacroDefinitionModifierConstructorDescriptionDefaultContentTransformerFactory
(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
Methods in com.atlassian.confluence.content.render.xhtml.storage.macro that return MacroDefinitionModifier 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) Methods in com.atlassian.confluence.content.render.xhtml.storage.macro with parameters of type MacroDefinitionModifier 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
Methods in com.atlassian.confluence.content.render.xhtml.view.macro that return types with arguments of type MacroDefinitionModifier 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()
Methods in com.atlassian.confluence.content.render.xhtml.view.macro with parameters of type MacroDefinitionModifier 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.Method parameters in com.atlassian.confluence.content.render.xhtml.view.macro with type arguments of type MacroDefinitionModifier 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) Constructor parameters in com.atlassian.confluence.content.render.xhtml.view.macro with type arguments of type MacroDefinitionModifierConstructorDescriptionViewMacroMarshaller
(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
Methods in com.atlassian.confluence.diff.marshallers with parameters of type MacroDefinitionModifier and TypeMethodDescriptionDiffMacroMarshaller.marshal
(MacroDefinition macroDefinition, ConversionContext conversionContext) -
Uses of MacroDefinition in com.atlassian.confluence.impl.content.render.xhtml.editor.macro
Methods in com.atlassian.confluence.impl.content.render.xhtml.editor.macro with parameters of type MacroDefinitionModifier and TypeMethodDescriptionDelegatingEditorMacroMarshaller.marshal
(MacroDefinition macroDefinition, ConversionContext conversionContext) -
Uses of MacroDefinition in com.atlassian.confluence.impl.macro.schema
Methods in com.atlassian.confluence.impl.macro.schema that return MacroDefinitionModifier 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.Methods in com.atlassian.confluence.impl.macro.schema with parameters of type MacroDefinitionModifier 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.impl.threadlimiter.analyticsservice
Methods in com.atlassian.confluence.impl.threadlimiter.analyticsservice with parameters of type MacroDefinitionModifier and TypeMethodDescriptionlong
NoopThreadLimiterAnalyticsService.onMacroStartRendering
(MacroDefinition macroDefinition) long
ThreadLimiterAnalyticsService.onMacroStartRendering
(MacroDefinition macroDefinition) Is called when the macro rendering startslong
ThreadLimiterAnalyticsServiceImpl.onMacroStartRendering
(MacroDefinition macroDefinition) -
Uses of MacroDefinition in com.atlassian.confluence.internal.diagnostics
Constructors in com.atlassian.confluence.internal.diagnostics with parameters of type MacroDefinitionModifierConstructorDescriptionMacroRendering
(ConversionContext conversionContext, MacroDefinition macroDefinition, Macro macro) -
Uses of MacroDefinition in com.atlassian.confluence.macro
Methods in com.atlassian.confluence.macro that return MacroDefinitionModifier 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) Methods in com.atlassian.confluence.macro with parameters of type MacroDefinitionModifier and TypeMethodDescriptionMacroDefinitionRequestSerializer.serialize
(MacroDefinition macroDefinition) MacroDefinitionSerializer.serialize
(MacroDefinition macroDefinition) MacroDefinitionWikiMarkupSerializer.serialize
(MacroDefinition macroDefinition) -
Uses of MacroDefinition in com.atlassian.confluence.macro.count
Methods in com.atlassian.confluence.macro.count with parameters of type MacroDefinitionModifier 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
Methods in com.atlassian.confluence.macro.xhtml that return MacroDefinitionModifier 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) Methods in com.atlassian.confluence.macro.xhtml with parameters of type MacroDefinitionModifier 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
Methods in com.atlassian.confluence.util that return MacroDefinitionModifier and TypeMethodDescriptionExcerptHelper.getMacroDefinition
(ContentEntityObject contentEntityObject, String macroName) Gets the firstMacroDefinition
in the supplied (@code contentEntityObject}. -
Uses of MacroDefinition in com.atlassian.confluence.xhtml.api
Methods in com.atlassian.confluence.xhtml.api that return MacroDefinitionModifier 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.Methods in com.atlassian.confluence.xhtml.api with parameters of type MacroDefinitionModifier 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.Method parameters in com.atlassian.confluence.xhtml.api with type arguments of type MacroDefinitionModifier and TypeMethodDescriptionabstract Streamable
MacroDefinitionMarshallingStrategy.marshal
(MacroDefinition macroDefinition, ConversionContext conversionContext, Marshaller<MacroDefinition> macroDefinitionMarshaller) Convert the MacroDefinition to a string.Constructors in com.atlassian.confluence.xhtml.api with parameters of type MacroDefinition