Uses of Interface
com.atlassian.confluence.content.render.xhtml.ConversionContext
-
-
Uses of ConversionContext in com.atlassian.confluence.content.render.xhtml
Classes in com.atlassian.confluence.content.render.xhtml that implement ConversionContext Modifier and Type Class Description class
DefaultConversionContext
A non-thread safe implementation of the ConversionContext suitable for use in the single threaded XHTML output process.Methods in com.atlassian.confluence.content.render.xhtml that return ConversionContext Modifier and Type Method Description ConversionContext
BatchedRenderRequest. getContext()
Methods in com.atlassian.confluence.content.render.xhtml with parameters of type ConversionContext Modifier and Type Method Description String
PolicyConfiguredCleaner. cleanQuietly(String unclean, ConversionContext context)
String
StorageFormatCleaner. cleanQuietly(String unclean, ConversionContext context)
Deprecated.since 5.1, useStorageFormatCleaner.cleanQuietly(String)
String
XhtmlCleaner. cleanQuietly(String unclean, ConversionContext context)
Deprecated.since 5.1, useXhtmlCleaner.cleanQuietly(String)
EmbeddedImage
DefaultEditorFormatService. convertEditToEmbeddedImage(String editFragment, ConversionContext context)
Link
DefaultEditorFormatService. convertEditToLink(String editFragment, ConversionContext context)
MacroDefinition
DefaultEditorFormatService. convertEditToMacroDefinition(String editFragment, ConversionContext context)
String
DefaultEditorFormatService. convertEditToStorage(String editFragment, ConversionContext context)
String
DefaultEditorFormatService. convertEmbeddedImageToEdit(EmbeddedImage embeddedImage, ConversionContext context)
String
DefaultXhtmlContent. convertEmbeddedImageToStorage(EmbeddedImage embeddedImage, ConversionContext context)
String
DefaultXhtmlContent. convertEmbeddedImageToView(EmbeddedImage embeddedImage, ConversionContext context)
String
DefaultXhtmlContent. convertInlineTaskListToStorage(InlineTaskList inlineTaskList, ConversionContext context)
String
DefaultXhtmlContent. convertInlineTaskListToView(InlineTaskList inlineTaskList, ConversionContext context)
String
DefaultEditorFormatService. convertLinkToEdit(Link link, ConversionContext context)
String
DefaultXhtmlContent. convertLinkToStorage(Link link, ConversionContext context)
String
DefaultXhtmlContent. convertLinkToView(Link link, ConversionContext context)
String
DefaultEditorFormatService. convertMacroDefinitionToEdit(MacroDefinition macroDefinition, ConversionContext context)
String
DefaultXhtmlContent. convertMacroDefinitionToStorage(MacroDefinition macroDefinition, ConversionContext context)
String
DefaultXhtmlContent. convertMacroDefinitionToView(MacroDefinition macroDefinition, ConversionContext context)
String
DefaultEditorFormatService. convertStorageToEdit(String storageFragment, ConversionContext context)
String
DefaultXhtmlContent. convertStorageToView(String storageFragment, ConversionContext context)
String
DefaultEditorFormatService. convertWikiToEdit(String wikiContent, ConversionContext context)
String
DefaultXhtmlContent. convertWikiToStorage(String wikiContent, ConversionContext context, List<RuntimeException> migrationExceptions)
String
DefaultXhtmlContent. convertWikiToView(String wikiContent, ConversionContext context, List<RuntimeException> migrationExceptions)
protected ResourceIdentifier
DelegatingLinkMarshaller. getResourceIdentifier(Link link, ConversionContext conversionContext)
void
DefaultXhtmlContent. handleMacroDefinitions(String storageFragment, ConversionContext context, MacroDefinitionHandler handler)
void
DefaultXhtmlContent. handleMacroDefinitions(String storageFragment, ConversionContext context, MacroDefinitionHandler handler, MacroDefinitionMarshallingStrategy strategy)
boolean
MarshallingFragmentTransformer. handles(StartElement startElementEvent, ConversionContext conversionContext)
boolean
Unmarshaller. handles(StartElement startElementEvent, ConversionContext conversionContext)
Determines whether or not this unmarshaller should be applied to a fragment with the specified start element.boolean
UnmarshalMarshalFragmentTransformer. handles(StartElement startElementEvent, ConversionContext conversionContext)
void
DefaultXhtmlContent. handleXhtmlElements(String storageFragment, ConversionContext context, List<? extends XhtmlVisitor> visitors)
Streamable
DelegatingLinkMarshaller. marshal(Link link, ConversionContext conversionContext)
Streamable
Marshaller. marshal(T object, ConversionContext conversionContext)
Marshals an object to XML.void
StaxStreamMarshaller. marshal(T object, XMLStreamWriter xmlStreamWriter, ConversionContext context)
void
DummyRenderingEventPublisher. publish(Object src, ConversionContext conversionContext)
void
RenderingEventPublisher. publish(Object src, ConversionContext conversionContext)
Processes the ConversionContext to publish relevant events.String
DefaultLinkRenderer. render(ContentEntityObject content, ConversionContext conversionContext)
String
DefaultLinkRenderer. render(ContentEntityObject content, String linkAlias, ConversionContext conversionContext)
String
DefaultRenderer. render(ContentEntityObject contentEntityObject, ConversionContext conversionContext)
String
DefaultRenderer. render(String content, ConversionContext conversionContext)
String
DeviceTypeAwareRenderer. render(ContentEntityObject content, ConversionContext conversionContext)
String
DeviceTypeAwareRenderer. render(String xml, ConversionContext conversionContext)
String
LinkRenderer. render(ContentEntityObject content, ConversionContext conversionContext)
Renders link to specified content using the display name of the content as the link body.String
LinkRenderer. render(ContentEntityObject content, String linkAlias, ConversionContext conversionContext)
Renders link to specified content with specified alias.String
Renderer. render(ContentEntityObject content, ConversionContext conversionContext)
String
Renderer. render(String xml, ConversionContext conversionContext)
RenderResult
DefaultRenderer. renderWithResult(String content, ConversionContext conversionContext)
RenderResult
DeviceTypeAwareRenderer. renderWithResult(String xml, ConversionContext conversionContext)
RenderResult
Renderer. renderWithResult(String xml, ConversionContext conversionContext)
String
DefaultXhtmlContent. replaceMacroDefinitionsWithString(String storageFragment, ConversionContext context, MacroDefinitionReplacer replacer)
Streamable
MarshallingFragmentTransformer. transform(XMLEventReader reader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
String
PluggableTransformerChain. transform(Reader input, ConversionContext conversionContext)
String
TransformerChain. transform(Reader input, ConversionContext conversionContext)
Streamable
UnmarshalMarshalFragmentTransformer. transform(XMLEventReader reader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
T
Unmarshaller. unmarshal(XMLEventReader xmlEventReader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
Unmarshalls a StAX event stream to an object.String
DefaultXhtmlContent. updateMacroDefinitions(String storageFragment, ConversionContext context, MacroDefinitionUpdater updater)
Constructors in com.atlassian.confluence.content.render.xhtml with parameters of type ConversionContext Constructor Description BatchedRenderRequest(ConversionContext context, List<String> storageFragments)
-
Uses of ConversionContext in com.atlassian.confluence.content.render.xhtml.compatibility
Methods in com.atlassian.confluence.content.render.xhtml.compatibility that return ConversionContext Modifier and Type Method Description ConversionContext
DefaultLegacyV2RendererContextInitialiser. initialise(ConversionContext conversionContext)
ConversionContext
LegacyV2RendererContextInitialiser. initialise(ConversionContext conversionContext)
Methods in com.atlassian.confluence.content.render.xhtml.compatibility with parameters of type ConversionContext Modifier and Type Method Description ConversionContext
DefaultLegacyV2RendererContextInitialiser. initialise(ConversionContext conversionContext)
ConversionContext
LegacyV2RendererContextInitialiser. initialise(ConversionContext conversionContext)
String
BodyTypeAwareRenderer. render(ContentEntityObject content, ConversionContext conversionContext)
Produces an appropriate rendering of the specified content depending on itsBodyType
.String
BodyTypeAwareRenderer. render(String xml, ConversionContext conversionContext)
RenderResult
BodyTypeAwareRenderer. renderWithResult(String xml, ConversionContext conversionContext)
-
Uses of ConversionContext in com.atlassian.confluence.content.render.xhtml.editor
Methods in com.atlassian.confluence.content.render.xhtml.editor with parameters of type ConversionContext Modifier and Type Method Description String
DefaultEditorConverter. convert(String editorFormat, ConversionContext conversionContext)
String
EditorConverter. convert(String editorFormat, ConversionContext conversionContext)
boolean
EditorErrorFragmentTransformer. handles(StartElement startElementEvent, ConversionContext conversionContext)
Streamable
EditorErrorFragmentTransformer. transform(XMLEventReader reader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
String
EditorXhtmlTransformer. transform(Reader editorFormatXml, ConversionContext conversionContext)
Begin consuming events from the supplied Reader, ignore all elements until the body is encountered, at which point the fragment transformation begins. -
Uses of ConversionContext in com.atlassian.confluence.content.render.xhtml.editor.embed
Methods in com.atlassian.confluence.content.render.xhtml.editor.embed with parameters of type ConversionContext Modifier and Type Method Description boolean
EditorEmbeddedImageResourceUnmarshaller. handles(StartElement startElementEvent, ConversionContext conversionContext)
Streamable
EditorUnidentifiedAttachmentMarshaller. marshalPlaceholder(XmlStreamWriterTemplate xmlStreamWriterTemplate, EmbeddedImage embeddedImage, AttachmentResourceIdentifier attachmentResourceIdentifier, ConversionContext conversionContext)
EmbeddedImage
EditorEmbeddedImageResourceUnmarshaller. unmarshal(XMLEventReader xmlEventReader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
void
EditorEmbeddedImageTitleWriter. writeEmbeddedImageTag(XMLStreamWriter xmlStreamWriter, Writer underlyingWriter, Attachment attachment, String imageSource, String thumbnailSource, EmbeddedImage embeddedImage, ConversionContext conversionContext)
-
Uses of ConversionContext in com.atlassian.confluence.content.render.xhtml.editor.inline
Methods in com.atlassian.confluence.content.render.xhtml.editor.inline with parameters of type ConversionContext Modifier and Type Method Description boolean
EditorEmoticonUnmarshaller. handles(StartElement startElementEvent, ConversionContext conversionContext)
Streamable
EditorEmoticonMarshaller. marshal(Emoticon emoticon, ConversionContext conversionContext)
Emoticon
EditorEmoticonUnmarshaller. unmarshal(XMLEventReader xmlEventReader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
-
Uses of ConversionContext in com.atlassian.confluence.content.render.xhtml.editor.inlinecommentmarker
Methods in com.atlassian.confluence.content.render.xhtml.editor.inlinecommentmarker with parameters of type ConversionContext Modifier and Type Method Description boolean
EditorInlineCommentMarkerUnmarshaller. handles(StartElement startElementEvent, ConversionContext conversionContext)
InlineCommentMarker
EditorInlineCommentMarkerUnmarshaller. unmarshal(XMLEventReader xmlEventReader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
-
Uses of ConversionContext in com.atlassian.confluence.content.render.xhtml.editor.link
Methods in com.atlassian.confluence.content.render.xhtml.editor.link with parameters of type ConversionContext Modifier and Type Method Description boolean
EditorLinkBodyUnmarshaller. handles(StartElement startElementEvent, ConversionContext conversionContext)
This unmarshaller needs to be applied intelligently on a reader with the actual body of a link.boolean
EditorLinkUnmarshaller. handles(StartElement startElementEvent, ConversionContext conversionContext)
void
AttachmentStaxStreamMarshaller. marshal(Attachment attachment, XMLStreamWriter xmlStreamWriter, ConversionContext context)
void
EditorLinkMarshallingStrategy. marshal(Link link, XMLStreamWriter xmlStreamWriter, ConversionContext context)
LinkBody
EditorLinkBodyUnmarshaller. unmarshal(XMLEventReader linkFragmentReader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
Link
EditorLinkUnmarshaller. unmarshal(XMLEventReader reader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
protected void
EditorUnresolvedLinkMarshaller. writeAdditionalAttributes(UnresolvedLink unresolvedLink, XMLStreamWriter xmlStreamWriter, Marshaller<Link> unresolvedLinkBodyMarshaller, ConversionContext conversionContext)
-
Uses of ConversionContext in com.atlassian.confluence.content.render.xhtml.editor.macro
Methods in com.atlassian.confluence.content.render.xhtml.editor.macro with parameters of type ConversionContext Modifier and Type Method Description boolean
EditorMacroUnmarshaller. handles(StartElement startElement, ConversionContext conversionContext)
Streamable
CustomImageEditorMacroMarshaller. marshal(Macro macro, MacroDefinition macroDefinition, ConversionContext conversionContext)
Streamable
CustomPlaceholderEditorMarshaller. marshal(Macro macro, MacroDefinition macroDefinition, ConversionContext conversionContext)
Streamable
EditorBodilessMacroMarshaller. marshal(Macro macro, MacroDefinition macroDefinition, ConversionContext conversionContext)
Streamable
EditorBodyMacroMarshaller. marshal(Macro macro, MacroDefinition macroDefinition, ConversionContext conversionContext)
Streamable
EditorMacroMarshaller. marshal(MacroDefinition macroDefinition, ConversionContext conversionContext)
Streamable
ImprovedEditorUnknownMacroMarshaller. marshal(Macro macro, MacroDefinition macroDefinition, ConversionContext conversionContext)
Streamable
MacroMarshaller. marshal(Macro macro, MacroDefinition macroDefinition, ConversionContext conversionContext)
Marshall the supplied macro.Object
MacroParameterTypeParser. parseMacroParameter(String macroName, String parameterName, String untypedValue, Map<String,String> untypedParameters, ConversionContext conversionContext)
Object
MacroParameterTypeParserImpl. parseMacroParameter(String macroName, String parameterName, String untypedValue, Map<String,String> untypedParameters, ConversionContext conversionContext)
Map<String,Object>
MacroParameterTypeParser. parseMacroParameters(String macroName, Map<String,String> untypedParameters, ConversionContext conversionContext)
Given raw macro parameter types, this converts them to the appropriate kind of object.Map<String,Object>
MacroParameterTypeParserImpl. parseMacroParameters(String macroName, Map<String,String> untypedParameters, ConversionContext conversionContext)
MacroDefinition
EditorMacroUnmarshaller. unmarshal(XMLEventReader reader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
-
Uses of ConversionContext in com.atlassian.confluence.content.render.xhtml.editor.pagelayouts
Methods in com.atlassian.confluence.content.render.xhtml.editor.pagelayouts with parameters of type ConversionContext Modifier and Type Method Description boolean
EditorPageLayoutUnMarshaller. handles(StartElement startElement, ConversionContext conversionContext)
PageLayout
EditorPageLayoutUnMarshaller. unmarshal(XMLEventReader xmlEventReader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
-
Uses of ConversionContext in com.atlassian.confluence.content.render.xhtml.editor.placeholder
Methods in com.atlassian.confluence.content.render.xhtml.editor.placeholder with parameters of type ConversionContext Modifier and Type Method Description boolean
EditorPlaceholderUnmarshaller. handles(StartElement startElement, ConversionContext conversionContext)
Streamable
EditorPlaceholderMarshaller. marshal(Placeholder placeholder, ConversionContext conversionContext)
Placeholder
EditorPlaceholderUnmarshaller. unmarshal(XMLEventReader reader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
-
Uses of ConversionContext in com.atlassian.confluence.content.render.xhtml.editor.resource.identifiers
Methods in com.atlassian.confluence.content.render.xhtml.editor.resource.identifiers with parameters of type ConversionContext Modifier and Type Method Description boolean
EditorAttachmentResourceIdentifierMarshallerAndUnmarshaller. handles(StartElement startElementEvent, ConversionContext conversionContext)
boolean
EditorBlogPostResourceIdentifierMarshallerAndUnmarshaller. handles(StartElement startElementEvent, ConversionContext conversionContext)
boolean
EditorIdAndTypeResourceIdentifierUnmarshaller. handles(StartElement startElementEvent, ConversionContext conversionContext)
boolean
EditorPageResourceIdentifierMarshallerAndUnmarshaller. handles(StartElement startElementEvent, ConversionContext conversionContext)
boolean
EditorShortcutResourceIdentifierMarshallerAndUnmarshaller. handles(StartElement startElementEvent, ConversionContext conversionContext)
boolean
EditorSpaceResourceIdentifierMarshallerAndUnmarshaller. handles(StartElement startElementEvent, ConversionContext conversionContext)
boolean
EditorUserResourceIdentifierMarshallerAndUnmarshaller. handles(StartElement startElementEvent, ConversionContext conversionContext)
boolean
IdAndTypeAnalyzingResourceIdentifierUnmarshaller. handles(StartElement startElementEvent, ConversionContext conversionContext)
void
DelegatingEditorResourceIdentifierMarshaller. marshal(ResourceIdentifier resourceIdentifier, XMLStreamWriter xmlStreamWriter, ConversionContext context)
void
EditorAttachmentResourceIdentifierMarshallerAndUnmarshaller. marshal(AttachmentResourceIdentifier attachmentResourceIdentifier, XMLStreamWriter xmlStreamWriter, ConversionContext context)
void
EditorBlogPostResourceIdentifierMarshallerAndUnmarshaller. marshal(BlogPostResourceIdentifier blogPostResourceIdentifier, XMLStreamWriter xmlStreamWriter, ConversionContext context)
void
EditorPageResourceIdentifierMarshallerAndUnmarshaller. marshal(PageResourceIdentifier pageResourceIdentifier, XMLStreamWriter xmlStreamWriter, ConversionContext context)
void
EditorShortcutResourceIdentifierMarshallerAndUnmarshaller. marshal(ShortcutResourceIdentifier shortcutResourceIdentifier, XMLStreamWriter xmlStreamWriter, ConversionContext context)
void
EditorSpaceResourceIdentifierMarshallerAndUnmarshaller. marshal(SpaceResourceIdentifier spaceResourceIdentifier, XMLStreamWriter xmlStreamWriter, ConversionContext context)
void
EditorUserResourceIdentifierMarshallerAndUnmarshaller. marshal(UserResourceIdentifier userResourceIdentifier, XMLStreamWriter xmlStreamWriter, ConversionContext context)
ResourceIdentifier
EditorAttachmentResourceIdentifierMarshallerAndUnmarshaller. unmarshal(XMLEventReader xmlEventReader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
ResourceIdentifier
EditorBlogPostResourceIdentifierMarshallerAndUnmarshaller. unmarshal(XMLEventReader xmlEventReader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
IdAndTypeResourceIdentifier
EditorIdAndTypeResourceIdentifierUnmarshaller. unmarshal(XMLEventReader xmlEventReader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
ResourceIdentifier
EditorPageResourceIdentifierMarshallerAndUnmarshaller. unmarshal(XMLEventReader xmlEventReader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
ResourceIdentifier
EditorShortcutResourceIdentifierMarshallerAndUnmarshaller. unmarshal(XMLEventReader xmlEventReader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
ResourceIdentifier
EditorSpaceResourceIdentifierMarshallerAndUnmarshaller. unmarshal(XMLEventReader xmlEventReader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
ResourceIdentifier
EditorUserResourceIdentifierMarshallerAndUnmarshaller. unmarshal(XMLEventReader xmlEventReader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
ResourceIdentifier
IdAndTypeAnalyzingResourceIdentifierUnmarshaller. unmarshal(XMLEventReader xmlEventReader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
-
Uses of ConversionContext in com.atlassian.confluence.content.render.xhtml.editor.time
Methods in com.atlassian.confluence.content.render.xhtml.editor.time with parameters of type ConversionContext Modifier and Type Method Description boolean
EditorTimeUnmarshaller. handles(StartElement startElementEvent, ConversionContext conversionContext)
Time
EditorTimeUnmarshaller. unmarshal(XMLEventReader reader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
-
Uses of ConversionContext in com.atlassian.confluence.content.render.xhtml.image
Methods in com.atlassian.confluence.content.render.xhtml.image with parameters of type ConversionContext Modifier and Type Method Description boolean
ImageLinkEmoticonUnmarshaller. handles(StartElement startElementEvent, ConversionContext conversionContext)
Handle elements with the "emoticon" class and the emoticon-[type] attribute where [type] is a valid Confluence emoticonEmoticon
ImageLinkEmoticonUnmarshaller. unmarshal(XMLEventReader xmlEventReader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
-
Uses of ConversionContext in com.atlassian.confluence.content.render.xhtml.links
Methods in com.atlassian.confluence.content.render.xhtml.links with parameters of type ConversionContext Modifier and Type Method Description String
AbsoluteHrefEvaluator. createHref(ConversionContext context, Object object, String anchor)
String
DefaultHrefEvaluator. createHref(ConversionContext context, Object destination, String anchor)
String
HrefEvaluator. createHref(ConversionContext context, Object object, String anchor)
Create the appropriate href attribute value for the supplied ConversionContext.String
HtmlExportHrefEvaluator. createHref(ConversionContext context, WebLink link, String anchor)
String
HtmlExportHrefEvaluator. createHref(ConversionContext context, Attachment attachment, String anchor)
String
HtmlExportHrefEvaluator. createHref(ConversionContext context, Page page, String anchor)
String
HtmlExportHrefEvaluator. createHref(ConversionContext context, Object entity, String anchor)
Attachments and Pages may well exist in the export so look for them as a special case.String
OutputTypeAwareHrefEvaluator. createHref(ConversionContext context, Object entity, String anchor)
-
Uses of ConversionContext in com.atlassian.confluence.content.render.xhtml.migration
Methods in com.atlassian.confluence.content.render.xhtml.migration with parameters of type ConversionContext Modifier and Type Method Description boolean
MigrationAware.MigrationPerformedPredicate. apply(ConversionContext conversionContext)
boolean
DelegatingMigrationAwareFragmentTransformer. handles(StartElement startElementEvent, ConversionContext conversionContext)
Streamable
UrlLinkMarshaller. marshal(Link link, ConversionContext conversionContext)
ExceptionTolerantMigrator.MigrationResult
ExceptionTolerantMigrator. migrate(String input, ConversionContext conversionContext)
Migrate the supplied content.ExceptionTolerantMigrator.MigrationResult
WikiToXhtmlMigrator. migrate(String wiki, ConversionContext conversionContext)
ExceptionTolerantMigrator.MigrationResult
XhtmlRoundTripMigrator. migrate(String inputStorageFormat, ConversionContext conversionContext)
Streamable
DelegatingMigrationAwareFragmentTransformer. transform(XMLEventReader reader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
boolean
DelegatingMigrationAwareFragmentTransformer. wasMigrationPerformed(ConversionContext conversionContext)
boolean
MigrationAware. wasMigrationPerformed(ConversionContext conversionContext)
Given aConversionContext
that was previously used to perform a migration, determine if that context contains information that indicates whether a "migration" was performed.Constructor parameters in com.atlassian.confluence.content.render.xhtml.migration with type arguments of type ConversionContext Constructor Description XhtmlRoundTripMigrator(FragmentTransformer storageRoundTripFragmentTransformer, XmlEventReaderFactory xmlEventReaderFactory, com.google.common.base.Predicate<ConversionContext> migrationPerformedPredicate)
-
Uses of ConversionContext in com.atlassian.confluence.content.render.xhtml.model.resource.identifiers
Methods in com.atlassian.confluence.content.render.xhtml.model.resource.identifiers with parameters of type ConversionContext Modifier and Type Method Description ResourceIdentifier
DefaultResourceIdentifierFactory. getResourceIdentifier(Object resource, ConversionContext context)
ResourceIdentifier
ResourceIdentifierFactory. getResourceIdentifier(Object resource, ConversionContext context)
Creates a resource identifier for the specified resource.ContentEntityObject
AttachmentOwningContentResolver. resolve(AttachmentResourceIdentifier resourceIdentifier, ConversionContext conversionContext)
URI
AttachmentResourceIdentifierOnlyUriResolver. resolve(AttachmentResourceIdentifier resourceIdentifier, ConversionContext conversionContext)
Attachment
AttachmentResourceIdentifierResolver. resolve(AttachmentResourceIdentifier attachmentResourceIdentifier, ConversionContext conversionContext)
BlogPost
BlogPostResourceIdentifierResolver. resolve(BlogPostResourceIdentifier blogResourceIdentifier, ConversionContext conversionContext)
ContentEntityObject
ContentEntityResourceIdentifierResolver. resolve(ContentEntityResourceIdentifier resourceIdentifier, ConversionContext conversionContext)
Draft
DraftResourceIdentifierResolver. resolve(DraftResourceIdentifier resourceIdentifier, ConversionContext conversionContext)
Object
IdAndTypeResourceIdentifierResolver. resolve(IdAndTypeResourceIdentifier resourceIdentifier, ConversionContext conversionContext)
Page
PageResourceIdentifierResolver. resolve(PageResourceIdentifier pageResourceIdentifier, ConversionContext conversionContext)
PageTemplate
PageTemplateResourceIdentifierResolver. resolve(PageTemplateResourceIdentifier resourceIdentifier, ConversionContext conversionContext)
Y
ResourceIdentifierResolver. resolve(X resourceIdentifier, ConversionContext conversionContext)
Space
SpaceResourceIdentifierResolver. resolve(SpaceResourceIdentifier resourceIdentifier, ConversionContext conversionContext)
Resolves a SpaceResourceIdentifier to a Space if a Space for the given spacekey exists. -
Uses of ConversionContext in com.atlassian.confluence.content.render.xhtml.storage
Methods in com.atlassian.confluence.content.render.xhtml.storage with parameters of type ConversionContext Modifier and Type Method Description void
MacroDefinitionTransformer. handleMacroDefinitions(String storageFragment, ConversionContext context, MacroDefinitionHandler handler)
Perform an operation onMacroDefinition
s in the suppliedstorageFragment
without making changes to the storage representation.void
MacroDefinitionTransformer. handleMacroDefinitions(String storageFragment, ConversionContext context, MacroDefinitionHandler handler, MacroDefinitionMarshallingStrategy strategy)
Perform an operation onMacroDefinition
s in the suppliedstorageFragment
, with optional changes to the storage representation defined by theMacroDefinitionMarshallingStrategy
.String
MacroDefinitionTransformer. replaceMacroDefinitionsWithString(String storageFragment, ConversionContext context, MacroDefinitionReplacer replacer)
ReplacesMacroDefinition
s in the suppliedstorageFragment
with a String.String
StorageXhtmlTransformer. transform(Reader storage, ConversionContext conversionContext)
Begin parsing the supplied Reader, ignore all elements until the body is encountered, at which point "ComponentParsing" begins.String
MacroDefinitionTransformer. updateMacroDefinitions(String storageFragment, ConversionContext context, MacroDefinitionUpdater updater)
UpdatesMacroDefinition
s in the suppliedstorageFragment
. -
Uses of ConversionContext in com.atlassian.confluence.content.render.xhtml.storage.embed
Methods in com.atlassian.confluence.content.render.xhtml.storage.embed with parameters of type ConversionContext Modifier and Type Method Description boolean
StorageEmbeddedImageUnmarshaller. handles(StartElement startElementEvent, ConversionContext conversionContext)
Streamable
StorageEmbeddedImageMarshaller. marshal(EmbeddedImage embeddedImage, ConversionContext conversionContext)
EmbeddedImage
StorageEmbeddedImageUnmarshaller. unmarshal(XMLEventReader xmlEventReader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
-
Uses of ConversionContext in com.atlassian.confluence.content.render.xhtml.storage.inline
Methods in com.atlassian.confluence.content.render.xhtml.storage.inline with parameters of type ConversionContext Modifier and Type Method Description boolean
StorageEmoticonUnmarshaller. handles(StartElement startElementEvent, ConversionContext conversionContext)
Streamable
StorageEmoticonMarshaller. marshal(Emoticon emoticon, ConversionContext conversionContext)
Emoticon
StorageEmoticonUnmarshaller. unmarshal(XMLEventReader xmlEventReader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
-
Uses of ConversionContext in com.atlassian.confluence.content.render.xhtml.storage.inlinecommentmarker
Methods in com.atlassian.confluence.content.render.xhtml.storage.inlinecommentmarker with parameters of type ConversionContext Modifier and Type Method Description boolean
StorageInlineCommentMarkerUnmarshaller. handles(StartElement startElementEvent, ConversionContext conversionContext)
Streamable
StorageInlineCommentMarkerMarshaller. marshal(InlineCommentMarker inlineCommentMarker, ConversionContext conversionContext)
InlineCommentMarker
StorageInlineCommentMarkerUnmarshaller. unmarshal(XMLEventReader xmlEventReader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
-
Uses of ConversionContext in com.atlassian.confluence.content.render.xhtml.storage.inlinetask
Methods in com.atlassian.confluence.content.render.xhtml.storage.inlinetask with parameters of type ConversionContext Modifier and Type Method Description boolean
StorageInlineTaskUnmarshaller. handles(StartElement startElementEvent, ConversionContext conversionContext)
Streamable
StorageInlineTaskMarshaller. marshal(InlineTaskList inlineTaskList, ConversionContext conversionContext)
protected Streamable
StorageInlineTaskUnmarshaller. processTaskTitle(XMLEventReader reader, FragmentTransformer fragmentTransformer, ConversionContext conversionContext)
InlineTaskList
StorageInlineTaskUnmarshaller. unmarshal(XMLEventReader xmlEventReader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
-
Uses of ConversionContext in com.atlassian.confluence.content.render.xhtml.storage.link
Methods in com.atlassian.confluence.content.render.xhtml.storage.link with parameters of type ConversionContext Modifier and Type Method Description boolean
StorageLinkUnmarshaller. handles(StartElement startElementEvent, ConversionContext conversionContext)
boolean
StoragePlainTextLinkBodyUnmarshaller. handles(StartElement startElementEvent, ConversionContext conversionContext)
boolean
StorageRichTextLinkBodyUnmarshaller. handles(StartElement startElementEvent, ConversionContext conversionContext)
Streamable
StorageLinkBodyMarshaller. marshal(LinkBody<?> linkBody, ConversionContext conversionContext)
Streamable
StorageLinkMarshaller. marshal(Link link, ConversionContext conversionContext)
Link
StorageLinkUnmarshaller. unmarshal(XMLEventReader linkReader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
PlainTextLinkBody
StoragePlainTextLinkBodyUnmarshaller. unmarshal(XMLEventReader reader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
Implementation Note: In actual use this Unmarshaller will be operating on a 'storage reader'.LinkBody
StorageRichTextLinkBodyUnmarshaller. unmarshal(XMLEventReader reader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
-
Uses of ConversionContext in com.atlassian.confluence.content.render.xhtml.storage.macro
Methods in com.atlassian.confluence.content.render.xhtml.storage.macro with parameters of type ConversionContext Modifier and Type Method Description MacroBody
DefaultStorageMacroBodyParser. getMacroBody(String macroName, XMLEventReader bodyReader, ConversionContext context, FragmentTransformer transformer)
MacroBody
StorageMacroBodyParser. getMacroBody(String macroName, XMLEventReader bodyReader, ConversionContext context, FragmentTransformer transformer)
Extract the MacroBody from the current position in the XMLEventReader.boolean
DelegatingStorageMacroUnmarshaller. handles(StartElement startElementEvent, ConversionContext conversionContext)
boolean
StorageMacroV1Unmarshaller. handles(StartElement startElementEvent, ConversionContext conversionContext)
boolean
StorageMacroV2Unmarshaller. handles(StartElement startElementEvent, ConversionContext conversionContext)
Streamable
DelegatingStorageMacroMarshaller. marshal(MacroDefinition macroDefinition, ConversionContext conversionContext)
Marshals the suppliedMacroDefinition
using either V1 or V2 macro storage format.Streamable
StorageMacroV1Marshaller. marshal(MacroDefinition macroDefinition, ConversionContext conversionContext)
Streamable
StorageMacroV2Marshaller. marshal(MacroDefinition originalMacroDefinition, ConversionContext conversionContext)
MacroDefinition
DelegatingStorageMacroUnmarshaller. unmarshal(XMLEventReader reader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
MacroDefinition
StorageMacroV1Unmarshaller. unmarshal(XMLEventReader reader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
MacroDefinition
StorageMacroV2Unmarshaller. unmarshal(XMLEventReader reader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
boolean
DelegatingStorageMacroMarshaller. wasMigrationPerformed(ConversionContext conversionContext)
-
Uses of ConversionContext in com.atlassian.confluence.content.render.xhtml.storage.macro.inlinebody
Methods in com.atlassian.confluence.content.render.xhtml.storage.macro.inlinebody with parameters of type ConversionContext Modifier and Type Method Description String
InlineBodyMacroFixingTransformer. transform(Reader input, ConversionContext conversionContext)
-
Uses of ConversionContext in com.atlassian.confluence.content.render.xhtml.storage.pagelayouts
Methods in com.atlassian.confluence.content.render.xhtml.storage.pagelayouts with parameters of type ConversionContext Modifier and Type Method Description boolean
StorageLegacyPageLayoutUnMarshaller. handles(StartElement startElement, ConversionContext conversionContext)
boolean
StoragePageLayoutUnMarshaller. handles(StartElement startElementEvent, ConversionContext conversionContext)
Streamable
StoragePageLayoutMarshaller. marshal(PageLayout pagelayout, ConversionContext conversionContext)
PageLayout
StorageLegacyPageLayoutUnMarshaller. unmarshal(XMLEventReader xmlEventReader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
PageLayout
StoragePageLayoutUnMarshaller. unmarshal(XMLEventReader reader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
-
Uses of ConversionContext in com.atlassian.confluence.content.render.xhtml.storage.placeholder
Methods in com.atlassian.confluence.content.render.xhtml.storage.placeholder with parameters of type ConversionContext Modifier and Type Method Description boolean
StoragePlaceholderUnmarshaller. handles(StartElement startElementEvent, ConversionContext conversionContext)
Streamable
StoragePlaceholderMarshaller. marshal(Placeholder placeholder, ConversionContext conversionContext)
Placeholder
StoragePlaceholderUnmarshaller. unmarshal(XMLEventReader reader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
-
Uses of ConversionContext in com.atlassian.confluence.content.render.xhtml.storage.resource.identifiers
Methods in com.atlassian.confluence.content.render.xhtml.storage.resource.identifiers with parameters of type ConversionContext Modifier and Type Method Description boolean
DelegatingResourceIdentifierUnmarshaller. handles(StartElement startElementEvent, ConversionContext conversionContext)
boolean
StorageResourceIdentifierUnmarshaller. handles(StartElement startElementEvent, ConversionContext conversionContext)
boolean
StorageUserResourceIdentifierUnmarshaller. handles(StartElement startElementEvent, ConversionContext conversionContext)
Streamable
DelegatingResourceIdentifierMarshaller. marshal(ResourceIdentifier resourceIdentifier, ConversionContext conversionContext)
Streamable
MakeRelativeAndDelegateResourceIdentifierMarshaller. marshal(ResourceIdentifier resourceId, ConversionContext conversionContext)
Streamable
StorageAttachmentResourceIdentifierMarshaller. marshal(AttachmentResourceIdentifier attachmentResourceIdentifier, ConversionContext conversionContext)
Streamable
StorageBlogPostResourceIdentifierMarshaller. marshal(BlogPostResourceIdentifier resourceIdentifier, ConversionContext conversionContext)
Marshal the provided resource identifier.Streamable
StorageContentEntityResourceIdentifierMarshaller. marshal(ContentEntityResourceIdentifier contentEntityResourceIdentifier, ConversionContext conversionContext)
Streamable
StoragePageResourceIdentifierMarshaller. marshal(PageResourceIdentifier pageResourceIdentifier, ConversionContext conversionContext)
Marshal the provided resource identifier.Streamable
StorageShortcutResourceIdentifierMarshaller. marshal(ShortcutResourceIdentifier shortcutResourceIdentifier, ConversionContext conversionContext)
Streamable
StorageSpaceResourceIdentifierMarshaller. marshal(SpaceResourceIdentifier spaceResourceIdentifier, ConversionContext conversionContext)
Streamable
StorageUrlResourceIdentifierMarshaller. marshal(UrlResourceIdentifier urlResourceIdentifier, ConversionContext conversionContext)
Streamable
StorageUserResourceIdentifierMarshaller. marshal(UserResourceIdentifier userResourceIdentifier, ConversionContext conversionContext)
Marshal the suppliedUserResourceIdentifier
to storage format.ResourceIdentifier
DelegatingResourceIdentifierUnmarshaller. unmarshal(XMLEventReader xmlEventReader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
ResourceIdentifier
StorageResourceIdentifierUnmarshaller. unmarshal(XMLEventReader xmlEventReader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
UserResourceIdentifier
StorageUserResourceIdentifierUnmarshaller. unmarshal(XMLEventReader xmlEventReader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
boolean
StorageUserResourceIdentifierMarshaller. wasMigrationPerformed(ConversionContext conversionContext)
-
Uses of ConversionContext in com.atlassian.confluence.content.render.xhtml.storage.time
Methods in com.atlassian.confluence.content.render.xhtml.storage.time with parameters of type ConversionContext Modifier and Type Method Description boolean
StorageTimeUnmarshaller. handles(StartElement startElementEvent, ConversionContext conversionContext)
Streamable
StorageTimeMarshaller. marshal(Time time, ConversionContext conversionContext)
Time
StorageTimeUnmarshaller. unmarshal(XMLEventReader reader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
-
Uses of ConversionContext in com.atlassian.confluence.content.render.xhtml.transformers
Methods in com.atlassian.confluence.content.render.xhtml.transformers with parameters of type ConversionContext Modifier and Type Method Description boolean
DefaultFragmentTransformer. handles(StartElement startElementEvent, ConversionContext conversionContext)
This fragment converter handles every XHTML element that is not handled by any other converter.boolean
ElementTransformingFragmentTransformer. handles(StartElement startElementEvent, ConversionContext conversionContext)
boolean
FragmentTransformer. handles(StartElement startElementEvent, ConversionContext conversionContext)
boolean
Html5RawTextElementFragmentTransformer. handles(StartElement startElementEvent, ConversionContext conversionContext)
boolean
Html5VoidElementFragmentTransformer. handles(StartElement startElementEvent, ConversionContext conversionContext)
boolean
LazyLoadingFragmentTransformer. handles(StartElement startElementEvent, ConversionContext conversionContext)
Streamable
DefaultFragmentTransformer. transform(XMLEventReader reader, FragmentTransformer defaultFragmentTransformer, ConversionContext conversionContext)
Transform the XML read from the supplied reader, making use of any configured FragmentTransformers as appropriate.Streamable
ElementTransformingFragmentTransformer. transform(XMLEventReader reader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
Wraps the supplied reader in an ElementTransformingXmlEventReader and then applies the mainFragmentTransformer.Streamable
FragmentTransformer. transform(XMLEventReader reader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
Streamable
Html5RawTextElementFragmentTransformer. transform(XMLEventReader reader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
Streamable
Html5VoidElementFragmentTransformer. transform(XMLEventReader reader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
Streamable
LazyLoadingFragmentTransformer. transform(XMLEventReader reader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
Streamable
LegacyFragmentTransformer. transform(XMLEventReader reader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
String
RemoveApostropheEntityTransformer. transform(Reader input, ConversionContext conversionContext)
String
Transformer. transform(Reader input, ConversionContext conversionContext)
abstract String
LegacyFragmentTransformer. transformToString(XMLEventReader reader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
boolean
DefaultFragmentTransformer. wasMigrationPerformed(ConversionContext conversionContext)
-
Uses of ConversionContext in com.atlassian.confluence.content.render.xhtml.view
Methods in com.atlassian.confluence.content.render.xhtml.view with parameters of type ConversionContext Modifier and Type Method Description boolean
ViewHeadingFragmentTransformer. handles(StartElement startElementEvent, ConversionContext conversionContext)
boolean
ViewHtmlAnchorFragmentTransformer. handles(StartElement startElementEvent, ConversionContext conversionContext)
boolean
ViewTableWrappingFragmentTransformer. handles(StartElement startElementEvent, ConversionContext conversionContext)
Streamable
ViewTableWrappingFragmentTransformer. transform(XMLEventReader reader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
String
ViewHeadingFragmentTransformer. transformToString(XMLEventReader reader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
String
ViewHtmlAnchorFragmentTransformer. transformToString(XMLEventReader reader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
-
Uses of ConversionContext in com.atlassian.confluence.content.render.xhtml.view.embed
Methods in com.atlassian.confluence.content.render.xhtml.view.embed with parameters of type ConversionContext Modifier and Type Method Description AttachedImageUnresolvedCommentCountAggregator
AttachedImageRenderHelper. getUnresolvedCommentCountAggregatorFrom(ConversionContext conversionContext)
Get the Unresolved Comment Count Aggregator from the conversion context.AttachedImageUnresolvedCommentCountAggregator
AttachedImageRenderHelperImpl. getUnresolvedCommentCountAggregatorFrom(ConversionContext conversionContext)
Streamable
AttachedImageMarshaller. marshal(XmlStreamWriterTemplate xmlStreamWriterTemplate, EmbeddedImage embeddedImage, AttachmentResourceIdentifier attachmentResourceIdentifier, ConversionContext conversionContext)
Streamable
DefaultAttachedImageResourceMarshaller. marshal(XmlStreamWriterTemplate xmlStreamWriterTemplate, EmbeddedImage embeddedImage, AttachmentResourceIdentifier attachmentResourceIdentifier, ConversionContext conversionContext)
Streamable
EmbeddedImageMarshaller. marshal(EmbeddedImage embeddedImage, ConversionContext conversionContext)
Streamable
ViewEmbeddedImageMarshaller. marshal(EmbeddedImage embeddedImage, ConversionContext conversionContext)
Streamable
UnidentifiedAttachmentMarshaller. marshalPlaceholder(XmlStreamWriterTemplate xmlStreamWriterTemplate, EmbeddedImage embeddedImage, AttachmentResourceIdentifier ri, ConversionContext context)
Streamable
ViewUnidentifiedAttachmentMarshaller. marshalPlaceholder(XmlStreamWriterTemplate xmlStreamWriterTemplate, EmbeddedImage embeddedImage, AttachmentResourceIdentifier ri, ConversionContext context)
void
EmbeddedImageTagWriter. writeEmbeddedImageTag(XMLStreamWriter xmlStreamWriter, Writer underlyingWriter, Attachment attachment, String imageSource, String thumbnailSource, EmbeddedImage embeddedImage, ConversionContext conversionContext)
void
SimpleEmbeddedImageTagWriter. writeEmbeddedImageTag(XMLStreamWriter xmlStreamWriter, Writer underlyingWriter, Attachment attachment, String imageSource, String thumbnailSource, EmbeddedImage embeddedImage, ConversionContext conversionContext)
void
ViewEmbeddedImageTitleWriter. writeEmbeddedImageTag(XMLStreamWriter xmlStreamWriter, Writer underlyingWriter, Attachment attachment, String imageSource, String thumbnailSource, EmbeddedImage embeddedImage, ConversionContext conversionContext)
-
Uses of ConversionContext in com.atlassian.confluence.content.render.xhtml.view.inline
Methods in com.atlassian.confluence.content.render.xhtml.view.inline with parameters of type ConversionContext Modifier and Type Method Description Streamable
ViewEmoticonMarshaller. marshal(Emoticon emoticon, ConversionContext conversionContext)
-
Uses of ConversionContext in com.atlassian.confluence.content.render.xhtml.view.inlinecommentmarker
Methods in com.atlassian.confluence.content.render.xhtml.view.inlinecommentmarker with parameters of type ConversionContext Modifier and Type Method Description Streamable
ViewInlineCommentMarkerMarshaller. marshal(InlineCommentMarker inlineCommentMarker, ConversionContext conversionContext)
-
Uses of ConversionContext in com.atlassian.confluence.content.render.xhtml.view.inlinetask
Methods in com.atlassian.confluence.content.render.xhtml.view.inlinetask with parameters of type ConversionContext Modifier and Type Method Description boolean
ViewInlineTaskUnmarshaller. handles(StartElement startElementEvent, ConversionContext conversionContext)
Streamable
ViewInlineTaskMarshaller. marshal(InlineTaskList inlineTaskList, ConversionContext conversionContext)
InlineTaskList
ViewInlineTaskUnmarshaller. unmarshal(XMLEventReader xmlEventReader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
-
Uses of ConversionContext in com.atlassian.confluence.content.render.xhtml.view.link
Methods in com.atlassian.confluence.content.render.xhtml.view.link with parameters of type ConversionContext Modifier and Type Method Description Streamable
ViewAttachmentLinkMarshaller. marshal(Link attachmentLink, ConversionContext conversionContext)
void
ViewAttachmentLinkMarshallingStrategy. marshal(Link attachmentLink, XMLStreamWriter xmlStreamWriter, ConversionContext context)
Streamable
ViewBlogPostLinkMarshaller. marshal(Link link, ConversionContext conversionContext)
Streamable
ViewContentEntityLinkMarshaller. marshal(Link link, ConversionContext conversionContext)
Streamable
ViewCreatePageLinkMarshaller. marshal(CreatePageLink createPageLink, ConversionContext conversionContext)
Streamable
ViewDraftLinkMarshaller. marshal(Link link, ConversionContext conversionContext)
Streamable
ViewIdAndTypeLinkMarshaller. marshal(Link link, ConversionContext conversionContext)
Streamable
ViewLinkBodyMarshaller. marshal(Link link, ConversionContext conversionContext)
Streamable
ViewPageLinkMarshaller. marshal(Link attachmentLink, ConversionContext conversionContext)
Streamable
ViewPageTemplateLinkMarshaller. marshal(Link attachmentLink, ConversionContext conversionContext)
Streamable
ViewShortcutLinkMarshaller. marshal(Link shortcutLink, ConversionContext conversionContext)
Streamable
ViewSpaceLinkMarshaller. marshal(Link link, ConversionContext conversionContext)
Marshals the given link to a String.Streamable
ViewUnresolvedLinkBodyMarshaller. marshal(Link link, ConversionContext conversionContext)
Streamable
ViewUnresolvedLinkMarshaller. marshal(UnresolvedLink unresolvedLink, ConversionContext conversionContext)
Streamable
ViewUserLinkMarshaller. marshal(Link userLink, ConversionContext conversionContext)
protected void
ViewUnresolvedLinkMarshaller. writeAdditionalAttributes(UnresolvedLink unresolvedLink, XMLStreamWriter xmlStreamWriter, Marshaller<Link> unresolvedLinkBodyMarshaller, ConversionContext conversionContext)
void
CommonLinkAttributesWriter. writeCommonAttributes(Link link, XMLStreamWriter writer, ConversionContext conversionContext)
Writes attributes common to any linkvoid
DefaultCommonLinkAttributesWriter. writeCommonAttributes(Link link, XMLStreamWriter writer, ConversionContext conversionContext)
-
Uses of ConversionContext in com.atlassian.confluence.content.render.xhtml.view.macro
Methods in com.atlassian.confluence.content.render.xhtml.view.macro with parameters of type ConversionContext Modifier and Type Method Description Streamable
ViewMacroMarshaller. marshal(MacroDefinition macroDefinition, ConversionContext conversionContext)
Streamable
ViewUnknownMacroMarshaller. marshal(MacroDefinition macroDefinition, ConversionContext conversionContext)
String
DefaultViewMacroWrapper. wrap(ConversionContext context, Macro.OutputType outputType, String macroBody, MacroDefinition macroDefinition, boolean wrap)
String
ViewMacroWrapper. wrap(ConversionContext context, Macro.OutputType outputType, String macroBody, MacroDefinition macroDefinition, boolean wrap)
Execute macro wrapping. -
Uses of ConversionContext in com.atlassian.confluence.content.render.xhtml.view.pagelayouts
Methods in com.atlassian.confluence.content.render.xhtml.view.pagelayouts with parameters of type ConversionContext Modifier and Type Method Description Streamable
ViewPageLayoutMarshaller. marshal(PageLayout pagelayout, ConversionContext conversionContext)
-
Uses of ConversionContext in com.atlassian.confluence.content.render.xhtml.view.placeholder
Methods in com.atlassian.confluence.content.render.xhtml.view.placeholder with parameters of type ConversionContext Modifier and Type Method Description Streamable
ViewPlaceholderMarshaller. marshal(Placeholder placeholder, ConversionContext conversionContext)
-
Uses of ConversionContext in com.atlassian.confluence.content.render.xhtml.view.time
Methods in com.atlassian.confluence.content.render.xhtml.view.time with parameters of type ConversionContext Modifier and Type Method Description Streamable
ViewTimeMarshaller. marshal(Time time, ConversionContext conversionContext)
-
Uses of ConversionContext in com.atlassian.confluence.diff.marshallers
Methods in com.atlassian.confluence.diff.marshallers with parameters of type ConversionContext Modifier and Type Method Description Streamable
DiffInlineCommentMarkerMarshaller. marshal(InlineCommentMarker inlineCommentMarker, ConversionContext conversionContext)
Streamable
DiffInlineTaskMarshaller. marshal(InlineTaskList inlineTaskList, ConversionContext conversionContext)
Streamable
DiffLinkMarshaller. marshal(Link link, ConversionContext conversionContext)
Streamable
DiffMacroMarshaller. marshal(MacroDefinition macroDefinition, ConversionContext conversionContext)
-
Uses of ConversionContext in com.atlassian.confluence.impl.content.render.prefetch
Methods in com.atlassian.confluence.impl.content.render.prefetch with parameters of type ConversionContext Modifier and Type Method Description ResourceIdentifiers
ResourceIdentifierExtractor. extractResourceIdentifiers(BodyContent bodyContent, ConversionContext conversionContext)
void
AttachmentPrefetcher. prefetch(Set<AttachmentResourceIdentifier> attachmentIdentifiers, ConversionContext conversionContext)
Fetch the attachments for the given set of identifiers, and store them in the given conversion context.void
ResourcePrefetcher. prefetch(Set<T> resourceIdentifiers, ConversionContext conversionContext)
Attempts to pre-fetch and pre-cache the given resource identifiers.void
UserPrefetcher. prefetch(Set<UserResourceIdentifier> resourceIdentifiers, ConversionContext conversionContext)
void
ContentResourcePrefetcher. prefetchContentResources(BodyContent bodyContent, ConversionContext conversionContext)
static @NonNull Function<AttachmentResourceIdentifier,Optional<Attachment>>
AttachmentPrefetcher. prefetchedAttachments(ConversionContext conversionContext)
-
Uses of ConversionContext in com.atlassian.confluence.impl.content.render.prefetch.xhtml
Methods in com.atlassian.confluence.impl.content.render.prefetch.xhtml with parameters of type ConversionContext Modifier and Type Method Description ResourceIdentifiers
XhtmlResourceIdentifierExtractor. extractResourceIdentifiers(BodyContent storageFormatContent, ConversionContext conversionContext)
-
Uses of ConversionContext in com.atlassian.confluence.impl.content.render.xhtml
Methods in com.atlassian.confluence.impl.content.render.xhtml with parameters of type ConversionContext Modifier and Type Method Description String
WikiToStorageConverterImpl. convertWikiToStorage(String wikiContent, ConversionContext context, List<RuntimeException> migrationExceptions)
void
MacroDefinitionTransformerImpl. handleMacroDefinitions(String storageFragment, ConversionContext context, MacroDefinitionHandler handler)
void
MacroDefinitionTransformerImpl. handleMacroDefinitions(String storageFragment, ConversionContext context, MacroDefinitionHandler handler, MacroDefinitionMarshallingStrategy strategy)
String
MacroDefinitionTransformerImpl. replaceMacroDefinitionsWithString(String storageFragment, ConversionContext context, MacroDefinitionReplacer replacer)
String
MacroDefinitionTransformerImpl. updateMacroDefinitions(String storageFragment, ConversionContext context, MacroDefinitionUpdater updater)
-
Uses of ConversionContext in com.atlassian.confluence.impl.content.render.xhtml.analytics
Methods in com.atlassian.confluence.impl.content.render.xhtml.analytics with parameters of type ConversionContext Modifier and Type Method Description static void
MarshallerMetricsAccumulatorStack. forEachMetricsSnapshot(ConversionContext context, com.google.common.base.Predicate<? super MarshallerMetricsAccumulationKey> accumulationKeyFilter, com.atlassian.fugue.Effect<MarshallerMetrics> effect)
static com.atlassian.fugue.Maybe<MarshallerMetricsAccumulator>
MarshallerMetricsAccumulatorStack. getCurrentMetricsAccumulator(ConversionContext context)
Streamable
MetricsCollectingMarshaller. marshal(T object, @Nullable ConversionContext conversionContext)
static @NonNull MarshallerMetricsCollector
MarshallerMetricsCollectors. metricsCollector(ConversionContext context, MarshallerMetricsAccumulationKey accumulationKey)
Obtain aMarshallerMetricsCollector
instance for the given accumulation key and contextstatic @NonNull MarshallerMetricsAnalyticsEvent
MarshallerMetricsAnalyticsEventFactory. newMarshallerMetricsAnalyticsEvent(ConversionContext context, MarshallerMetrics metrics, String eventName, String accumulationKey)
static void
MarshallerMetricsAccumulatorStack. pop(@Nullable ConversionContext context)
void
MarshallerMetricsAnalyticsEventPublisher. publish(Object src, ConversionContext context)
static void
MarshallerMetricsAccumulatorStack. pushNewMetricsAccumulator(@Nullable ConversionContext context)
-
Uses of ConversionContext 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 ConversionContext Modifier and Type Method Description Streamable
DelegatingEditorMacroMarshaller. marshal(MacroDefinition macroDefinition, ConversionContext conversionContext)
-
Uses of ConversionContext in com.atlassian.confluence.impl.macro.schema
Methods in com.atlassian.confluence.impl.macro.schema with parameters of type ConversionContext Modifier and Type Method Description MacroDefinition
DefaultMacroSchemaMigrator. migrateSchemaIfNecessary(MacroDefinition macroDefinition, ConversionContext context)
MacroDefinition
MacroSchemaMigrator. migrateSchemaIfNecessary(MacroDefinition macroDefinition, ConversionContext context)
Migrates the macro definition to the latest version of it's macro schema. -
Uses of ConversionContext in com.atlassian.confluence.importexport.impl
Methods in com.atlassian.confluence.importexport.impl with parameters of type ConversionContext Modifier and Type Method Description StorageFormatUserRewriter.RewriteResult
StorageFormatUserRewriter. rewriteUserKeysInContent(String importedStorageFormat, com.google.common.base.Function<com.atlassian.sal.api.user.UserKey,com.atlassian.sal.api.user.UserKey> userKeyTranslator, ConversionContext conversionContext)
Deprecated.since 7.0.1.StorageFormatUserRewriter.RewriteResult
StorageFormatUserRewriter. transformUserKeysInContent(String importedStorageFormat, Function<com.atlassian.sal.api.user.UserKey,com.atlassian.sal.api.user.UserKey> userKeyTranslator, ConversionContext conversionContext)
Rewrites anyUserKey
s inUserResourceIdentifier
s in the supplied storage format content, by using the supplied function to map on userkey to another. -
Uses of ConversionContext in com.atlassian.confluence.internal.diagnostics
Constructors in com.atlassian.confluence.internal.diagnostics with parameters of type ConversionContext Constructor Description MacroRendering(ConversionContext conversionContext, MacroDefinition macroDefinition, Macro macro)
-
Uses of ConversionContext in com.atlassian.confluence.macro
Methods in com.atlassian.confluence.macro with parameters of type ConversionContext Modifier and Type Method Description MacroDefinition
MacroDefinitionDeserializer. deserializeWithTypedParameters(String serializedValue, ConversionContext conversionContext)
MacroDefinition
MacroDefinitionRequestDeserializer. deserializeWithTypedParameters(String serializedValue, ConversionContext conversionContext)
MacroDefinition
MacroDefinitionWikiMarkupDeserializer. deserializeWithTypedParameters(String serializedValue, ConversionContext conversionContext)
String
GenericVelocityMacro. execute(Map<String,String> parameters, String body, ConversionContext context)
String
LazyLoadingMacroWrapper. execute(Map<String,String> parameters, String body, ConversionContext context)
String
Macro. execute(Map<String,String> parameters, String body, ConversionContext context)
String
StreamableMacroAdapter. execute(Map<String,String> parameters, String body, ConversionContext context)
String
V2CompatibilityMacro. execute(Map<String,String> parameters, String body, ConversionContext conversionContext)
static String
StreamableMacroAdapter. executeFromStream(StreamableMacro macro, Map<String,String> parameters, String body, ConversionContext context)
Helper method to provide a default execute method for a StreamableMacro that can not inherit from this adapter class.Streamable
StreamableMacro. executeToStream(Map<String,String> parameters, Streamable body, ConversionContext context)
Execute the macro, and produce a streamable that represents its output.String
CustomHtmlEditorPlaceholder. getCustomPlaceholder(Map<String,String> parameters, String body, ConversionContext context)
ImagePlaceholder
EditorImagePlaceholder. getImagePlaceholder(Map<String,String> parameters, ConversionContext context)
Returns anImagePlaceholder
instance to be displayed in the editor. -
Uses of ConversionContext in com.atlassian.confluence.macro.count
Methods in com.atlassian.confluence.macro.count with parameters of type ConversionContext Modifier and Type Method Description static @NonNull MacroCountEvent
MacroCountEventFactory. newMacroCreateCountEvent(Object src, @Nullable ContentEntityObject entity, ConversionContext context, MacroCount macroCount)
Constructs a macro creation analytics event event.void
MacroCreateEventPublisher. publish(Object src, ConversionContext conversionContext)
Publishes aMacroCountEvent
for each type of newly added macro encountered. -
Uses of ConversionContext in com.atlassian.confluence.macro.wiki
Methods in com.atlassian.confluence.macro.wiki with parameters of type ConversionContext Modifier and Type Method Description String
UnmigratedBlockWikiMarkupMacro. execute(Map<String,String> parameters, String body, ConversionContext context)
String
UnmigratedInlineWikiMarkupMacro. execute(Map<String,String> parameters, String body, ConversionContext context)
-
Uses of ConversionContext in com.atlassian.confluence.macro.xhtml
Methods in com.atlassian.confluence.macro.xhtml with parameters of type ConversionContext Modifier and Type Method Description MacroDefinition
MacroMigration. migrate(MacroDefinition macro, ConversionContext context)
Migrates a wiki-markup representation of a macro to XHTMLMacroDefinition
PlainTextMacroMigration. migrate(MacroDefinition macro, ConversionContext context)
MacroDefinition
RichTextMacroMigration. migrate(MacroDefinition macroDefinition, ConversionContext conversionContext)
MacroDefinition
V2MacroToUnmigratedWikiMarkupMacroMigration. migrate(MacroDefinition macroDefinition, ConversionContext conversionContext)
ExceptionTolerantMigrator.MigrationResult
XhtmlWikiMarkupMacroMigrator. migrate(String inputXhtml, ConversionContext conversionContext)
Attempt to migrate any instances of unmigrated-wiki-markup found in the supplied storage XHTML formatted content to storage XHTML. -
Uses of ConversionContext in com.atlassian.confluence.mail.notification
Methods in com.atlassian.confluence.mail.notification that return ConversionContext Modifier and Type Method Description ConversionContext
ConversionContextCreator. createConversionContext(ContentEntityObject ceo)
Methods in com.atlassian.confluence.mail.notification with parameters of type ConversionContext Modifier and Type Method Description void
DefaultNotificationsSender. sendNetworkNotifications(NotificationData notificationData, ConversionContext conversionContext)
void
NotificationsSender. sendNetworkNotifications(NotificationData notificationData, ConversionContext conversionContext)
Sends notifications based on users following other users.void
DefaultNotificationsSender. sendNotification(Notification notification, NotificationData notificationData, ConversionContext conversionContext)
void
DefaultNotificationsSender. sendNotification(ConfluenceUser toUser, NotificationContext context, NotificationData notificationData, ConversionContext conversionContext)
void
DefaultNotificationsSender. sendNotification(String recipient, NotificationContext context, NotificationData notificationData, ConversionContext conversionContext)
Sends a notification.void
NotificationsSender. sendNotification(Notification notification, NotificationData notificationData, ConversionContext conversionContext)
Sends content-based notifications.void
NotificationsSender. sendNotification(String recipient, NotificationContext context, NotificationData notificationData, ConversionContext conversionContext)
Sends a notification.void
DefaultNotificationsSender. sendNotifications(List<Notification> notifications, NotificationData notificationData, ConversionContext conversionContext)
void
NotificationsSender. sendNotifications(List<Notification> notifications, NotificationData notificationData, ConversionContext conversionContext)
Sends the notificationData to each user listed innotifications
, as long as they are permitted to see it.void
DefaultNotificationsSender. sendPageNotifications(AbstractPage page, NotificationData notificationData, ConversionContext conversionContext)
void
NotificationsSender. sendPageNotifications(AbstractPage page, NotificationData notificationData, ConversionContext conversionContext)
Sends page based notifications.void
DefaultNotificationsSender. sendSpaceNotifications(Space space, NotificationData notificationData, ConversionContext conversionContext)
void
NotificationsSender. sendSpaceNotifications(Space space, NotificationData notificationData, ConversionContext conversionContext)
Sends space based notifications. -
Uses of ConversionContext in com.atlassian.confluence.mail.notification.listeners
Methods in com.atlassian.confluence.mail.notification.listeners that return ConversionContext Modifier and Type Method Description protected ConversionContext
AbstractContentNotificationsListener. getConversionContext(NotificationData notificationData)
Deprecated.protected ConversionContext
AbstractNotificationsListener. getConversionContext(NotificationData notificationData)
Deprecated. -
Uses of ConversionContext in com.atlassian.confluence.pages.actions
Methods in com.atlassian.confluence.pages.actions that return ConversionContext Modifier and Type Method Description protected ConversionContext
AbstractPreviewPageAction. getConversionContext()
-
Uses of ConversionContext in com.atlassian.confluence.plugins.macros.core
Methods in com.atlassian.confluence.plugins.macros.core with parameters of type ConversionContext Modifier and Type Method Description String
LoremIpsumMacro. execute(Map<String,String> parameters, String body, ConversionContext context)
-
Uses of ConversionContext in com.atlassian.confluence.plugins.templates.transformer
Methods in com.atlassian.confluence.plugins.templates.transformer with parameters of type ConversionContext Modifier and Type Method Description String
EditorToStorageTemplateVariablesTransformer. transform(Reader input, ConversionContext conversionContext)
String
StorageToEditorTemplateVariablesTransformer. transform(Reader input, ConversionContext conversionContext)
String
StorageToViewTemplateVariablesTransformer. transform(Reader input, ConversionContext conversionContext)
-
Uses of ConversionContext in com.atlassian.confluence.xhtml.api
Methods in com.atlassian.confluence.xhtml.api with parameters of type ConversionContext Modifier and Type Method Description EmbeddedImage
EditorFormatService. convertEditToEmbeddedImage(String editFragment, ConversionContext context)
Returns aEmbeddedImage
from the suppliededitFragment
.Link
EditorFormatService. convertEditToLink(String editFragment, ConversionContext context)
Returns aMacroDefinition
from the suppliededitFragment
.MacroDefinition
EditorFormatService. convertEditToMacroDefinition(String editFragment, ConversionContext context)
Returns aMacroDefinition
from the suppliededitFragment
.String
EditorFormatService. convertEditToStorage(String editFragment, ConversionContext context)
Returns an storage format fragment for the suppliededitFragment
.String
EditorFormatService. convertEmbeddedImageToEdit(EmbeddedImage embeddedImage, ConversionContext context)
Returns an edit format fragment for the suppliedembeddedImage
.String
XhtmlContent. convertEmbeddedImageToStorage(EmbeddedImage embeddedImage, ConversionContext context)
Returns a storage format fragment for the suppliedembeddedImage
.String
XhtmlContent. convertEmbeddedImageToView(EmbeddedImage embeddedImage, ConversionContext context)
Returns a view format fragment for the suppliedembeddedImage
.String
XhtmlContent. convertInlineTaskListToStorage(InlineTaskList inlineTaskList, ConversionContext context)
Returns a storage format fragment for the suppliedinlineTaskList
.String
XhtmlContent. convertInlineTaskListToView(InlineTaskList inlineTaskList, ConversionContext context)
Returns a view format fragment for the suppliedinlineTaskList
.String
EditorFormatService. convertLinkToEdit(Link link, ConversionContext context)
Returns an edit format fragment for the suppliedlink
.String
XhtmlContent. convertLinkToStorage(Link link, ConversionContext context)
Returns a storage format fragment for the suppliedlink
.String
XhtmlContent. convertLinkToView(Link link, ConversionContext context)
Returns a view format fragment for the suppliedlink
.String
EditorFormatService. convertMacroDefinitionToEdit(MacroDefinition macroDefinition, ConversionContext context)
Returns an edit format fragment for the suppliedmacroDefinition
.String
XhtmlContent. convertMacroDefinitionToStorage(MacroDefinition macroDefinition, ConversionContext context)
Returns an storage format fragment for the suppliedmacroDefinition
.String
XhtmlContent. convertMacroDefinitionToView(MacroDefinition macroDefinition, ConversionContext context)
Returns a view format fragment for the suppliedmacroDefinition
.String
EditorFormatService. convertStorageToEdit(String storageFragment, ConversionContext context)
Returns an edit format fragment for the suppliedstorageFragment
.String
XhtmlContent. convertStorageToView(String storageFragment, ConversionContext context)
Returns a view format fragment for the suppliedstorageFragment
.String
EditorFormatService. convertWikiToEdit(String wikiContent, ConversionContext context)
Returns the XHTML edit format equivalent of the suppliedwikiContent
(Wiki markup).String
WikiToStorageConverter. convertWikiToStorage(String wikiContent, ConversionContext context, List<RuntimeException> migrationExceptions)
Returns the XHTML storage format equivalent of the suppliedwikiContent
(wiki markup).String
XhtmlContent. convertWikiToStorage(String wikiContent, ConversionContext context, List<RuntimeException> migrationExceptions)
Returns the XHTML storage format equivalent of the suppliedwikiContent
(wiki markup).String
XhtmlContent. convertWikiToView(String wikiContent, ConversionContext context, List<RuntimeException> migrationExceptions)
Returns the HTML view format equivalent of the suppliedwikiContent
.boolean
PageLayoutVisitor. handle(XMLEvent xmlEvent, ConversionContext context)
boolean
XhtmlVisitor. handle(XMLEvent xmlEvent, ConversionContext context)
Called on each XMLEvent during a parse of an XHTML document.void
XhtmlContent. handleMacroDefinitions(String storageFragment, ConversionContext context, MacroDefinitionHandler handler)
Perform an operation onMacroDefinition
s in the suppliedstorageFragment
without making changes to the storage representation.void
XhtmlContent. handleMacroDefinitions(String storageFragment, ConversionContext context, MacroDefinitionHandler handler, MacroDefinitionMarshallingStrategy strategy)
Perform an operation onMacroDefinition
s in the suppliedstorageFragment
, with optional changes to the storage representation defined by theMacroDefinitionMarshallingStrategy
.void
XhtmlContent. handleXhtmlElements(String storageFragment, ConversionContext context, List<? extends XhtmlVisitor> visitors)
Provides a mechanism for finding arbitrary Xhtml elements in the suppliedstorageFormat
.abstract Streamable
MacroDefinitionMarshallingStrategy. marshal(MacroDefinition macroDefinition, ConversionContext conversionContext, Marshaller<MacroDefinition> macroDefinitionMarshaller)
Convert the MacroDefinition to a string.String
XhtmlContent. replaceMacroDefinitionsWithString(String storageFragment, ConversionContext context, MacroDefinitionReplacer replacer)
ReplacesMacroDefinition
s in the suppliedstorageFragment
with a String.String
XhtmlContent. updateMacroDefinitions(String storageFragment, ConversionContext context, MacroDefinitionUpdater updater)
UpdatesMacroDefinition
s in the suppliedstorageFragment
.
-