Modifier and Type | Method and Description |
---|---|
String |
NaughtyWritingToDBWhilstRenderingMacro.execute(Map<String,String> parameters,
String body,
ConversionContext context) |
String |
CustomWebResourceAddingMacro.execute(Map<String,String> parameters,
String body,
ConversionContext context) |
Modifier and Type | Class and Description |
---|---|
class |
DefaultConversionContext
A non-thread safe implementation of the ConversionContext suitable for use in the single threaded XHTML output process.
|
Modifier and Type | Method and Description |
---|---|
ConversionContext |
BatchedRenderRequest.getContext() |
Modifier and Type | Method and Description |
---|---|
String |
XhtmlCleaner.cleanQuietly(String unclean,
ConversionContext context)
Deprecated.
since 5.1, use
XhtmlCleaner.cleanQuietly(String) |
String |
StorageFormatCleaner.cleanQuietly(String unclean,
ConversionContext context)
Deprecated.
since 5.1, use
StorageFormatCleaner.cleanQuietly(String) |
String |
PolicyConfiguredCleaner.cleanQuietly(String unclean,
ConversionContext context) |
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) |
static PageContext |
NastyUtilitiesWhichWillBeMadeRedundant.extractPageContext(ConversionContext context)
Deprecated.
Since 4.1. Use
getPageContext() . |
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 |
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) |
boolean |
MarshallingFragmentTransformer.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 |
RenderingEventPublisher.publish(Object src,
ConversionContext conversionContext)
Processes the ConversionContext to publish relevant events.
|
void |
DummyRenderingEventPublisher.publish(Object src,
ConversionContext conversionContext) |
String |
Renderer.render(ContentEntityObject content,
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 |
DeviceTypeAwareRenderer.render(ContentEntityObject content,
ConversionContext conversionContext) |
String |
DefaultRenderer.render(ContentEntityObject contentEntityObject,
ConversionContext conversionContext) |
String |
DefaultLinkRenderer.render(ContentEntityObject content,
ConversionContext conversionContext) |
String |
LinkRenderer.render(ContentEntityObject content,
String linkAlias,
ConversionContext conversionContext)
Renders link to specified content with specified alias.
|
String |
DefaultLinkRenderer.render(ContentEntityObject content,
String linkAlias,
ConversionContext conversionContext) |
String |
Renderer.render(String xml,
ConversionContext conversionContext) |
String |
DeviceTypeAwareRenderer.render(String xml,
ConversionContext conversionContext) |
String |
DefaultRenderer.render(String content,
ConversionContext conversionContext) |
RenderResult |
Renderer.renderWithResult(String xml,
ConversionContext conversionContext) |
RenderResult |
DeviceTypeAwareRenderer.renderWithResult(String xml,
ConversionContext conversionContext) |
RenderResult |
DefaultRenderer.renderWithResult(String content,
ConversionContext conversionContext) |
String |
DefaultXhtmlContent.replaceMacroDefinitionsWithString(String storageFragment,
ConversionContext context,
MacroDefinitionReplacer replacer) |
String |
TransformerChain.transform(Reader input,
ConversionContext conversionContext) |
String |
PluggableTransformerChain.transform(Reader input,
ConversionContext conversionContext) |
Streamable |
UnmarshalMarshalFragmentTransformer.transform(XMLEventReader reader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
Streamable |
MarshallingFragmentTransformer.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) |
Constructor and Description |
---|
BatchedRenderRequest(ConversionContext context,
List<String> storageFragments) |
Modifier and Type | Method and Description |
---|---|
ConversionContext |
LegacyV2RendererContextInitialiser.initialise(ConversionContext conversionContext) |
ConversionContext |
DefaultLegacyV2RendererContextInitialiser.initialise(ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
ConversionContext |
LegacyV2RendererContextInitialiser.initialise(ConversionContext conversionContext) |
ConversionContext |
DefaultLegacyV2RendererContextInitialiser.initialise(ConversionContext conversionContext) |
String |
BodyTypeAwareRenderer.render(ContentEntityObject content,
ConversionContext conversionContext)
Produces an appropriate rendering of the specified content depending on its
BodyType . |
String |
BodyTypeAwareRenderer.render(String xml,
ConversionContext conversionContext) |
RenderResult |
BodyTypeAwareRenderer.renderWithResult(String xml,
ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
String |
EditorConverter.convert(String editorFormat,
ConversionContext conversionContext) |
String |
DefaultEditorConverter.convert(String editorFormat,
ConversionContext conversionContext) |
boolean |
EditorErrorFragmentTransformer.handles(StartElement startElementEvent,
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.
|
Streamable |
EditorErrorFragmentTransformer.transform(XMLEventReader reader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
Modifier and Type | Method and 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) |
Modifier and Type | Method and Description |
---|---|
boolean |
EditorEmoticonUnmarshaller.handles(StartElement startElementEvent,
ConversionContext conversionContext) |
Streamable |
EditorEmoticonMarshaller.marshal(Emoticon emoticon,
ConversionContext conversionContext) |
Emoticon |
EditorEmoticonUnmarshaller.unmarshal(XMLEventReader xmlEventReader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
boolean |
EditorInlineCommentMarkerUnmarshaller.handles(StartElement startElementEvent,
ConversionContext conversionContext) |
InlineCommentMarker |
EditorInlineCommentMarkerUnmarshaller.unmarshal(XMLEventReader xmlEventReader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
boolean |
EditorLinkUnmarshaller.handles(StartElement startElementEvent,
ConversionContext conversionContext) |
boolean |
EditorLinkBodyUnmarshaller.handles(StartElement startElementEvent,
ConversionContext conversionContext)
This unmarshaller needs to be applied intelligently on a reader with the actual body of a link.
|
void |
AttachmentStaxStreamMarshaller.marshal(Attachment attachment,
XMLStreamWriter xmlStreamWriter,
ConversionContext context) |
void |
EditorLinkMarshallingStrategy.marshal(Link link,
XMLStreamWriter xmlStreamWriter,
ConversionContext context) |
Link |
EditorLinkUnmarshaller.unmarshal(XMLEventReader reader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
LinkBody |
EditorLinkBodyUnmarshaller.unmarshal(XMLEventReader linkFragmentReader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
protected void |
EditorUnresolvedLinkMarshaller.writeAdditionalAttributes(UnresolvedLink unresolvedLink,
XMLStreamWriter xmlStreamWriter,
Marshaller<Link> unresolvedLinkBodyMarshaller,
ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
boolean |
EditorMacroUnmarshaller.handles(StartElement startElement,
ConversionContext conversionContext) |
Streamable |
EditorMacroMarshaller.marshal(MacroDefinition macroDefinition,
ConversionContext conversionContext) |
Streamable |
MacroMarshaller.marshal(Macro macro,
MacroDefinition macroDefinition,
ConversionContext conversionContext)
Marshall the supplied macro.
|
Streamable |
EditorBodyMacroMarshaller.marshal(Macro macro,
MacroDefinition macroDefinition,
ConversionContext conversionContext) |
Streamable |
EditorBodilessMacroMarshaller.marshal(Macro macro,
MacroDefinition macroDefinition,
ConversionContext conversionContext) |
Streamable |
CustomPlaceholderEditorMarshaller.marshal(Macro macro,
MacroDefinition macroDefinition,
ConversionContext conversionContext) |
Streamable |
CustomImageEditorMacroMarshaller.marshal(Macro macro,
MacroDefinition macroDefinition,
ConversionContext conversionContext) |
Object |
MacroParameterTypeParserImpl.parseMacroParameter(String macroName,
String parameterName,
String untypedValue,
Map<String,String> untypedParameters,
ConversionContext conversionContext) |
Object |
MacroParameterTypeParser.parseMacroParameter(String macroName,
String parameterName,
String untypedValue,
Map<String,String> untypedParameters,
ConversionContext conversionContext) |
Map<String,Object> |
MacroParameterTypeParserImpl.parseMacroParameters(String macroName,
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.
|
MacroDefinition |
EditorMacroUnmarshaller.unmarshal(XMLEventReader reader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
boolean |
EditorPageLayoutUnMarshaller.handles(StartElement startElement,
ConversionContext conversionContext) |
PageLayout |
EditorPageLayoutUnMarshaller.unmarshal(XMLEventReader xmlEventReader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
boolean |
EditorPlaceholderUnmarshaller.handles(StartElement startElement,
ConversionContext conversionContext) |
Streamable |
EditorPlaceholderMarshaller.marshal(Placeholder placeholder,
ConversionContext conversionContext) |
Placeholder |
EditorPlaceholderUnmarshaller.unmarshal(XMLEventReader reader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
boolean |
IdAndTypeAnalyzingResourceIdentifierUnmarshaller.handles(StartElement startElementEvent,
ConversionContext conversionContext) |
boolean |
EditorUserResourceIdentifierMarshallerAndUnmarshaller.handles(StartElement startElementEvent,
ConversionContext conversionContext) |
boolean |
EditorSpaceResourceIdentifierMarshallerAndUnmarshaller.handles(StartElement startElementEvent,
ConversionContext conversionContext) |
boolean |
EditorShortcutResourceIdentifierMarshallerAndUnmarshaller.handles(StartElement startElementEvent,
ConversionContext conversionContext) |
boolean |
EditorPageResourceIdentifierMarshallerAndUnmarshaller.handles(StartElement startElementEvent,
ConversionContext conversionContext) |
boolean |
EditorIdAndTypeResourceIdentifierUnmarshaller.handles(StartElement startElementEvent,
ConversionContext conversionContext) |
boolean |
EditorBlogPostResourceIdentifierMarshallerAndUnmarshaller.handles(StartElement startElementEvent,
ConversionContext conversionContext) |
boolean |
EditorAttachmentResourceIdentifierMarshallerAndUnmarshaller.handles(StartElement startElementEvent,
ConversionContext conversionContext) |
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 |
DelegatingEditorResourceIdentifierMarshaller.marshal(ResourceIdentifier resourceIdentifier,
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 |
IdAndTypeAnalyzingResourceIdentifierUnmarshaller.unmarshal(XMLEventReader xmlEventReader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
ResourceIdentifier |
EditorUserResourceIdentifierMarshallerAndUnmarshaller.unmarshal(XMLEventReader xmlEventReader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
ResourceIdentifier |
EditorSpaceResourceIdentifierMarshallerAndUnmarshaller.unmarshal(XMLEventReader xmlEventReader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
ResourceIdentifier |
EditorShortcutResourceIdentifierMarshallerAndUnmarshaller.unmarshal(XMLEventReader xmlEventReader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
ResourceIdentifier |
EditorPageResourceIdentifierMarshallerAndUnmarshaller.unmarshal(XMLEventReader xmlEventReader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
IdAndTypeResourceIdentifier |
EditorIdAndTypeResourceIdentifierUnmarshaller.unmarshal(XMLEventReader xmlEventReader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
ResourceIdentifier |
EditorBlogPostResourceIdentifierMarshallerAndUnmarshaller.unmarshal(XMLEventReader xmlEventReader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
ResourceIdentifier |
EditorAttachmentResourceIdentifierMarshallerAndUnmarshaller.unmarshal(XMLEventReader xmlEventReader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
boolean |
EditorTimeUnmarshaller.handles(StartElement startElementEvent,
ConversionContext conversionContext) |
Time |
EditorTimeUnmarshaller.unmarshal(XMLEventReader reader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
String |
HtmlExportHrefEvaluator.createHref(ConversionContext context,
Attachment attachment,
String anchor) |
String |
OutputTypeAwareHrefEvaluator.createHref(ConversionContext context,
Object entity,
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 |
HrefEvaluator.createHref(ConversionContext context,
Object object,
String anchor)
Create the appropriate href attribute value for the supplied ConversionContext.
|
String |
DefaultHrefEvaluator.createHref(ConversionContext context,
Object destination,
String anchor) |
String |
AbsoluteHrefEvaluator.createHref(ConversionContext context,
Object object,
String anchor) |
String |
HtmlExportHrefEvaluator.createHref(ConversionContext context,
Page page,
String anchor) |
String |
HtmlExportHrefEvaluator.createHref(ConversionContext context,
WebLink link,
String anchor) |
Modifier and Type | Method and Description |
---|---|
boolean |
MigrationAware.MigrationPerformedPredicate.apply(ConversionContext conversionContext) |
boolean |
DelegatingMigrationAwareFragmentTransformer.handles(StartElement startElementEvent,
ConversionContext conversionContext) |
Streamable |
UrlLinkMarshaller.marshal(Link link,
ConversionContext conversionContext) |
ExceptionTolerantMigrator.MigrationResult |
XhtmlRoundTripMigrator.migrate(String inputStorageFormat,
ConversionContext conversionContext) |
ExceptionTolerantMigrator.MigrationResult |
WikiToXhtmlMigrator.migrate(String wiki,
ConversionContext conversionContext) |
ExceptionTolerantMigrator.MigrationResult |
ExceptionTolerantMigrator.migrate(String input,
ConversionContext conversionContext)
Migrate the supplied content.
|
Streamable |
DelegatingMigrationAwareFragmentTransformer.transform(XMLEventReader reader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
boolean |
MigrationAware.wasMigrationPerformed(ConversionContext conversionContext)
Given a
ConversionContext that was previously used to perform a migration, determine if that context
contains information that indicates whether a "migration" was performed. |
boolean |
DelegatingMigrationAwareFragmentTransformer.wasMigrationPerformed(ConversionContext conversionContext) |
Constructor and Description |
---|
XhtmlRoundTripMigrator(FragmentTransformer storageRoundTripFragmentTransformer,
XmlEventReaderFactory xmlEventReaderFactory,
com.google.common.base.Predicate<ConversionContext> migrationPerformedPredicate) |
Modifier and Type | Method and Description |
---|---|
static ResourceIdentifier |
ContextResourceIdentifierConverter.convert(ConversionContext context)
Deprecated.
|
ResourceIdentifier |
ResourceIdentifierFactory.getResourceIdentifier(Object resource,
ConversionContext context)
Creates a resource identifier for the specified resource.
|
ResourceIdentifier |
DefaultResourceIdentifierFactory.getResourceIdentifier(Object resource,
ConversionContext context) |
Attachment |
AttachmentResourceIdentifierResolver.resolve(AttachmentResourceIdentifier attachmentResourceIdentifier,
ConversionContext conversionContext) |
URI |
AttachmentResourceIdentifierOnlyUriResolver.resolve(AttachmentResourceIdentifier resourceIdentifier,
ConversionContext conversionContext) |
ContentEntityObject |
AttachmentOwningContentResolver.resolve(AttachmentResourceIdentifier resourceIdentifier,
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) |
Space |
SpaceResourceIdentifierResolver.resolve(SpaceResourceIdentifier resourceIdentifier,
ConversionContext conversionContext)
Resolves a SpaceResourceIdentifier to a Space if a Space for the given spacekey exists.
|
Y |
ResourceIdentifierResolver.resolve(X resourceIdentifier,
ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
boolean |
StorageEmbeddedImageUnmarshaller.handles(StartElement startElementEvent,
ConversionContext conversionContext) |
Streamable |
StorageEmbeddedImageMarshaller.marshal(EmbeddedImage embeddedImage,
ConversionContext conversionContext) |
EmbeddedImage |
StorageEmbeddedImageUnmarshaller.unmarshal(XMLEventReader xmlEventReader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
boolean |
StorageEmoticonUnmarshaller.handles(StartElement startElementEvent,
ConversionContext conversionContext) |
Streamable |
StorageEmoticonMarshaller.marshal(Emoticon emoticon,
ConversionContext conversionContext) |
Emoticon |
StorageEmoticonUnmarshaller.unmarshal(XMLEventReader xmlEventReader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
boolean |
StorageInlineCommentMarkerUnmarshaller.handles(StartElement startElementEvent,
ConversionContext conversionContext) |
Streamable |
StorageInlineCommentMarkerMarshaller.marshal(InlineCommentMarker inlineCommentMarker,
ConversionContext conversionContext) |
InlineCommentMarker |
StorageInlineCommentMarkerUnmarshaller.unmarshal(XMLEventReader xmlEventReader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
Modifier and Type | Method and 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) |
Modifier and Type | Method and Description |
---|---|
boolean |
StorageRichTextLinkBodyUnmarshaller.handles(StartElement startElementEvent,
ConversionContext conversionContext) |
boolean |
StoragePlainTextLinkBodyUnmarshaller.handles(StartElement startElementEvent,
ConversionContext conversionContext) |
boolean |
StorageLinkUnmarshaller.handles(StartElement startElementEvent,
ConversionContext conversionContext) |
Streamable |
StorageLinkBodyMarshaller.marshal(LinkBody<?> linkBody,
ConversionContext conversionContext) |
Streamable |
StorageLinkMarshaller.marshal(Link link,
ConversionContext conversionContext) |
LinkBody |
StorageRichTextLinkBodyUnmarshaller.unmarshal(XMLEventReader reader,
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'.
|
Link |
StorageLinkUnmarshaller.unmarshal(XMLEventReader linkReader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
MacroBody |
StorageMacroBodyParser.getMacroBody(String macroName,
XMLEventReader bodyReader,
ConversionContext context,
FragmentTransformer transformer)
Extract the MacroBody from the current position in the XMLEventReader.
|
MacroBody |
DefaultStorageMacroBodyParser.getMacroBody(String macroName,
XMLEventReader bodyReader,
ConversionContext context,
FragmentTransformer transformer) |
boolean |
StorageMacroV2Unmarshaller.handles(StartElement startElementEvent,
ConversionContext conversionContext) |
boolean |
StorageMacroV1Unmarshaller.handles(StartElement startElementEvent,
ConversionContext conversionContext) |
boolean |
DelegatingStorageMacroUnmarshaller.handles(StartElement startElementEvent,
ConversionContext conversionContext) |
Streamable |
StorageMacroV2Marshaller.marshal(MacroDefinition originalMacroDefinition,
ConversionContext conversionContext) |
Streamable |
StorageMacroV1Marshaller.marshal(MacroDefinition macroDefinition,
ConversionContext conversionContext) |
Streamable |
DelegatingStorageMacroMarshaller.marshal(MacroDefinition macroDefinition,
ConversionContext conversionContext)
Marshals the supplied
MacroDefinition using either V1 or V2 macro storage format. |
MacroDefinition |
StorageMacroV2Unmarshaller.unmarshal(XMLEventReader reader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
MacroDefinition |
StorageMacroV1Unmarshaller.unmarshal(XMLEventReader reader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
MacroDefinition |
DelegatingStorageMacroUnmarshaller.unmarshal(XMLEventReader reader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
boolean |
DelegatingStorageMacroMarshaller.wasMigrationPerformed(ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
String |
InlineBodyMacroFixingTransformer.transform(Reader input,
ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
boolean |
StoragePageLayoutUnMarshaller.handles(StartElement startElementEvent,
ConversionContext conversionContext) |
boolean |
StorageLegacyPageLayoutUnMarshaller.handles(StartElement startElement,
ConversionContext conversionContext) |
Streamable |
StoragePageLayoutMarshaller.marshal(PageLayout pagelayout,
ConversionContext conversionContext) |
PageLayout |
StoragePageLayoutUnMarshaller.unmarshal(XMLEventReader reader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
PageLayout |
StorageLegacyPageLayoutUnMarshaller.unmarshal(XMLEventReader xmlEventReader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
boolean |
StoragePlaceholderUnmarshaller.handles(StartElement startElementEvent,
ConversionContext conversionContext) |
Streamable |
StoragePlaceholderMarshaller.marshal(Placeholder placeholder,
ConversionContext conversionContext) |
Placeholder |
StoragePlaceholderUnmarshaller.unmarshal(XMLEventReader reader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
boolean |
StorageUserResourceIdentifierUnmarshaller.handles(StartElement startElementEvent,
ConversionContext conversionContext) |
boolean |
StorageResourceIdentifierUnmarshaller.handles(StartElement startElementEvent,
ConversionContext conversionContext) |
boolean |
DelegatingResourceIdentifierUnmarshaller.handles(StartElement startElementEvent,
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 |
MakeRelativeAndDelegateResourceIdentifierMarshaller.marshal(ResourceIdentifier resourceId,
ConversionContext conversionContext) |
Streamable |
DelegatingResourceIdentifierMarshaller.marshal(ResourceIdentifier resourceIdentifier,
ConversionContext conversionContext) |
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 supplied
UserResourceIdentifier to storage format. |
UserResourceIdentifier |
StorageUserResourceIdentifierUnmarshaller.unmarshal(XMLEventReader xmlEventReader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
ResourceIdentifier |
StorageResourceIdentifierUnmarshaller.unmarshal(XMLEventReader xmlEventReader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
ResourceIdentifier |
DelegatingResourceIdentifierUnmarshaller.unmarshal(XMLEventReader xmlEventReader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
boolean |
StorageUserResourceIdentifierMarshaller.wasMigrationPerformed(ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
boolean |
StorageTimeUnmarshaller.handles(StartElement startElementEvent,
ConversionContext conversionContext) |
Streamable |
StorageTimeMarshaller.marshal(Time time,
ConversionContext conversionContext) |
Time |
StorageTimeUnmarshaller.unmarshal(XMLEventReader reader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
boolean |
LazyLoadingFragmentTransformer.handles(StartElement startElementEvent,
ConversionContext conversionContext) |
boolean |
Html5VoidElementFragmentTransformer.handles(StartElement startElementEvent,
ConversionContext conversionContext) |
boolean |
Html5RawTextElementFragmentTransformer.handles(StartElement startElementEvent,
ConversionContext conversionContext) |
boolean |
FragmentTransformer.handles(StartElement startElementEvent,
ConversionContext conversionContext) |
boolean |
ElementTransformingFragmentTransformer.handles(StartElement startElementEvent,
ConversionContext conversionContext) |
boolean |
DefaultFragmentTransformer.handles(StartElement startElementEvent,
ConversionContext conversionContext)
This fragment converter handles every XHTML element that is not handled by any other converter.
|
String |
Transformer.transform(Reader input,
ConversionContext conversionContext) |
String |
RemoveApostropheEntityTransformer.transform(Reader input,
ConversionContext conversionContext) |
Streamable |
LegacyFragmentTransformer.transform(XMLEventReader reader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
Streamable |
LazyLoadingFragmentTransformer.transform(XMLEventReader reader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
Streamable |
Html5VoidElementFragmentTransformer.transform(XMLEventReader reader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
Streamable |
Html5RawTextElementFragmentTransformer.transform(XMLEventReader reader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
Streamable |
FragmentTransformer.transform(XMLEventReader reader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
Streamable |
ElementTransformingFragmentTransformer.transform(XMLEventReader reader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext)
Wraps the supplied reader in an ElementTransformingXmlEventReader and then applies the mainFragmentTransformer.
|
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.
|
abstract String |
LegacyFragmentTransformer.transformToString(XMLEventReader reader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
boolean |
DefaultFragmentTransformer.wasMigrationPerformed(ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
boolean |
ViewTableWrappingFragmentTransformer.handles(StartElement startElementEvent,
ConversionContext conversionContext) |
boolean |
ViewHtmlAnchorFragmentTransformer.handles(StartElement startElementEvent,
ConversionContext conversionContext) |
boolean |
ViewHeadingFragmentTransformer.handles(StartElement startElementEvent,
ConversionContext conversionContext) |
Streamable |
ViewTableWrappingFragmentTransformer.transform(XMLEventReader reader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
String |
ViewHtmlAnchorFragmentTransformer.transformToString(XMLEventReader reader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
String |
ViewHeadingFragmentTransformer.transformToString(XMLEventReader reader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
AttachedImageUnresolvedCommentCountAggregator |
AttachedImageRenderHelperImpl.getUnresolvedCommentCountAggregatorFrom(ConversionContext conversionContext) |
AttachedImageUnresolvedCommentCountAggregator |
AttachedImageRenderHelper.getUnresolvedCommentCountAggregatorFrom(ConversionContext conversionContext)
Get the Unresolved Comment Count Aggregator from the conversion context.
|
Streamable |
ViewEmbeddedImageMarshaller.marshal(EmbeddedImage embeddedImage,
ConversionContext conversionContext) |
Streamable |
EmbeddedImageMarshaller.marshal(EmbeddedImage embeddedImage,
ConversionContext conversionContext) |
Streamable |
DefaultAttachedImageResourceMarshaller.marshal(XmlStreamWriterTemplate xmlStreamWriterTemplate,
EmbeddedImage embeddedImage,
AttachmentResourceIdentifier attachmentResourceIdentifier,
ConversionContext conversionContext) |
Streamable |
AttachedImageMarshaller.marshal(XmlStreamWriterTemplate xmlStreamWriterTemplate,
EmbeddedImage embeddedImage,
AttachmentResourceIdentifier attachmentResourceIdentifier,
ConversionContext conversionContext) |
Streamable |
ViewUnidentifiedAttachmentMarshaller.marshalPlaceholder(XmlStreamWriterTemplate xmlStreamWriterTemplate,
EmbeddedImage embeddedImage,
AttachmentResourceIdentifier ri,
ConversionContext context) |
Streamable |
UnidentifiedAttachmentMarshaller.marshalPlaceholder(XmlStreamWriterTemplate xmlStreamWriterTemplate,
EmbeddedImage embeddedImage,
AttachmentResourceIdentifier ri,
ConversionContext context) |
void |
ViewEmbeddedImageTitleWriter.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 |
EmbeddedImageTagWriter.writeEmbeddedImageTag(XMLStreamWriter xmlStreamWriter,
Writer underlyingWriter,
Attachment attachment,
String imageSource,
String thumbnailSource,
EmbeddedImage embeddedImage,
ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
Streamable |
ViewEmoticonMarshaller.marshal(Emoticon emoticon,
ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
Streamable |
ViewInlineCommentMarkerMarshaller.marshal(InlineCommentMarker inlineCommentMarker,
ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
boolean |
ViewInlineTaskUnmarshaller.handles(StartElement startElementEvent,
ConversionContext conversionContext) |
Streamable |
ViewInlineTaskMarshaller.marshal(InlineTaskList inlineTaskList,
ConversionContext conversionContext) |
InlineTaskList |
ViewInlineTaskUnmarshaller.unmarshal(XMLEventReader xmlEventReader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
Streamable |
ViewCreatePageLinkMarshaller.marshal(CreatePageLink createPageLink,
ConversionContext conversionContext) |
Streamable |
ViewUserLinkMarshaller.marshal(Link userLink,
ConversionContext conversionContext) |
Streamable |
ViewUnresolvedLinkBodyMarshaller.marshal(Link link,
ConversionContext conversionContext) |
Streamable |
ViewSpaceLinkMarshaller.marshal(Link link,
ConversionContext conversionContext)
Marshals the given link to a String.
|
Streamable |
ViewShortcutLinkMarshaller.marshal(Link shortcutLink,
ConversionContext conversionContext) |
Streamable |
ViewPageLinkMarshaller.marshal(Link attachmentLink,
ConversionContext conversionContext) |
Streamable |
ViewLinkBodyMarshaller.marshal(Link link,
ConversionContext conversionContext) |
Streamable |
ViewIdAndTypeLinkMarshaller.marshal(Link link,
ConversionContext conversionContext) |
Streamable |
ViewDraftLinkMarshaller.marshal(Link link,
ConversionContext conversionContext) |
Streamable |
ViewContentEntityLinkMarshaller.marshal(Link link,
ConversionContext conversionContext) |
Streamable |
ViewBlogPostLinkMarshaller.marshal(Link link,
ConversionContext conversionContext) |
Streamable |
ViewAttachmentLinkMarshaller.marshal(Link attachmentLink,
ConversionContext conversionContext) |
void |
ViewAttachmentLinkMarshallingStrategy.marshal(Link attachmentLink,
XMLStreamWriter xmlStreamWriter,
ConversionContext context) |
Streamable |
ViewUnresolvedLinkMarshaller.marshal(UnresolvedLink unresolvedLink,
ConversionContext conversionContext) |
protected void |
ViewUnresolvedLinkMarshaller.writeAdditionalAttributes(UnresolvedLink unresolvedLink,
XMLStreamWriter xmlStreamWriter,
Marshaller<Link> unresolvedLinkBodyMarshaller,
ConversionContext conversionContext) |
void |
DefaultCommonLinkAttributesWriter.writeCommonAttributes(Link link,
XMLStreamWriter writer,
ConversionContext conversionContext) |
void |
CommonLinkAttributesWriter.writeCommonAttributes(Link link,
XMLStreamWriter writer,
ConversionContext conversionContext)
Writes attributes common to any link
|
Modifier and Type | Method and Description |
---|---|
Streamable |
ViewMacroWrapper.executeWrapMacro(ConversionContext context,
Macro macro,
MarshallerMetricsCollector metricsCollector,
MacroDefinition macroDefinition,
Map<String,String> macroParameters)
Deprecated.
since 5.9.0. Please use `wrap` instead
|
Streamable |
DefaultViewMacroWrapper.executeWrapMacro(ConversionContext context,
Macro macro,
MarshallerMetricsCollector metricsCollector,
MacroDefinition macroDefinition,
Map<String,String> macroParameters) |
Streamable |
ViewUnknownMacroMarshaller.marshal(MacroDefinition macroDefinition,
ConversionContext conversionContext) |
Streamable |
ViewMacroMarshaller.marshal(MacroDefinition macroDefinition,
ConversionContext conversionContext) |
String |
ViewMacroWrapper.wrap(ConversionContext context,
Macro.OutputType outputType,
String macroBody,
MacroDefinition macroDefinition,
boolean wrap) |
String |
DefaultViewMacroWrapper.wrap(ConversionContext context,
Macro.OutputType outputType,
String macroBody,
MacroDefinition macroDefinition,
boolean wrap) |
Modifier and Type | Method and Description |
---|---|
Streamable |
ViewPageLayoutMarshaller.marshal(PageLayout pagelayout,
ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
Streamable |
ViewPlaceholderMarshaller.marshal(Placeholder placeholder,
ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
Streamable |
ViewTimeMarshaller.marshal(Time time,
ConversionContext conversionContext) |
Modifier and Type | Method and 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) |
Modifier and Type | Method and 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 Function<AttachmentResourceIdentifier,Optional<Attachment>> |
AttachmentPrefetcher.prefetchedAttachments(ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
ResourceIdentifiers |
XhtmlResourceIdentifierExtractor.extractResourceIdentifiers(BodyContent storageFormatContent,
ConversionContext conversionContext) |
Modifier and Type | Method and 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,
ConversionContext conversionContext) |
static MarshallerMetricsCollector |
MarshallerMetricsCollectors.metricsCollector(ConversionContext context,
MarshallerMetricsAccumulationKey accumulationKey)
Obtain a
MarshallerMetricsCollector instance for the given accumulation key and context |
static MarshallerMetricsAnalyticsEvent |
MarshallerMetricsAnalyticsEventFactory.newMarshallerMetricsAnalyticsEvent(ConversionContext context,
MarshallerMetrics metrics,
String eventName,
String accumulationKey) |
static void |
MarshallerMetricsAccumulatorStack.pop(ConversionContext context) |
void |
MarshallerMetricsAnalyticsEventPublisher.publish(Object src,
ConversionContext context) |
void |
DeferredMarshallerMetricsAnalyticsEventPublisher.publish(Object src,
ConversionContext conversionContext) |
static void |
MarshallerMetricsAccumulatorStack.pushNewMetricsAccumulator(ConversionContext context) |
Modifier and Type | Method and Description |
---|---|
Streamable |
DelegatingEditorMacroMarshaller.marshal(MacroDefinition macroDefinition,
ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
MacroDefinition |
MacroSchemaMigrator.migrateSchemaIfNecessary(MacroDefinition macroDefinition,
ConversionContext context)
Migrates the macro definition to the latest version of it's macro schema.
|
MacroDefinition |
DefaultMacroSchemaMigrator.migrateSchemaIfNecessary(MacroDefinition macroDefinition,
ConversionContext context) |
Modifier and Type | Method and Description |
---|---|
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)
Rewrites any
UserKey s in UserResourceIdentifier s in the supplied storage format content, by
using the supplied function to map on userkey to another. |
Modifier and Type | Method and Description |
---|---|
MacroDefinition |
MacroDefinitionWikiMarkupDeserializer.deserializeWithTypedParameters(String serializedValue,
ConversionContext conversionContext) |
MacroDefinition |
MacroDefinitionRequestDeserializer.deserializeWithTypedParameters(String serializedValue,
ConversionContext conversionContext) |
MacroDefinition |
MacroDefinitionDeserializer.deserializeWithTypedParameters(String serializedValue,
ConversionContext conversionContext) |
String |
V2CompatibilityMacro.execute(Map<String,String> parameters,
String body,
ConversionContext conversionContext) |
String |
StreamableMacroAdapter.execute(Map<String,String> parameters,
String body,
ConversionContext context) |
String |
Macro.execute(Map<String,String> parameters,
String body,
ConversionContext context) |
String |
LazyLoadingMacroWrapper.execute(Map<String,String> parameters,
String body,
ConversionContext context) |
String |
GenericVelocityMacro.execute(Map<String,String> parameters,
String body,
ConversionContext context) |
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 an
ImagePlaceholder instance to be displayed in the editor. |
Modifier and Type | Method and Description |
---|---|
static MacroCountEvent |
MacroCountEventFactory.newMacroCreateCountEvent(Object src,
ContentEntityObject entity,
ConversionContext context,
MacroCount macroCount)
Constructs a macro creation analytics event event.
|
void |
MacroViewEventPublisher.publish(Object src,
ConversionContext context)
Deprecated.
Attempts to retrieve a
MacroCounter from the RenderContext
and publishes a MacroCountEvent for each type of macro
encountered during rendering. |
void |
MacroCreateEventPublisher.publish(Object src,
ConversionContext conversionContext)
Publishes a
MacroCountEvent for each type of newly added
macro encountered. |
Modifier and Type | Method and Description |
---|---|
String |
UnmigratedInlineWikiMarkupMacro.execute(Map<String,String> parameters,
String body,
ConversionContext context) |
String |
UnmigratedBlockWikiMarkupMacro.execute(Map<String,String> parameters,
String body,
ConversionContext context) |
Modifier and Type | Method and Description |
---|---|
MacroDefinition |
V2MacroToUnmigratedWikiMarkupMacroMigration.migrate(MacroDefinition macroDefinition,
ConversionContext conversionContext) |
MacroDefinition |
RichTextMacroMigration.migrate(MacroDefinition macroDefinition,
ConversionContext conversionContext) |
MacroDefinition |
PlainTextMacroMigration.migrate(MacroDefinition macro,
ConversionContext context) |
MacroDefinition |
MacroMigration.migrate(MacroDefinition macro,
ConversionContext context)
Migrates a wiki-markup representation of a macro to XHTML
|
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.
|
Modifier and Type | Method and Description |
---|---|
ConversionContext |
ConversionContextCreator.createConversionContext(ContentEntityObject ceo) |
Modifier and Type | Method and Description |
---|---|
void |
NotificationsSender.sendNetworkNotifications(NotificationData notificationData,
ConversionContext conversionContext)
Sends notifications based on users following other users.
|
void |
DefaultNotificationsSender.sendNetworkNotifications(NotificationData notificationData,
ConversionContext conversionContext) |
void |
DefaultNotificationsSender.sendNotification(ConfluenceUser toUser,
NotificationContext context,
NotificationData notificationData,
ConversionContext conversionContext) |
void |
NotificationsSender.sendNotification(Notification notification,
NotificationData notificationData,
ConversionContext conversionContext)
Sends content-based notifications.
|
void |
DefaultNotificationsSender.sendNotification(Notification notification,
NotificationData notificationData,
ConversionContext conversionContext) |
void |
NotificationsSender.sendNotification(String recipient,
NotificationContext context,
NotificationData notificationData,
ConversionContext conversionContext)
Sends a notification.
|
void |
DefaultNotificationsSender.sendNotification(String recipient,
NotificationContext context,
NotificationData notificationData,
ConversionContext conversionContext)
Sends a notification.
|
void |
NotificationsSender.sendNotifications(List<Notification> notifications,
NotificationData notificationData,
ConversionContext conversionContext)
Sends the notificationData to each user listed in
notifications , as long as they are
permitted to see it. |
void |
DefaultNotificationsSender.sendNotifications(List<Notification> notifications,
NotificationData notificationData,
ConversionContext conversionContext) |
void |
NotificationsSender.sendPageNotifications(AbstractPage page,
NotificationData notificationData,
ConversionContext conversionContext)
Sends page based notifications.
|
void |
DefaultNotificationsSender.sendPageNotifications(AbstractPage page,
NotificationData notificationData,
ConversionContext conversionContext) |
void |
NotificationsSender.sendSpaceNotifications(Space space,
NotificationData notificationData,
ConversionContext conversionContext)
Sends space based notifications.
|
void |
DefaultNotificationsSender.sendSpaceNotifications(Space space,
NotificationData notificationData,
ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
protected ConversionContext |
AbstractNotificationsListener.getConversionContext(NotificationData notificationData) |
protected ConversionContext |
AbstractContentNotificationsListener.getConversionContext(NotificationData notificationData) |
Modifier and Type | Method and Description |
---|---|
protected ConversionContext |
AbstractPreviewPageAction.getConversionContext() |
Modifier and Type | Method and Description |
---|---|
String |
SpaceJumpMacro.execute(Map<String,String> parameters,
String body,
ConversionContext conversionContext) |
MacroDefinition |
SpaceJumpMacroMigrator.migrate(MacroDefinition macroDefinition,
ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
String |
LinkMacro.execute(Map<String,String> parameters,
String body,
ConversionContext context) |
Modifier and Type | Method and Description |
---|---|
String |
LoremIpsumMacro.execute(Map<String,String> parameters,
String body,
ConversionContext context) |
Modifier and Type | Method and Description |
---|---|
String |
StorageToViewTemplateVariablesTransformer.transform(Reader input,
ConversionContext conversionContext) |
String |
StorageToEditorTemplateVariablesTransformer.transform(Reader input,
ConversionContext conversionContext) |
String |
EditorToStorageTemplateVariablesTransformer.transform(Reader input,
ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
EmbeddedImage |
EditorFormatService.convertEditToEmbeddedImage(String editFragment,
ConversionContext context)
Returns a
EmbeddedImage from the supplied editFragment . |
Link |
EditorFormatService.convertEditToLink(String editFragment,
ConversionContext context)
Returns a
MacroDefinition from the supplied editFragment . |
MacroDefinition |
EditorFormatService.convertEditToMacroDefinition(String editFragment,
ConversionContext context)
Returns a
MacroDefinition from the supplied editFragment . |
String |
EditorFormatService.convertEditToStorage(String editFragment,
ConversionContext context)
Returns an storage format fragment for the supplied
editFragment . |
String |
EditorFormatService.convertEmbeddedImageToEdit(EmbeddedImage embeddedImage,
ConversionContext context)
Returns an edit format fragment for the supplied
embeddedImage . |
String |
XhtmlContent.convertEmbeddedImageToStorage(EmbeddedImage embeddedImage,
ConversionContext context)
Returns a storage format fragment for the supplied
embeddedImage . |
String |
XhtmlContent.convertEmbeddedImageToView(EmbeddedImage embeddedImage,
ConversionContext context)
Returns a view format fragment for the supplied
embeddedImage . |
String |
XhtmlContent.convertInlineTaskListToStorage(InlineTaskList inlineTaskList,
ConversionContext context)
Returns a storage format fragment for the supplied
inlineTaskList . |
String |
XhtmlContent.convertInlineTaskListToView(InlineTaskList inlineTaskList,
ConversionContext context)
Returns a view format fragment for the supplied
inlineTaskList . |
String |
EditorFormatService.convertLinkToEdit(Link link,
ConversionContext context)
Returns an edit format fragment for the supplied
link . |
String |
XhtmlContent.convertLinkToStorage(Link link,
ConversionContext context)
Returns a storage format fragment for the supplied
link . |
String |
XhtmlContent.convertLinkToView(Link link,
ConversionContext context)
Returns a view format fragment for the supplied
link . |
String |
EditorFormatService.convertMacroDefinitionToEdit(MacroDefinition macroDefinition,
ConversionContext context)
Returns an edit format fragment for the supplied
macroDefinition . |
String |
XhtmlContent.convertMacroDefinitionToStorage(MacroDefinition macroDefinition,
ConversionContext context)
Returns an storage format fragment for the supplied
macroDefinition . |
String |
XhtmlContent.convertMacroDefinitionToView(MacroDefinition macroDefinition,
ConversionContext context)
Returns a view format fragment for the supplied
macroDefinition . |
String |
EditorFormatService.convertStorageToEdit(String storageFragment,
ConversionContext context)
Returns an edit format fragment for the supplied
storageFragment . |
String |
XhtmlContent.convertStorageToView(String storageFragment,
ConversionContext context)
Returns a view format fragment for the supplied
storageFragment . |
String |
EditorFormatService.convertWikiToEdit(String wikiContent,
ConversionContext context)
Returns the XHTML edit format equivalent of the supplied
wikiContent (Wiki markup). |
String |
XhtmlContent.convertWikiToStorage(String wikiContent,
ConversionContext context,
List<RuntimeException> migrationExceptions)
Returns the XHTML storage format equivalent of the supplied
wikiContent (wiki markup). |
String |
XhtmlContent.convertWikiToView(String wikiContent,
ConversionContext context,
List<RuntimeException> migrationExceptions)
Returns the HTML view format equivalent of the supplied
wikiContent . |
boolean |
XhtmlVisitor.handle(XMLEvent xmlEvent,
ConversionContext context)
Called on each XMLEvent during a parse of an XHTML document.
|
boolean |
PageLayoutVisitor.handle(XMLEvent xmlEvent,
ConversionContext context) |
void |
XhtmlContent.handleMacroDefinitions(String storageFragment,
ConversionContext context,
MacroDefinitionHandler handler)
Perform an operation on
MacroDefinition s in the supplied storageFragment without making changes
to the storage representation. |
void |
XhtmlContent.handleMacroDefinitions(String storageFragment,
ConversionContext context,
MacroDefinitionHandler handler,
MacroDefinitionMarshallingStrategy strategy)
Perform an operation on
MacroDefinition s in the supplied storageFragment , with optional changes
to the storage representation defined by the MacroDefinitionMarshallingStrategy . |
void |
XhtmlContent.handleXhtmlElements(String storageFragment,
ConversionContext context,
List<? extends XhtmlVisitor> visitors)
Provides a mechanism for finding arbitrary Xhtml elements in the supplied
storageFormat . |
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)
Replaces
MacroDefinition s in the supplied storageFragment with a String. |
String |
XhtmlContent.updateMacroDefinitions(String storageFragment,
ConversionContext context,
MacroDefinitionUpdater updater)
Updates
MacroDefinition s in the supplied storageFragment . |
Modifier and Type | Method and Description |
---|---|
String |
UnprocessedBodyMacro.execute(Map<String,String> parameters,
String body,
ConversionContext context) |
String |
ProcessedBodyMacro.execute(Map<String,String> parameters,
String body,
ConversionContext context) |
Modifier and Type | Method and Description |
---|---|
String |
ParameterJsonMacro.execute(Map<String,String> parameters,
String body,
ConversionContext context) |
MacroDefinition |
ParameterMacroMigrator.migrate(MacroDefinition macro,
ConversionContext context) |
MacroDefinition |
ExceptionThrowingMacroMigrator.migrate(MacroDefinition macro,
ConversionContext context) |
Copyright © 2003–2017 Atlassian. All rights reserved.