Uses of Class
com.atlassian.confluence.xhtml.api.MacroDefinition
-
-
Uses of MacroDefinition in com.atlassian.confluence.content.render.xhtml
Methods in com.atlassian.confluence.content.render.xhtml that return MacroDefinition Modifier and Type Method Description MacroDefinitionDefaultEditorFormatService. convertEditToMacroDefinition(String editFragment, ConversionContext context)Methods in com.atlassian.confluence.content.render.xhtml with parameters of type MacroDefinition Modifier and Type Method Description StringDefaultEditorFormatService. convertMacroDefinitionToEdit(MacroDefinition macroDefinition, ConversionContext context)StringDefaultXhtmlContent. convertMacroDefinitionToStorage(MacroDefinition macroDefinition, ConversionContext context)StringDefaultXhtmlContent. convertMacroDefinitionToView(MacroDefinition macroDefinition, ConversionContext context)Constructor parameters in com.atlassian.confluence.content.render.xhtml with type arguments of type MacroDefinition Constructor 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) -
Uses of MacroDefinition in com.atlassian.confluence.content.render.xhtml.editor.macro
Methods in com.atlassian.confluence.content.render.xhtml.editor.macro that return MacroDefinition Modifier and Type Method Description MacroDefinitionEditorMacroUnmarshaller. unmarshal(XMLEventReader reader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)Methods in com.atlassian.confluence.content.render.xhtml.editor.macro with parameters of type MacroDefinition Modifier and Type Method Description protected StringEditorBodilessMacroMarshaller. getCssClass(MacroDefinition definition)protected StringEditorBodyMacroMarshaller. getCssClass(MacroDefinition definition)protected StringEditorBodilessMacroMarshaller. getImageSource(MacroDefinition definition)protected StringEditorBodyMacroMarshaller. getImageSource(MacroDefinition definition)StringDefaultPlaceholderUrlFactory. getUrlForMacro(MacroDefinition macroDefinition)StringPlaceholderUrlFactory. getUrlForMacro(MacroDefinition macroDefinition)StringDefaultPlaceholderUrlFactory. getUrlForMacroHeading(MacroDefinition macroDefinition)StringPlaceholderUrlFactory. getUrlForMacroHeading(MacroDefinition macroDefinition)StreamableCustomImageEditorMacroMarshaller. marshal(Macro macro, MacroDefinition macroDefinition, ConversionContext conversionContext)StreamableCustomPlaceholderEditorMarshaller. marshal(Macro macro, MacroDefinition macroDefinition, ConversionContext conversionContext)StreamableEditorBodilessMacroMarshaller. marshal(Macro macro, MacroDefinition macroDefinition, ConversionContext conversionContext)StreamableEditorBodyMacroMarshaller. marshal(Macro macro, MacroDefinition macroDefinition, ConversionContext conversionContext)StreamableEditorMacroMarshaller. marshal(MacroDefinition macroDefinition, ConversionContext conversionContext)StreamableImprovedEditorUnknownMacroMarshaller. marshal(Macro macro, MacroDefinition macroDefinition, ConversionContext conversionContext)StreamableMacroMarshaller. marshal(Macro macro, MacroDefinition macroDefinition, ConversionContext conversionContext)Marshall the supplied macro.voidCommonMacroAttributeWriter. 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 MacroDefinition Modifier and Type Method Description Marshaller<MacroDefinition>MacroMarshallingFactoryImpl. getEditorMarshaller()Unmarshaller<MacroDefinition>MacroMarshallingFactoryImpl. getEditorUnmarshaller()Marshaller<MacroDefinition>MacroMarshallingFactoryImpl. getStorageMarshaller()Unmarshaller<MacroDefinition>MacroMarshallingFactoryImpl. getStorageUnmarshaller()Marshaller<MacroDefinition>MacroMarshallingFactoryImpl. getViewMarshaller()Constructor parameters in com.atlassian.confluence.content.render.xhtml.macro with type arguments of type MacroDefinition Constructor Description MacroMarshallingFactoryImpl(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 MacroDefinition Modifier and Type Method Description StringColorMacroReplacementRenderer. render(MacroDefinition macro, com.atlassian.renderer.RenderContext renderContext)StringColumnMacroReplacementRenderer. render(MacroDefinition macro, com.atlassian.renderer.RenderContext renderContext)StringMacroReplacementRenderer. render(MacroDefinition macro, com.atlassian.renderer.RenderContext renderContext)StringNolinkMacroReplacementRenderer. render(MacroDefinition macro, com.atlassian.renderer.RenderContext renderContext)StringQuoteMacroReplacementRenderer. render(MacroDefinition macro, com.atlassian.renderer.RenderContext renderContext)StringSectionMacroReplacementRenderer. render(MacroDefinition macro, com.atlassian.renderer.RenderContext renderContext)Constructor parameters in com.atlassian.confluence.content.render.xhtml.migration with type arguments of type MacroDefinition Constructor 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) -
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 MacroDefinition Constructor 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) -
Uses of MacroDefinition in com.atlassian.confluence.content.render.xhtml.storage.macro
Methods in com.atlassian.confluence.content.render.xhtml.storage.macro that return MacroDefinition Modifier and Type Method Description MacroDefinitionDelegatingStorageMacroUnmarshaller. unmarshal(XMLEventReader reader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)MacroDefinitionStorageMacroV1Unmarshaller. unmarshal(XMLEventReader reader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)MacroDefinitionStorageMacroV2Unmarshaller. unmarshal(XMLEventReader reader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)Methods in com.atlassian.confluence.content.render.xhtml.storage.macro with parameters of type MacroDefinition Modifier and Type Method Description StreamableDelegatingStorageMacroMarshaller. marshal(MacroDefinition macroDefinition, ConversionContext conversionContext)Marshals the suppliedMacroDefinitionusing either V1 or V2 macro storage format.StreamableStorageMacroV1Marshaller. marshal(MacroDefinition macroDefinition, ConversionContext conversionContext)StreamableStorageMacroV2Marshaller. 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 MacroDefinition Modifier and Type Method Description Marshaller<MacroDefinition>ViewMacroMarshallerFactory. newMacroMarshaller()Get a new instance of the default view macro Marshaller.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. newMacroMarshaller()Marshaller<MacroDefinition>ViewMacroMarshallerFactoryImpl. newMacroMarshaller(MacroManager macroManager, Marshaller<MacroDefinition> unknownMacroMarshaller, ViewMacroErrorPlaceholder viewMacroErrorPlaceholder)Marshaller<MacroDefinition>ViewMacroMarshallerFactory. newUnknownMacroMarshaller()Marshaller<MacroDefinition>ViewMacroMarshallerFactoryImpl. newUnknownMacroMarshaller()Methods in com.atlassian.confluence.content.render.xhtml.view.macro with parameters of type MacroDefinition Modifier and Type Method Description StringViewMacroErrorPlaceholder. create(MacroDefinition macroDefinition, String errorMessage)StringViewMacroErrorPlaceholderImpl. create(MacroDefinition macroDefinition, String errorMessage)booleanMacroAsyncRenderWhitelist. isAsyncRenderSafe(MacroDefinition macroDefinition, Class<? extends Macro> macroClass)StreamableViewMacroMarshaller. marshal(MacroDefinition macroDefinition, ConversionContext conversionContext)StreamableViewUnknownMacroMarshaller. marshal(MacroDefinition macroDefinition, ConversionContext conversionContext)StringDefaultViewMacroWrapper. wrap(ConversionContext context, Macro.OutputType outputType, String macroBody, MacroDefinition macroDefinition)StringViewMacroWrapper. wrap(ConversionContext context, Macro.OutputType outputType, String macroBody, MacroDefinition macroDefinition)Execute macro wrapping.default StringViewMacroWrapper. 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 MacroDefinition Modifier and Type Method Description 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. newMacroMarshaller(MacroManager macroManager, Marshaller<MacroDefinition> unknownMacroMarshaller, ViewMacroErrorPlaceholder viewMacroErrorPlaceholder)Constructor parameters in com.atlassian.confluence.content.render.xhtml.view.macro with type arguments of type MacroDefinition Constructor 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, ViewMacroWrapper viewMacroWrapper, MacroRenderingMonitor macroRenderingMonitor) -
Uses of MacroDefinition in com.atlassian.confluence.diff.marshallers
Methods in com.atlassian.confluence.diff.marshallers with parameters of type MacroDefinition Modifier and Type Method Description StreamableDiffMacroMarshaller. 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 MacroDefinition Modifier and Type Method Description StreamableDelegatingEditorMacroMarshaller. 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 MacroDefinition Modifier and Type Method Description MacroDefinitionDefaultMacroSchemaMigrator. migrateSchemaIfNecessary(MacroDefinition macroDefinition, ConversionContext context)MacroDefinitionMacroSchemaMigrator. 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 MacroDefinition Modifier and Type Method Description MacroDefinitionDefaultMacroSchemaMigrator. migrateSchemaIfNecessary(MacroDefinition macroDefinition, ConversionContext context)MacroDefinitionMacroSchemaMigrator. 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
Constructors in com.atlassian.confluence.internal.diagnostics with parameters of type MacroDefinition Constructor Description MacroRendering(ConversionContext conversionContext, MacroDefinition macroDefinition, Macro macro) -
Uses of MacroDefinition in com.atlassian.confluence.macro
Methods in com.atlassian.confluence.macro that return MacroDefinition Modifier and Type Method Description MacroDefinitionMacroDefinitionDeserializer. deserialize(String serializedValue)MacroDefinitionMacroDefinitionRequestDeserializer. deserialize(String serializedValue)MacroDefinitionMacroDefinitionWikiMarkupDeserializer. deserialize(String serializedValue)MacroDefinitionMacroDefinitionDeserializer. deserializeWithTypedParameters(String serializedValue, ConversionContext conversionContext)MacroDefinitionMacroDefinitionRequestDeserializer. deserializeWithTypedParameters(String serializedValue, ConversionContext conversionContext)MacroDefinitionMacroDefinitionWikiMarkupDeserializer. deserializeWithTypedParameters(String serializedValue, ConversionContext conversionContext)Methods in com.atlassian.confluence.macro with parameters of type MacroDefinition Modifier and Type Method Description StringMacroDefinitionRequestSerializer. serialize(MacroDefinition macroDefinition)StringMacroDefinitionSerializer. serialize(MacroDefinition macroDefinition)StringMacroDefinitionWikiMarkupSerializer. serialize(MacroDefinition macroDefinition) -
Uses of MacroDefinition in com.atlassian.confluence.macro.count
Methods in com.atlassian.confluence.macro.count with parameters of type MacroDefinition Modifier and Type Method Description voidDefaultMacroCounter. addMacroUsage(MacroDefinition macroDefinition, @Nullable Macro macro)voidMacroCounter. addMacroUsage(MacroDefinition macroDefinition, @Nullable Macro macro)Record a single usage of the given macro.static @NonNull MacroMetricsKeyMacroMetricsKey. createFrom(MacroDefinition macroDefinition, @Nullable Macro macro) -
Uses of MacroDefinition in com.atlassian.confluence.macro.xhtml
Methods in com.atlassian.confluence.macro.xhtml that return MacroDefinition Modifier and Type Method Description MacroDefinitionMacroMigration. migrate(MacroDefinition macro, ConversionContext context)Migrates a wiki-markup representation of a macro to XHTMLMacroDefinitionPlainTextMacroMigration. migrate(MacroDefinition macro, ConversionContext context)MacroDefinitionRichTextMacroMigration. migrate(MacroDefinition macroDefinition, ConversionContext conversionContext)MacroDefinitionV2MacroToUnmigratedWikiMarkupMacroMigration. migrate(MacroDefinition macroDefinition, ConversionContext conversionContext)Methods in com.atlassian.confluence.macro.xhtml with parameters of type MacroDefinition Modifier and Type Method Description MacroDefinitionMacroMigration. migrate(MacroDefinition macro, ConversionContext context)Migrates a wiki-markup representation of a macro to XHTMLMacroDefinitionPlainTextMacroMigration. migrate(MacroDefinition macro, ConversionContext context)MacroDefinitionRichTextMacroMigration. migrate(MacroDefinition macroDefinition, ConversionContext conversionContext)MacroDefinitionV2MacroToUnmigratedWikiMarkupMacroMigration. migrate(MacroDefinition macroDefinition, ConversionContext conversionContext) -
Uses of MacroDefinition in com.atlassian.confluence.util
Methods in com.atlassian.confluence.util that return MacroDefinition Modifier and Type Method Description MacroDefinitionExcerptHelper. getMacroDefinition(ContentEntityObject contentEntityObject, String macroName)Gets the firstMacroDefinitionin the supplied (@code contentEntityObject}. -
Uses of MacroDefinition in com.atlassian.confluence.xhtml.api
Methods in com.atlassian.confluence.xhtml.api that return MacroDefinition Modifier and Type Method Description MacroDefinitionMacroDefinitionBuilder. build()MacroDefinitionEditorFormatService. convertEditToMacroDefinition(String editFragment, ConversionContext context)Returns aMacroDefinitionfrom the suppliededitFragment.MacroDefinitionMacroDefinitionUpdater. 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 MacroDefinition Modifier and Type Method Description StringEditorFormatService. convertMacroDefinitionToEdit(MacroDefinition macroDefinition, ConversionContext context)Returns an edit format fragment for the suppliedmacroDefinition.StringXhtmlContent. convertMacroDefinitionToStorage(MacroDefinition macroDefinition, ConversionContext context)Returns an storage format fragment for the suppliedmacroDefinition.StringXhtmlContent. convertMacroDefinitionToView(MacroDefinition macroDefinition, ConversionContext context)Returns a view format fragment for the suppliedmacroDefinition.voidMacroDefinitionHandler. handle(MacroDefinition macroDefinition)Called each time a macro definition is found in the content.abstract StreamableMacroDefinitionMarshallingStrategy. marshal(MacroDefinition macroDefinition, ConversionContext conversionContext, Marshaller<MacroDefinition> macroDefinitionMarshaller)Convert the MacroDefinition to a string.StringMacroDefinitionReplacer. replace(MacroDefinition macroDefinition)Called each time a macro definition is found in the content, so that each definition may be replaced different content.MacroDefinitionMacroDefinitionUpdater. 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 MacroDefinition Modifier and Type Method Description abstract StreamableMacroDefinitionMarshallingStrategy. 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 Constructor Description MacroDefinition(MacroDefinition macroDefinition)Copy constructor.
-