Uses of Class
com.atlassian.confluence.content.render.xhtml.XhtmlException
-
-
Uses of XhtmlException in com.atlassian.confluence.content.render.xhtml
Subclasses of XhtmlException in com.atlassian.confluence.content.render.xhtml Modifier and Type Class Description class
XhtmlParsingException
class
XhtmlTimeoutException
A checked exception indicating that an Xhtml Conversion has exceeded its allocated time limit.Methods in com.atlassian.confluence.content.render.xhtml that return XhtmlException Modifier and Type Method 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.Methods in com.atlassian.confluence.content.render.xhtml that throw XhtmlException Modifier and Type Method Description String
DefaultFormatConverter. cleanEditorFormat(String wysiwygContent, com.atlassian.renderer.RenderContext renderContext)
String
FormatConverter. cleanEditorFormat(String editorFormat, com.atlassian.renderer.RenderContext renderContext)
Cleans the editor formatEmbeddedImage
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
DefaultFormatConverter. convertToStorageFormat(String wysiwygContent, com.atlassian.renderer.RenderContext renderContext)
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
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
DefaultLinkRenderer. render(ContentEntityObject content, ConversionContext conversionContext)
String
DefaultLinkRenderer. render(ContentEntityObject content, String linkAlias, ConversionContext conversionContext)
String
LinkRenderer. render(ContentEntityObject content, ConversionContext conversionContext)
Renders link to specified content using the display name of the content as the link body.String
LinkRenderer. render(ContentEntityObject content, String linkAlias, ConversionContext conversionContext)
Renders link to specified content with specified alias.String
DefaultXhtmlContent. replaceMacroDefinitionsWithString(String storageFragment, ConversionContext context, MacroDefinitionReplacer replacer)
Streamable
MarshallingFragmentTransformer. transform(XMLEventReader reader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
String
PluggableTransformerChain. transform(Reader input, ConversionContext conversionContext)
String
TransformerChain. transform(Reader input, ConversionContext conversionContext)
Streamable
UnmarshalMarshalFragmentTransformer. transform(XMLEventReader reader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
T
Unmarshaller. unmarshal(XMLEventReader xmlEventReader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
Unmarshalls a StAX event stream to an object.String
DefaultXhtmlContent. updateMacroDefinitions(String storageFragment, ConversionContext context, MacroDefinitionUpdater updater)
-
Uses of XhtmlException in com.atlassian.confluence.content.render.xhtml.editor
Methods in com.atlassian.confluence.content.render.xhtml.editor that throw XhtmlException Modifier and Type Method Description String
DefaultEditorConverter. convert(String editorFormat, ConversionContext conversionContext)
String
EditorConverter. convert(String editorFormat, ConversionContext conversionContext)
Streamable
EditorErrorFragmentTransformer. transform(XMLEventReader reader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
String
EditorXhtmlTransformer. transform(Reader editorFormatXml, ConversionContext conversionContext)
Begin consuming events from the supplied Reader, ignore all elements until the body is encountered, at which point the fragment transformation begins. -
Uses of XhtmlException in com.atlassian.confluence.content.render.xhtml.editor.embed
Methods in com.atlassian.confluence.content.render.xhtml.editor.embed that throw XhtmlException Modifier and Type Method Description Streamable
EditorUnidentifiedAttachmentMarshaller. marshalPlaceholder(XmlStreamWriterTemplate xmlStreamWriterTemplate, EmbeddedImage embeddedImage, AttachmentResourceIdentifier attachmentResourceIdentifier, ConversionContext conversionContext)
EmbeddedImage
EditorEmbeddedImageResourceUnmarshaller. unmarshal(XMLEventReader xmlEventReader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
-
Uses of XhtmlException in com.atlassian.confluence.content.render.xhtml.editor.inline
Methods in com.atlassian.confluence.content.render.xhtml.editor.inline that throw XhtmlException Modifier and Type Method Description Streamable
EditorEmoticonMarshaller. marshal(Emoticon emoticon, ConversionContext conversionContext)
Emoticon
EditorEmoticonUnmarshaller. unmarshal(XMLEventReader xmlEventReader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
-
Uses of XhtmlException in com.atlassian.confluence.content.render.xhtml.editor.inlinecommentmarker
Methods in com.atlassian.confluence.content.render.xhtml.editor.inlinecommentmarker that throw XhtmlException Modifier and Type Method Description InlineCommentMarker
EditorInlineCommentMarkerUnmarshaller. unmarshal(XMLEventReader xmlEventReader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
-
Uses of XhtmlException in com.atlassian.confluence.content.render.xhtml.editor.link
Methods in com.atlassian.confluence.content.render.xhtml.editor.link that throw XhtmlException Modifier and Type Method Description LinkBody
EditorLinkBodyUnmarshaller. unmarshal(XMLEventReader linkFragmentReader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
Link
EditorLinkUnmarshaller. unmarshal(XMLEventReader reader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
-
Uses of XhtmlException in com.atlassian.confluence.content.render.xhtml.editor.macro
Methods in com.atlassian.confluence.content.render.xhtml.editor.macro that throw XhtmlException Modifier and Type Method Description Streamable
CustomImageEditorMacroMarshaller. marshal(Macro macro, MacroDefinition macroDefinition, ConversionContext conversionContext)
Streamable
CustomPlaceholderEditorMarshaller. marshal(Macro macro, MacroDefinition macroDefinition, ConversionContext conversionContext)
Streamable
EditorBodilessMacroMarshaller. marshal(Macro macro, MacroDefinition macroDefinition, ConversionContext conversionContext)
Streamable
EditorBodyMacroMarshaller. marshal(Macro macro, MacroDefinition macroDefinition, ConversionContext conversionContext)
Streamable
EditorMacroMarshaller. marshal(MacroDefinition macroDefinition, ConversionContext conversionContext)
Streamable
ImprovedEditorUnknownMacroMarshaller. marshal(Macro macro, MacroDefinition macroDefinition, ConversionContext conversionContext)
Streamable
MacroMarshaller. marshal(Macro macro, MacroDefinition macroDefinition, ConversionContext conversionContext)
Marshall the supplied macro.MacroDefinition
EditorMacroUnmarshaller. unmarshal(XMLEventReader reader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
-
Uses of XhtmlException in com.atlassian.confluence.content.render.xhtml.editor.pagelayouts
Methods in com.atlassian.confluence.content.render.xhtml.editor.pagelayouts that throw XhtmlException Modifier and Type Method Description PageLayout
EditorPageLayoutUnMarshaller. unmarshal(XMLEventReader xmlEventReader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
-
Uses of XhtmlException in com.atlassian.confluence.content.render.xhtml.editor.placeholder
Methods in com.atlassian.confluence.content.render.xhtml.editor.placeholder that throw XhtmlException Modifier and Type Method Description Streamable
EditorPlaceholderMarshaller. marshal(Placeholder placeholder, ConversionContext conversionContext)
Placeholder
EditorPlaceholderUnmarshaller. unmarshal(XMLEventReader reader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
-
Uses of XhtmlException in com.atlassian.confluence.content.render.xhtml.editor.resource.identifiers
Methods in com.atlassian.confluence.content.render.xhtml.editor.resource.identifiers that throw XhtmlException Modifier and Type Method Description ResourceIdentifier
EditorAttachmentResourceIdentifierMarshallerAndUnmarshaller. unmarshal(XMLEventReader xmlEventReader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
ResourceIdentifier
EditorBlogPostResourceIdentifierMarshallerAndUnmarshaller. unmarshal(XMLEventReader xmlEventReader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
IdAndTypeResourceIdentifier
EditorIdAndTypeResourceIdentifierUnmarshaller. unmarshal(XMLEventReader xmlEventReader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
ResourceIdentifier
EditorPageResourceIdentifierMarshallerAndUnmarshaller. unmarshal(XMLEventReader xmlEventReader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
ResourceIdentifier
EditorShortcutResourceIdentifierMarshallerAndUnmarshaller. unmarshal(XMLEventReader xmlEventReader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
ResourceIdentifier
EditorSpaceResourceIdentifierMarshallerAndUnmarshaller. unmarshal(XMLEventReader xmlEventReader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
ResourceIdentifier
EditorUserResourceIdentifierMarshallerAndUnmarshaller. unmarshal(XMLEventReader xmlEventReader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
ResourceIdentifier
IdAndTypeAnalyzingResourceIdentifierUnmarshaller. unmarshal(XMLEventReader xmlEventReader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
-
Uses of XhtmlException in com.atlassian.confluence.content.render.xhtml.editor.time
Methods in com.atlassian.confluence.content.render.xhtml.editor.time that throw XhtmlException Modifier and Type Method Description Time
EditorTimeUnmarshaller. unmarshal(XMLEventReader reader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
-
Uses of XhtmlException in com.atlassian.confluence.content.render.xhtml.image
Methods in com.atlassian.confluence.content.render.xhtml.image that throw XhtmlException Modifier and Type Method Description Emoticon
ImageLinkEmoticonUnmarshaller. unmarshal(XMLEventReader xmlEventReader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
-
Uses of XhtmlException in com.atlassian.confluence.content.render.xhtml.migration
Methods in com.atlassian.confluence.content.render.xhtml.migration that throw XhtmlException Modifier and Type Method 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)
-
Uses of XhtmlException in com.atlassian.confluence.content.render.xhtml.model.resource.identifiers
Subclasses of XhtmlException in com.atlassian.confluence.content.render.xhtml.model.resource.identifiers Modifier and Type Class 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. -
Uses of XhtmlException in com.atlassian.confluence.content.render.xhtml.storage
Methods in com.atlassian.confluence.content.render.xhtml.storage that throw XhtmlException Modifier and Type Method Description void
MacroDefinitionTransformer. handleMacroDefinitions(String storageFragment, ConversionContext context, MacroDefinitionHandler handler)
Perform an operation onMacroDefinition
s in the suppliedstorageFragment
without making changes to the storage representation.void
MacroDefinitionTransformer. handleMacroDefinitions(String storageFragment, ConversionContext context, MacroDefinitionHandler handler, MacroDefinitionMarshallingStrategy strategy)
Perform an operation onMacroDefinition
s in the suppliedstorageFragment
, with optional changes to the storage representation defined by theMacroDefinitionMarshallingStrategy
.String
MacroDefinitionTransformer. replaceMacroDefinitionsWithString(String storageFragment, ConversionContext context, MacroDefinitionReplacer replacer)
ReplacesMacroDefinition
s in the suppliedstorageFragment
with a String.String
StorageXhtmlTransformer. transform(Reader storage, ConversionContext conversionContext)
Begin parsing the supplied Reader, ignore all elements until the body is encountered, at which point "ComponentParsing" begins.String
MacroDefinitionTransformer. updateMacroDefinitions(String storageFragment, ConversionContext context, MacroDefinitionUpdater updater)
UpdatesMacroDefinition
s in the suppliedstorageFragment
. -
Uses of XhtmlException in com.atlassian.confluence.content.render.xhtml.storage.embed
Methods in com.atlassian.confluence.content.render.xhtml.storage.embed that throw XhtmlException Modifier and Type Method Description Streamable
StorageEmbeddedImageMarshaller. marshal(EmbeddedImage embeddedImage, ConversionContext conversionContext)
EmbeddedImage
StorageEmbeddedImageUnmarshaller. unmarshal(XMLEventReader xmlEventReader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
-
Uses of XhtmlException in com.atlassian.confluence.content.render.xhtml.storage.inline
Methods in com.atlassian.confluence.content.render.xhtml.storage.inline that throw XhtmlException Modifier and Type Method Description Streamable
StorageEmoticonMarshaller. marshal(Emoticon emoticon, ConversionContext conversionContext)
Emoticon
StorageEmoticonUnmarshaller. unmarshal(XMLEventReader xmlEventReader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
-
Uses of XhtmlException in com.atlassian.confluence.content.render.xhtml.storage.inlinecommentmarker
Methods in com.atlassian.confluence.content.render.xhtml.storage.inlinecommentmarker that throw XhtmlException Modifier and Type Method Description Streamable
StorageInlineCommentMarkerMarshaller. marshal(InlineCommentMarker inlineCommentMarker, ConversionContext conversionContext)
InlineCommentMarker
StorageInlineCommentMarkerUnmarshaller. unmarshal(XMLEventReader xmlEventReader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
-
Uses of XhtmlException in com.atlassian.confluence.content.render.xhtml.storage.inlinetask
Methods in com.atlassian.confluence.content.render.xhtml.storage.inlinetask that throw XhtmlException Modifier and Type Method 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)
-
Uses of XhtmlException in com.atlassian.confluence.content.render.xhtml.storage.link
Methods in com.atlassian.confluence.content.render.xhtml.storage.link that throw XhtmlException Modifier and Type Method Description Streamable
StorageLinkBodyMarshaller. marshal(LinkBody<?> linkBody, ConversionContext conversionContext)
Streamable
StorageLinkMarshaller. marshal(Link link, ConversionContext conversionContext)
Link
StorageLinkUnmarshaller. unmarshal(XMLEventReader linkReader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
PlainTextLinkBody
StoragePlainTextLinkBodyUnmarshaller. unmarshal(XMLEventReader reader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
Implementation Note: In actual use this Unmarshaller will be operating on a 'storage reader'.LinkBody
StorageRichTextLinkBodyUnmarshaller. unmarshal(XMLEventReader reader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
-
Uses of XhtmlException in com.atlassian.confluence.content.render.xhtml.storage.macro
Methods in com.atlassian.confluence.content.render.xhtml.storage.macro that throw XhtmlException Modifier and Type Method Description MacroBody
DefaultStorageMacroBodyParser. getMacroBody(String macroName, XMLEventReader bodyReader, ConversionContext context, FragmentTransformer transformer)
MacroBody
StorageMacroBodyParser. getMacroBody(String macroName, XMLEventReader bodyReader, ConversionContext context, FragmentTransformer transformer)
Extract the MacroBody from the current position in the XMLEventReader.Streamable
DelegatingStorageMacroMarshaller. marshal(MacroDefinition macroDefinition, ConversionContext conversionContext)
Marshals the suppliedMacroDefinition
using either V1 or V2 macro storage format.Streamable
StorageMacroV1Marshaller. marshal(MacroDefinition macroDefinition, ConversionContext conversionContext)
Streamable
StorageMacroV2Marshaller. marshal(MacroDefinition originalMacroDefinition, ConversionContext conversionContext)
MacroDefinition
DelegatingStorageMacroUnmarshaller. unmarshal(XMLEventReader reader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
MacroDefinition
StorageMacroV1Unmarshaller. unmarshal(XMLEventReader reader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
MacroDefinition
StorageMacroV2Unmarshaller. unmarshal(XMLEventReader reader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
-
Uses of XhtmlException in com.atlassian.confluence.content.render.xhtml.storage.macro.inlinebody
Methods in com.atlassian.confluence.content.render.xhtml.storage.macro.inlinebody that throw XhtmlException Modifier and Type Method Description String
InlineBodyMacroFixingTransformer. transform(Reader input, ConversionContext conversionContext)
-
Uses of XhtmlException in com.atlassian.confluence.content.render.xhtml.storage.pagelayouts
Methods in com.atlassian.confluence.content.render.xhtml.storage.pagelayouts that throw XhtmlException Modifier and Type Method Description Streamable
StoragePageLayoutMarshaller. marshal(PageLayout pagelayout, ConversionContext conversionContext)
PageLayout
StorageLegacyPageLayoutUnMarshaller. unmarshal(XMLEventReader xmlEventReader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
PageLayout
StoragePageLayoutUnMarshaller. unmarshal(XMLEventReader reader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
-
Uses of XhtmlException in com.atlassian.confluence.content.render.xhtml.storage.placeholder
Methods in com.atlassian.confluence.content.render.xhtml.storage.placeholder that throw XhtmlException Modifier and Type Method Description Streamable
StoragePlaceholderMarshaller. marshal(Placeholder placeholder, ConversionContext conversionContext)
Placeholder
StoragePlaceholderUnmarshaller. unmarshal(XMLEventReader reader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
-
Uses of XhtmlException in com.atlassian.confluence.content.render.xhtml.storage.resource.identifiers
Methods in com.atlassian.confluence.content.render.xhtml.storage.resource.identifiers that throw XhtmlException Modifier and Type Method Description Streamable
DelegatingResourceIdentifierMarshaller. marshal(ResourceIdentifier resourceIdentifier, ConversionContext conversionContext)
Streamable
MakeRelativeAndDelegateResourceIdentifierMarshaller. marshal(ResourceIdentifier resourceId, ConversionContext conversionContext)
Streamable
StorageAttachmentResourceIdentifierMarshaller. marshal(AttachmentResourceIdentifier attachmentResourceIdentifier, ConversionContext conversionContext)
Streamable
StorageBlogPostResourceIdentifierMarshaller. marshal(BlogPostResourceIdentifier resourceIdentifier, ConversionContext conversionContext)
Marshal the provided resource identifier.Streamable
StorageContentEntityResourceIdentifierMarshaller. marshal(ContentEntityResourceIdentifier contentEntityResourceIdentifier, ConversionContext conversionContext)
Streamable
StoragePageResourceIdentifierMarshaller. marshal(PageResourceIdentifier pageResourceIdentifier, ConversionContext conversionContext)
Marshal the provided resource identifier.Streamable
StorageShortcutResourceIdentifierMarshaller. marshal(ShortcutResourceIdentifier shortcutResourceIdentifier, ConversionContext conversionContext)
Streamable
StorageSpaceResourceIdentifierMarshaller. marshal(SpaceResourceIdentifier spaceResourceIdentifier, ConversionContext conversionContext)
Streamable
StorageUrlResourceIdentifierMarshaller. marshal(UrlResourceIdentifier urlResourceIdentifier, ConversionContext conversionContext)
Streamable
StorageUserResourceIdentifierMarshaller. marshal(UserResourceIdentifier userResourceIdentifier, ConversionContext conversionContext)
Marshal the suppliedUserResourceIdentifier
to storage format.ResourceIdentifier
DelegatingResourceIdentifierUnmarshaller. unmarshal(XMLEventReader xmlEventReader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
ResourceIdentifier
StorageResourceIdentifierUnmarshaller. unmarshal(XMLEventReader xmlEventReader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
UserResourceIdentifier
StorageUserResourceIdentifierUnmarshaller. unmarshal(XMLEventReader xmlEventReader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
-
Uses of XhtmlException in com.atlassian.confluence.content.render.xhtml.storage.time
Methods in com.atlassian.confluence.content.render.xhtml.storage.time that throw XhtmlException Modifier and Type Method Description Streamable
StorageTimeMarshaller. marshal(Time time, ConversionContext conversionContext)
Time
StorageTimeUnmarshaller. unmarshal(XMLEventReader reader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
-
Uses of XhtmlException in com.atlassian.confluence.content.render.xhtml.transformers
Methods in com.atlassian.confluence.content.render.xhtml.transformers that throw XhtmlException Modifier and Type Method Description Streamable
DefaultFragmentTransformer. transform(XMLEventReader reader, FragmentTransformer defaultFragmentTransformer, ConversionContext conversionContext)
Transform the XML read from the supplied reader, making use of any configured FragmentTransformers as appropriate.Streamable
ElementTransformingFragmentTransformer. transform(XMLEventReader reader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
Wraps the supplied reader in an ElementTransformingXmlEventReader and then applies the mainFragmentTransformer.Streamable
FragmentTransformer. transform(XMLEventReader reader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
Streamable
Html5RawTextElementFragmentTransformer. transform(XMLEventReader reader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
Streamable
Html5VoidElementFragmentTransformer. transform(XMLEventReader reader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
Streamable
LazyLoadingFragmentTransformer. transform(XMLEventReader reader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
Streamable
LegacyFragmentTransformer. transform(XMLEventReader reader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
String
RemoveApostropheEntityTransformer. transform(Reader input, ConversionContext conversionContext)
String
Transformer. transform(Reader input, ConversionContext conversionContext)
abstract String
LegacyFragmentTransformer. transformToString(XMLEventReader reader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
-
Uses of XhtmlException in com.atlassian.confluence.content.render.xhtml.view
Methods in com.atlassian.confluence.content.render.xhtml.view that throw XhtmlException Modifier and Type Method Description Streamable
ViewTableWrappingFragmentTransformer. transform(XMLEventReader reader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
String
ViewHeadingFragmentTransformer. transformToString(XMLEventReader reader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
String
ViewHtmlAnchorFragmentTransformer. transformToString(XMLEventReader reader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
-
Uses of XhtmlException in com.atlassian.confluence.content.render.xhtml.view.embed
Methods in com.atlassian.confluence.content.render.xhtml.view.embed that throw XhtmlException Modifier and Type Method Description Streamable
AttachedImageMarshaller. marshal(XmlStreamWriterTemplate xmlStreamWriterTemplate, EmbeddedImage embeddedImage, AttachmentResourceIdentifier attachmentResourceIdentifier, ConversionContext conversionContext)
Streamable
DefaultAttachedImageResourceMarshaller. marshal(XmlStreamWriterTemplate xmlStreamWriterTemplate, EmbeddedImage embeddedImage, AttachmentResourceIdentifier attachmentResourceIdentifier, ConversionContext conversionContext)
Streamable
EmbeddedImageMarshaller. marshal(EmbeddedImage embeddedImage, ConversionContext conversionContext)
Streamable
ViewEmbeddedImageMarshaller. marshal(EmbeddedImage embeddedImage, ConversionContext conversionContext)
Streamable
UnidentifiedAttachmentMarshaller. marshalPlaceholder(XmlStreamWriterTemplate xmlStreamWriterTemplate, EmbeddedImage embeddedImage, AttachmentResourceIdentifier ri, ConversionContext context)
Streamable
ViewUnidentifiedAttachmentMarshaller. marshalPlaceholder(XmlStreamWriterTemplate xmlStreamWriterTemplate, EmbeddedImage embeddedImage, AttachmentResourceIdentifier ri, ConversionContext context)
-
Uses of XhtmlException in com.atlassian.confluence.content.render.xhtml.view.excerpt
Methods in com.atlassian.confluence.content.render.xhtml.view.excerpt that throw XhtmlException Modifier and Type Method Description List<javax.activation.DataSource>
DefaultExcerpter. extractImageSrc(ContentEntityObject ceo, int maxImages)
List<javax.activation.DataSource>
DefaultExcerpter. extractImageSrc(ContentEntityObject ceo, int maxImages, boolean alwaysUseThumbnails)
List<javax.activation.DataSource>
Excerpter. extractImageSrc(ContentEntityObject ceo, int numImages)
List<javax.activation.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. -
Uses of XhtmlException in com.atlassian.confluence.content.render.xhtml.view.inline
Methods in com.atlassian.confluence.content.render.xhtml.view.inline that throw XhtmlException Modifier and Type Method Description Streamable
ViewEmoticonMarshaller. marshal(Emoticon emoticon, ConversionContext conversionContext)
-
Uses of XhtmlException in com.atlassian.confluence.content.render.xhtml.view.inlinecommentmarker
Methods in com.atlassian.confluence.content.render.xhtml.view.inlinecommentmarker that throw XhtmlException Modifier and Type Method Description Streamable
ViewInlineCommentMarkerMarshaller. marshal(InlineCommentMarker inlineCommentMarker, ConversionContext conversionContext)
-
Uses of XhtmlException in com.atlassian.confluence.content.render.xhtml.view.inlinetask
Methods in com.atlassian.confluence.content.render.xhtml.view.inlinetask that throw XhtmlException Modifier and Type Method Description Streamable
ViewInlineTaskMarshaller. marshal(InlineTaskList inlineTaskList, ConversionContext conversionContext)
InlineTaskList
ViewInlineTaskUnmarshaller. unmarshal(XMLEventReader xmlEventReader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
-
Uses of XhtmlException in com.atlassian.confluence.content.render.xhtml.view.link
Methods in com.atlassian.confluence.content.render.xhtml.view.link that throw XhtmlException Modifier and Type Method Description Streamable
ViewAttachmentLinkMarshaller. marshal(Link attachmentLink, ConversionContext conversionContext)
Streamable
ViewBlogPostLinkMarshaller. marshal(Link link, ConversionContext conversionContext)
Streamable
ViewContentEntityLinkMarshaller. marshal(Link link, ConversionContext conversionContext)
Streamable
ViewCreatePageLinkMarshaller. marshal(CreatePageLink createPageLink, ConversionContext conversionContext)
Streamable
ViewDraftLinkMarshaller. marshal(Link link, ConversionContext conversionContext)
Streamable
ViewIdAndTypeLinkMarshaller. marshal(Link link, ConversionContext conversionContext)
Streamable
ViewLinkBodyMarshaller. marshal(Link link, ConversionContext conversionContext)
Streamable
ViewPageLinkMarshaller. marshal(Link attachmentLink, ConversionContext conversionContext)
Streamable
ViewPageTemplateLinkMarshaller. marshal(Link attachmentLink, ConversionContext conversionContext)
Streamable
ViewShortcutLinkMarshaller. marshal(Link shortcutLink, ConversionContext conversionContext)
Streamable
ViewSpaceLinkMarshaller. marshal(Link link, ConversionContext conversionContext)
Marshals the given link to a String.Streamable
ViewUnresolvedLinkBodyMarshaller. marshal(Link link, ConversionContext conversionContext)
Streamable
ViewUnresolvedLinkMarshaller. marshal(UnresolvedLink unresolvedLink, ConversionContext conversionContext)
Streamable
ViewUserLinkMarshaller. marshal(Link userLink, ConversionContext conversionContext)
-
Uses of XhtmlException in com.atlassian.confluence.content.render.xhtml.view.macro
Methods in com.atlassian.confluence.content.render.xhtml.view.macro that throw XhtmlException Modifier and Type Method Description Streamable
ViewMacroMarshaller. marshal(MacroDefinition macroDefinition, ConversionContext conversionContext)
Streamable
ViewUnknownMacroMarshaller. marshal(MacroDefinition macroDefinition, ConversionContext conversionContext)
-
Uses of XhtmlException in com.atlassian.confluence.content.render.xhtml.view.pagelayouts
Methods in com.atlassian.confluence.content.render.xhtml.view.pagelayouts that throw XhtmlException Modifier and Type Method Description Streamable
ViewPageLayoutMarshaller. marshal(PageLayout pagelayout, ConversionContext conversionContext)
-
Uses of XhtmlException in com.atlassian.confluence.content.render.xhtml.view.placeholder
Methods in com.atlassian.confluence.content.render.xhtml.view.placeholder that throw XhtmlException Modifier and Type Method Description Streamable
ViewPlaceholderMarshaller. marshal(Placeholder placeholder, ConversionContext conversionContext)
-
Uses of XhtmlException in com.atlassian.confluence.content.render.xhtml.view.time
Methods in com.atlassian.confluence.content.render.xhtml.view.time that throw XhtmlException Modifier and Type Method Description Streamable
ViewTimeMarshaller. marshal(Time time, ConversionContext conversionContext)
-
Uses of XhtmlException in com.atlassian.confluence.diff.marshallers
Methods in com.atlassian.confluence.diff.marshallers that throw XhtmlException Modifier and Type Method Description Streamable
DiffInlineCommentMarkerMarshaller. marshal(InlineCommentMarker inlineCommentMarker, ConversionContext conversionContext)
Streamable
DiffInlineTaskMarshaller. marshal(InlineTaskList inlineTaskList, ConversionContext conversionContext)
Streamable
DiffLinkMarshaller. marshal(Link link, ConversionContext conversionContext)
Streamable
DiffMacroMarshaller. marshal(MacroDefinition macroDefinition, ConversionContext conversionContext)
-
Uses of XhtmlException in com.atlassian.confluence.impl.content.render.prefetch.xhtml
Methods in com.atlassian.confluence.impl.content.render.prefetch.xhtml that throw XhtmlException Modifier and Type Method Description ResourceIdentifiers
XhtmlResourceIdentifierExtractor. extractResourceIdentifiers(BodyContent storageFormatContent, ConversionContext conversionContext)
-
Uses of XhtmlException in com.atlassian.confluence.impl.content.render.xhtml
Methods in com.atlassian.confluence.impl.content.render.xhtml that throw XhtmlException Modifier and Type Method 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)
-
Uses of XhtmlException in com.atlassian.confluence.impl.content.render.xhtml.analytics
Methods in com.atlassian.confluence.impl.content.render.xhtml.analytics that throw XhtmlException Modifier and Type Method Description Streamable
MetricsCollectingMarshaller. marshal(T object, @Nullable ConversionContext conversionContext)
-
Uses of XhtmlException in com.atlassian.confluence.impl.content.render.xhtml.editor.macro
Methods in com.atlassian.confluence.impl.content.render.xhtml.editor.macro that throw XhtmlException Modifier and Type Method Description Streamable
DelegatingEditorMacroMarshaller. marshal(MacroDefinition macroDefinition, ConversionContext conversionContext)
-
Uses of XhtmlException in com.atlassian.confluence.impl.macro.schema
Methods in com.atlassian.confluence.impl.macro.schema that throw XhtmlException Modifier and Type Method Description MacroDefinition
DefaultMacroSchemaMigrator. migrateSchemaIfNecessary(MacroDefinition macroDefinition, ConversionContext context)
MacroDefinition
MacroSchemaMigrator. migrateSchemaIfNecessary(MacroDefinition macroDefinition, ConversionContext context)
Migrates the macro definition to the latest version of it's macro schema. -
Uses of XhtmlException in com.atlassian.confluence.importexport.impl
Methods in com.atlassian.confluence.importexport.impl that throw XhtmlException Modifier and Type Method Description Set<com.atlassian.sal.api.user.UserKey>
ContentUserKeyExtractor. extractUserKeys(String storageFormatContent)
StorageFormatUserRewriter.RewriteResult
StorageFormatUserRewriter. rewriteUserKeysInContent(String importedStorageFormat, com.google.common.base.Function<com.atlassian.sal.api.user.UserKey,com.atlassian.sal.api.user.UserKey> userKeyTranslator, ConversionContext conversionContext)
Deprecated.since 7.0.1.StorageFormatUserRewriter.RewriteResult
StorageFormatUserRewriter. transformUserKeysInContent(String importedStorageFormat, Function<com.atlassian.sal.api.user.UserKey,com.atlassian.sal.api.user.UserKey> userKeyTranslator, ConversionContext conversionContext)
Rewrites anyUserKey
s inUserResourceIdentifier
s in the supplied storage format content, by using the supplied function to map on userkey to another. -
Uses of XhtmlException in com.atlassian.confluence.pages.actions
Methods in com.atlassian.confluence.pages.actions that throw XhtmlException Modifier and Type Method Description void
AbstractCreatePageAction. createPage()
Create the CEO to be saved from the data supplied to the action.void
CreatePageAction. createPage()
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). -
Uses of XhtmlException in com.atlassian.confluence.pages.templates
Methods in com.atlassian.confluence.pages.templates that throw XhtmlException Modifier and Type Method 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
DefaultPageTemplateManager. getTemplateVariables(PageTemplate template)
List
PageTemplateManager. getTemplateVariables(PageTemplate template)
List<Variable>
TemplateHandler. getTemplateVariables(PageTemplate template)
List<Variable>
XhtmlTemplateHandler. getTemplateVariables(PageTemplate template)
String
DefaultPageTemplateManager. mergeVariables(PageTemplate template, List variables, String spaceKey)
String
PageTemplateManager. mergeVariables(PageTemplate template, List variables, String spaceKey)
-
Uses of XhtmlException in com.atlassian.confluence.plugins.templates.transformer
Methods in com.atlassian.confluence.plugins.templates.transformer that throw XhtmlException Modifier and Type Method Description String
EditorToStorageTemplateVariablesTransformer. transform(Reader input, ConversionContext conversionContext)
String
StorageToEditorTemplateVariablesTransformer. transform(Reader input, ConversionContext conversionContext)
String
StorageToViewTemplateVariablesTransformer. transform(Reader input, ConversionContext conversionContext)
static String
TransformUtils. unspoilt(Reader reader)
-
Uses of XhtmlException in com.atlassian.confluence.test.rpc
Methods in com.atlassian.confluence.test.rpc that throw XhtmlException Modifier and Type Method Description String
FuncTestRpcDelegator. 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
FuncTestRpcHandlerImpl. createTemplate(String token, String templateName, String content, String spaceKey)
String
FuncTestRpcDelegator. 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
FuncTestRpcHandlerImpl. createTemplateWithStorageFormat(String token, String templateName, String storageFormat, String spaceKey)
-
Uses of XhtmlException in com.atlassian.confluence.tinymceplugin.service
Methods in com.atlassian.confluence.tinymceplugin.service that throw XhtmlException Modifier and Type Method 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 -
Uses of XhtmlException in com.atlassian.confluence.tinymceplugin.service.impl
Methods in com.atlassian.confluence.tinymceplugin.service.impl that throw XhtmlException Modifier and Type Method 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)
-
Uses of XhtmlException in com.atlassian.confluence.xhtml.api
Methods in com.atlassian.confluence.xhtml.api that throw XhtmlException Modifier and Type Method Description EmbeddedImage
EditorFormatService. convertEditToEmbeddedImage(String editFragment, ConversionContext context)
Returns aEmbeddedImage
from the suppliededitFragment
.Link
EditorFormatService. convertEditToLink(String editFragment, ConversionContext context)
Returns aMacroDefinition
from the suppliededitFragment
.MacroDefinition
EditorFormatService. convertEditToMacroDefinition(String editFragment, ConversionContext context)
Returns aMacroDefinition
from the suppliededitFragment
.String
EditorFormatService. convertEditToStorage(String editFragment, ConversionContext context)
Returns an storage format fragment for the suppliededitFragment
.String
EditorFormatService. convertEmbeddedImageToEdit(EmbeddedImage embeddedImage, ConversionContext context)
Returns an edit format fragment for the suppliedembeddedImage
.String
XhtmlContent. convertEmbeddedImageToStorage(EmbeddedImage embeddedImage, ConversionContext context)
Returns a storage format fragment for the suppliedembeddedImage
.String
XhtmlContent. convertEmbeddedImageToView(EmbeddedImage embeddedImage, ConversionContext context)
Returns a view format fragment for the suppliedembeddedImage
.String
XhtmlContent. convertInlineTaskListToStorage(InlineTaskList inlineTaskList, ConversionContext context)
Returns a storage format fragment for the suppliedinlineTaskList
.String
XhtmlContent. convertInlineTaskListToView(InlineTaskList inlineTaskList, ConversionContext context)
Returns a view format fragment for the suppliedinlineTaskList
.String
EditorFormatService. convertLinkToEdit(Link link, ConversionContext context)
Returns an edit format fragment for the suppliedlink
.String
XhtmlContent. convertLinkToStorage(Link link, ConversionContext context)
Returns a storage format fragment for the suppliedlink
.String
XhtmlContent. convertLinkToView(Link link, ConversionContext context)
Returns a view format fragment for the suppliedlink
.String
EditorFormatService. convertMacroDefinitionToEdit(MacroDefinition macroDefinition, ConversionContext context)
Returns an edit format fragment for the suppliedmacroDefinition
.String
XhtmlContent. convertMacroDefinitionToStorage(MacroDefinition macroDefinition, ConversionContext context)
Returns an storage format fragment for the suppliedmacroDefinition
.String
XhtmlContent. convertMacroDefinitionToView(MacroDefinition macroDefinition, ConversionContext context)
Returns a view format fragment for the suppliedmacroDefinition
.String
EditorFormatService. convertStorageToEdit(String storageFragment, ConversionContext context)
Returns an edit format fragment for the suppliedstorageFragment
.String
XhtmlContent. convertStorageToView(String storageFragment, ConversionContext context)
Returns a view format fragment for the suppliedstorageFragment
.String
EditorFormatService. convertWikiToEdit(String wikiContent, ConversionContext context)
Returns the XHTML edit format equivalent of the suppliedwikiContent
(Wiki markup).String
XhtmlContent. convertWikiToView(String wikiContent, ConversionContext context, List<RuntimeException> migrationExceptions)
Returns the HTML view format equivalent of the suppliedwikiContent
.void
XhtmlContent. handleMacroDefinitions(String storageFragment, ConversionContext context, MacroDefinitionHandler handler)
Perform an operation onMacroDefinition
s in the suppliedstorageFragment
without making changes to the storage representation.void
XhtmlContent. handleMacroDefinitions(String storageFragment, ConversionContext context, MacroDefinitionHandler handler, MacroDefinitionMarshallingStrategy strategy)
Perform an operation onMacroDefinition
s in the suppliedstorageFragment
, with optional changes to the storage representation defined by theMacroDefinitionMarshallingStrategy
.void
XhtmlContent. handleXhtmlElements(String storageFragment, ConversionContext context, List<? extends XhtmlVisitor> visitors)
Provides a mechanism for finding arbitrary Xhtml elements in the suppliedstorageFormat
.abstract Streamable
MacroDefinitionMarshallingStrategy. marshal(MacroDefinition macroDefinition, ConversionContext conversionContext, Marshaller<MacroDefinition> macroDefinitionMarshaller)
Convert the MacroDefinition to a string.String
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)
ReplacesMacroDefinition
s in the suppliedstorageFragment
with a String.String
XhtmlContent. updateMacroDefinitions(String storageFragment, ConversionContext context, MacroDefinitionUpdater updater)
UpdatesMacroDefinition
s in the suppliedstorageFragment
.
-