Modifier and Type | Class and Description |
---|---|
class |
XhtmlParsingException |
class |
XhtmlTimeoutException
A checked exception indicating that an Xhtml Conversion has exceeded its allocated time limit.
|
Modifier and Type | Method and Description |
---|---|
static XhtmlException |
StaxUtils.convertToXhtmlException(com.ctc.wstx.exc.WstxLazyException ex)
Take a WstxLazyException as a parameter and return the appropriate XhtmlException for the Woodstox exception supplied.
|
Modifier and Type | Method and Description |
---|---|
String |
FormatConverter.cleanEditorFormat(String editorFormat,
com.atlassian.renderer.RenderContext renderContext)
Cleans the editor format
|
String |
DefaultFormatConverter.cleanEditorFormat(String wysiwygContent,
com.atlassian.renderer.RenderContext renderContext) |
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 |
FormatConverter.convertToStorageFormat(String wysiwygContent,
com.atlassian.renderer.RenderContext renderContext)
Returns the content that has been submitted as part of a user's attempt to add new content or edit existing content.
|
String |
DefaultFormatConverter.convertToStorageFormat(String wysiwygContent,
com.atlassian.renderer.RenderContext renderContext) |
String |
DefaultEditorFormatService.convertWikiToEdit(String wikiContent,
ConversionContext context) |
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) |
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.
|
String |
LinkRenderer.render(ContentEntityObject content,
ConversionContext conversionContext)
Renders link to specified content using the display name of the content as the link body.
|
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 |
DefaultXhtmlContent.replaceMacroDefinitionsWithString(String storageFragment,
ConversionContext context,
MacroDefinitionReplacer replacer) |
String |
PluggableTransformerChain.transform(Reader input,
ConversionContext conversionContext) |
String |
TransformerChain.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) |
Modifier and Type | Method and Description |
---|---|
String |
EditorConverter.convert(String editorFormat,
ConversionContext conversionContext) |
String |
DefaultEditorConverter.convert(String editorFormat,
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 |
---|---|
Streamable |
EditorUnidentifiedAttachmentMarshaller.marshalPlaceholder(XmlStreamWriterTemplate xmlStreamWriterTemplate,
EmbeddedImage embeddedImage,
AttachmentResourceIdentifier attachmentResourceIdentifier,
ConversionContext conversionContext) |
EmbeddedImage |
EditorEmbeddedImageResourceUnmarshaller.unmarshal(XMLEventReader xmlEventReader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
Streamable |
EditorEmoticonMarshaller.marshal(Emoticon emoticon,
ConversionContext conversionContext) |
Emoticon |
EditorEmoticonUnmarshaller.unmarshal(XMLEventReader xmlEventReader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
InlineCommentMarker |
EditorInlineCommentMarkerUnmarshaller.unmarshal(XMLEventReader xmlEventReader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
LinkBody |
EditorLinkBodyUnmarshaller.unmarshal(XMLEventReader linkFragmentReader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
Link |
EditorLinkUnmarshaller.unmarshal(XMLEventReader reader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
Streamable |
EditorMacroMarshaller.marshal(MacroDefinition macroDefinition,
ConversionContext conversionContext) |
Streamable |
CustomPlaceholderEditorMarshaller.marshal(Macro macro,
MacroDefinition macroDefinition,
ConversionContext conversionContext) |
Streamable |
EditorBodilessMacroMarshaller.marshal(Macro macro,
MacroDefinition macroDefinition,
ConversionContext conversionContext) |
Streamable |
CustomImageEditorMacroMarshaller.marshal(Macro macro,
MacroDefinition macroDefinition,
ConversionContext conversionContext) |
Streamable |
MacroMarshaller.marshal(Macro macro,
MacroDefinition macroDefinition,
ConversionContext conversionContext)
Marshall the supplied macro.
|
Streamable |
ImprovedEditorUnknownMacroMarshaller.marshal(Macro macro,
MacroDefinition macroDefinition,
ConversionContext conversionContext) |
Streamable |
EditorBodyMacroMarshaller.marshal(Macro macro,
MacroDefinition macroDefinition,
ConversionContext conversionContext) |
MacroDefinition |
EditorMacroUnmarshaller.unmarshal(XMLEventReader reader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
PageLayout |
EditorPageLayoutUnMarshaller.unmarshal(XMLEventReader xmlEventReader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
Streamable |
EditorPlaceholderMarshaller.marshal(Placeholder placeholder,
ConversionContext conversionContext) |
Placeholder |
EditorPlaceholderUnmarshaller.unmarshal(XMLEventReader reader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
ResourceIdentifier |
EditorSpaceResourceIdentifierMarshallerAndUnmarshaller.unmarshal(XMLEventReader xmlEventReader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
ResourceIdentifier |
EditorShortcutResourceIdentifierMarshallerAndUnmarshaller.unmarshal(XMLEventReader xmlEventReader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
IdAndTypeResourceIdentifier |
EditorIdAndTypeResourceIdentifierUnmarshaller.unmarshal(XMLEventReader xmlEventReader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
ResourceIdentifier |
IdAndTypeAnalyzingResourceIdentifierUnmarshaller.unmarshal(XMLEventReader xmlEventReader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
ResourceIdentifier |
EditorBlogPostResourceIdentifierMarshallerAndUnmarshaller.unmarshal(XMLEventReader xmlEventReader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
ResourceIdentifier |
EditorUserResourceIdentifierMarshallerAndUnmarshaller.unmarshal(XMLEventReader xmlEventReader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
ResourceIdentifier |
EditorAttachmentResourceIdentifierMarshallerAndUnmarshaller.unmarshal(XMLEventReader xmlEventReader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
ResourceIdentifier |
EditorPageResourceIdentifierMarshallerAndUnmarshaller.unmarshal(XMLEventReader xmlEventReader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
Time |
EditorTimeUnmarshaller.unmarshal(XMLEventReader reader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
Emoticon |
ImageLinkEmoticonUnmarshaller.unmarshal(XMLEventReader xmlEventReader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
Streamable |
UrlLinkMarshaller.marshal(Link link,
ConversionContext conversionContext) |
String |
ExceptionThrowingMigrator.migrate(String input,
com.atlassian.renderer.RenderContext renderContext)
Migrate the supplied text to a different text format.
|
String |
WikiToEditorHtmlMigrator.migrate(String wiki,
com.atlassian.renderer.RenderContext renderContext) |
Streamable |
DelegatingMigrationAwareFragmentTransformer.transform(XMLEventReader reader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
Modifier and Type | Class and Description |
---|---|
class |
CannotResolveAttachmentContainerException
Checked exception thrown when there is an issue resolving a resource identifier for an attachment.
|
class |
CannotResolveResourceIdentifierException
Checked exception thrown when there is an issue resolving a resource identifier.
|
Modifier and Type | Method and Description |
---|---|
void |
MacroDefinitionTransformer.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 |
MacroDefinitionTransformer.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 . |
String |
MacroDefinitionTransformer.replaceMacroDefinitionsWithString(String storageFragment,
ConversionContext context,
MacroDefinitionReplacer replacer)
Replaces
MacroDefinition s in the supplied storageFragment 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)
Updates
MacroDefinition s in the supplied storageFragment . |
Modifier and Type | Method and Description |
---|---|
Streamable |
StorageEmbeddedImageMarshaller.marshal(EmbeddedImage embeddedImage,
ConversionContext conversionContext) |
EmbeddedImage |
StorageEmbeddedImageUnmarshaller.unmarshal(XMLEventReader xmlEventReader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
Streamable |
StorageEmoticonMarshaller.marshal(Emoticon emoticon,
ConversionContext conversionContext) |
Emoticon |
StorageEmoticonUnmarshaller.unmarshal(XMLEventReader xmlEventReader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
Streamable |
StorageInlineCommentMarkerMarshaller.marshal(InlineCommentMarker inlineCommentMarker,
ConversionContext conversionContext) |
InlineCommentMarker |
StorageInlineCommentMarkerUnmarshaller.unmarshal(XMLEventReader xmlEventReader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
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 |
---|---|
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 |
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.
|
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. |
Streamable |
StorageMacroV2Marshaller.marshal(MacroDefinition originalMacroDefinition,
ConversionContext conversionContext) |
MacroDefinition |
StorageMacroV1Unmarshaller.unmarshal(XMLEventReader reader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
MacroDefinition |
StorageMacroV2Unmarshaller.unmarshal(XMLEventReader reader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
MacroDefinition |
DelegatingStorageMacroUnmarshaller.unmarshal(XMLEventReader reader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
String |
InlineBodyMacroFixingTransformer.transform(Reader input,
ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
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 |
---|---|
Streamable |
StoragePlaceholderMarshaller.marshal(Placeholder placeholder,
ConversionContext conversionContext) |
Placeholder |
StoragePlaceholderUnmarshaller.unmarshal(XMLEventReader reader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
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 |
DelegatingResourceIdentifierUnmarshaller.unmarshal(XMLEventReader xmlEventReader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
ResourceIdentifier |
StorageResourceIdentifierUnmarshaller.unmarshal(XMLEventReader xmlEventReader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
Streamable |
StorageTimeMarshaller.marshal(Time time,
ConversionContext conversionContext) |
Time |
StorageTimeUnmarshaller.unmarshal(XMLEventReader reader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
String |
RemoveApostropheEntityTransformer.transform(Reader input,
ConversionContext conversionContext) |
String |
Transformer.transform(Reader input,
ConversionContext conversionContext) |
Streamable |
LazyLoadingFragmentTransformer.transform(XMLEventReader reader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
Streamable |
FragmentTransformer.transform(XMLEventReader reader,
FragmentTransformer mainFragmentTransformer,
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 |
Html5VoidElementFragmentTransformer.transform(XMLEventReader reader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
Streamable |
LegacyFragmentTransformer.transform(XMLEventReader reader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
Streamable |
Html5RawTextElementFragmentTransformer.transform(XMLEventReader reader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
abstract String |
LegacyFragmentTransformer.transformToString(XMLEventReader reader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
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 |
---|---|
Streamable |
EmbeddedImageMarshaller.marshal(EmbeddedImage embeddedImage,
ConversionContext conversionContext) |
Streamable |
ViewEmbeddedImageMarshaller.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 |
UnidentifiedAttachmentMarshaller.marshalPlaceholder(XmlStreamWriterTemplate xmlStreamWriterTemplate,
EmbeddedImage embeddedImage,
AttachmentResourceIdentifier ri,
ConversionContext context) |
Streamable |
ViewUnidentifiedAttachmentMarshaller.marshalPlaceholder(XmlStreamWriterTemplate xmlStreamWriterTemplate,
EmbeddedImage embeddedImage,
AttachmentResourceIdentifier ri,
ConversionContext context) |
Modifier and Type | Method and Description |
---|---|
List<DataSource> |
DefaultExcerpter.extractImageSrc(ContentEntityObject ceo,
int maxImages) |
List<DataSource> |
Excerpter.extractImageSrc(ContentEntityObject ceo,
int numImages) |
List<DataSource> |
DefaultExcerpter.extractImageSrc(ContentEntityObject ceo,
int maxImages,
boolean alwaysUseThumbnails) |
List<DataSource> |
Excerpter.extractImageSrc(ContentEntityObject ceo,
int numImages,
boolean useThumbnails) |
List<URI> |
DefaultExcerpter.extractImageThumbnailUris(ContentEntityObject contentEntity,
int maxUris) |
List<URI> |
Excerpter.extractImageThumbnailUris(ContentEntityObject contentEntity,
int maxUris)
Returns the URIs of thumbnails for each of the images attached to the specified content entity.
|
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 |
---|---|
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 |
ViewPageTemplateLinkMarshaller.marshal(Link attachmentLink,
ConversionContext conversionContext) |
Streamable |
ViewDraftLinkMarshaller.marshal(Link link,
ConversionContext conversionContext) |
Streamable |
ViewContentEntityLinkMarshaller.marshal(Link link,
ConversionContext conversionContext) |
Streamable |
ViewSpaceLinkMarshaller.marshal(Link link,
ConversionContext conversionContext)
Marshals the given link to a String.
|
Streamable |
ViewUserLinkMarshaller.marshal(Link userLink,
ConversionContext conversionContext) |
Streamable |
ViewAttachmentLinkMarshaller.marshal(Link attachmentLink,
ConversionContext conversionContext) |
Streamable |
ViewShortcutLinkMarshaller.marshal(Link shortcutLink,
ConversionContext conversionContext) |
Streamable |
ViewIdAndTypeLinkMarshaller.marshal(Link link,
ConversionContext conversionContext) |
Streamable |
ViewBlogPostLinkMarshaller.marshal(Link link,
ConversionContext conversionContext) |
Streamable |
ViewLinkBodyMarshaller.marshal(Link link,
ConversionContext conversionContext) |
Streamable |
ViewPageLinkMarshaller.marshal(Link attachmentLink,
ConversionContext conversionContext) |
Streamable |
ViewUnresolvedLinkBodyMarshaller.marshal(Link link,
ConversionContext conversionContext) |
Streamable |
ViewUnresolvedLinkMarshaller.marshal(UnresolvedLink unresolvedLink,
ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
Streamable |
ViewMacroMarshaller.marshal(MacroDefinition macroDefinition,
ConversionContext conversionContext) |
Streamable |
ViewUnknownMacroMarshaller.marshal(MacroDefinition macroDefinition,
ConversionContext conversionContext) |
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 |
XhtmlResourceIdentifierExtractor.extractResourceIdentifiers(BodyContent storageFormatContent,
ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
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) |
Modifier and Type | Method and Description |
---|---|
Streamable |
MetricsCollectingMarshaller.marshal(T object,
@Nullable ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
Streamable |
DelegatingEditorMacroMarshaller.marshal(MacroDefinition macroDefinition,
ConversionContext conversionContext) |
Modifier and Type | Method and 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.
|
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)
Deprecated.
|
StorageFormatUserRewriter.RewriteResult |
StorageFormatUserRewriter.transformUserKeysInContent(String importedStorageFormat,
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 |
---|---|
void |
CreatePageAction.createPage() |
void |
AbstractCreatePageAction.createPage()
Create the CEO to be saved from the data supplied to the action.
|
protected String |
AbstractPreviewPageAction.getContentForSaving()
Returns the content that has been submitted as part of a user's attempt to add new content or edit existing content.
|
protected String |
AbstractPreviewPageAction.getStorageFormat() |
List |
PageVariablesAction.getTemplateVariables() |
String |
AbstractPreviewPageAction.getWysiwygContent()
Either -
return the content entered via the editor (in the case of returning to the edit page due to validation failures or things like that).
|
Modifier and Type | Method and Description |
---|---|
String |
TemplateHandler.generateEditorFormat(PageTemplate template,
List<? extends Variable> variables,
String spaceKey) |
String |
WikiTemplateHandler.generateEditorFormat(PageTemplate template,
List<? extends Variable> variables,
String spaceKey) |
String |
XhtmlTemplateHandler.generateEditorFormat(PageTemplate template,
List<? extends Variable> variables,
String spaceKey) |
List |
PageTemplateManager.getTemplateVariables(PageTemplate template) |
List<Variable> |
TemplateHandler.getTemplateVariables(PageTemplate template) |
List |
DefaultPageTemplateManager.getTemplateVariables(PageTemplate template) |
List<Variable> |
XhtmlTemplateHandler.getTemplateVariables(PageTemplate template) |
String |
PageTemplateManager.mergeVariables(PageTemplate template,
List variables,
String spaceKey) |
String |
DefaultPageTemplateManager.mergeVariables(PageTemplate template,
List variables,
String spaceKey) |
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) |
static String |
TransformUtils.unspoilt(Reader reader) |
Modifier and Type | Method and Description |
---|---|
String |
FuncTestRpcHandlerImpl.createTemplate(String token,
String templateName,
String content,
String spaceKey) |
String |
FuncTestRpcHandler.createTemplate(String token,
String templateName,
String content,
String spaceKey)
Create a new template.
|
String |
FuncTestRpcDelegator.createTemplate(String token,
String templateName,
String content,
String spaceKey) |
String |
FuncTestRpcHandlerImpl.createTemplateWithStorageFormat(String token,
String templateName,
String storageFormat,
String spaceKey) |
String |
FuncTestRpcHandler.createTemplateWithStorageFormat(String token,
String templateName,
String storageFormat,
String spaceKey)
Create a new template from storage format code.
|
String |
FuncTestRpcDelegator.createTemplateWithStorageFormat(String token,
String templateName,
String storageFormat,
String spaceKey) |
Modifier and Type | Method and Description |
---|---|
CommentResult |
CommentRenderService.render(Comment comment,
boolean actions,
javax.servlet.http.HttpServletRequest req) |
CommentResult |
CommentRenderService.render(Comment comment,
boolean actions,
javax.servlet.http.HttpServletRequest req,
int maxLength,
boolean plainTextOnly)
Create the JSON representation of a Comment
|
Modifier and Type | Method and Description |
---|---|
CommentResult |
CommentRenderServiceImpl.render(Comment comment,
boolean hasActions,
javax.servlet.http.HttpServletRequest httpRequest) |
CommentResult |
CommentRenderServiceImpl.render(Comment comment,
boolean hasActions,
javax.servlet.http.HttpServletRequest httpRequest,
int maxLength,
boolean plainTextOnly) |
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.convertWikiToView(String wikiContent,
ConversionContext context,
List<RuntimeException> migrationExceptions)
Returns the HTML view format equivalent of the supplied
wikiContent . |
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 |
MacroDefinitionReplacer.replace(MacroDefinition macroDefinition)
Called each time a macro definition is found in the content, so that each definition may be replaced
different content.
|
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 . |
Copyright © 2003–2021 Atlassian. All rights reserved.