Modifier and Type | Method and Description |
---|---|
static Streamable |
Streamables.combine(Iterable<Streamable> streamables)
Combine a series of streamable instances into a single result.
|
static Streamable |
Streamables.combine(Streamable... streamables)
Combine a series of streamable instances into a single result.
|
static Streamable |
Streamables.empty()
Create an empty streamable that will do nothing when its
writeTo() method is called. |
static Streamable |
Streamables.from(String source)
Produce a streamable from a string.
|
static Streamable |
Streamables.from(XmlStreamWriterTemplate template,
XmlStreamWriterCallback callback)
Create a streamable that will produce the result of executing the provide callback within the template.
|
Streamable |
DelegatingLinkMarshaller.marshal(Link link,
ConversionContext conversionContext) |
Streamable |
Marshaller.marshal(T object,
ConversionContext conversionContext)
Marshals an object to XML.
|
Streamable |
MarshallingFragmentTransformer.transform(XMLEventReader reader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
Streamable |
UnmarshalMarshalFragmentTransformer.transform(XMLEventReader reader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
static Streamable |
Streamables.withCharacterCounting(Streamable delegate,
com.atlassian.fugue.Effect<Long> characterCountCallback)
Produces a Streamable which counts the number of characters written to another Streamable's writer.
|
Modifier and Type | Method and Description |
---|---|
static Streamable |
Streamables.combine(Streamable... streamables)
Combine a series of streamable instances into a single result.
|
static Streamable |
Streamables.withCharacterCounting(Streamable delegate,
com.atlassian.fugue.Effect<Long> characterCountCallback)
Produces a Streamable which counts the number of characters written to another Streamable's writer.
|
static void |
StaxUtils.writeRawXML(XMLStreamWriter writer,
Writer out,
Streamable streamable)
Write raw XML properly on the provided Writer, which is wrapped by a XMLStreamWriter
|
static String |
Streamables.writeToString(Streamable streamable)
Write the contents of a streamable to a string.
|
Modifier and Type | Method and Description |
---|---|
static Streamable |
Streamables.combine(Iterable<Streamable> streamables)
Combine a series of streamable instances into a single result.
|
Modifier and Type | Method and Description |
---|---|
Streamable |
RichTextMacroBody.getBodyStream() |
Streamable |
PlainTextMacroBody.getBodyStream() |
Streamable |
MacroBody.getBodyStream() |
Streamable |
RichTextMacroBody.getStorageBodyStream() |
Streamable |
PlainTextMacroBody.getStorageBodyStream() |
Streamable |
MacroBody.getStorageBodyStream() |
Streamable |
RichTextMacroBody.getTransformedBodyStream() |
Streamable |
PlainTextMacroBody.getTransformedBodyStream() |
Streamable |
MacroBody.getTransformedBodyStream() |
Modifier and Type | Method and Description |
---|---|
static RichTextMacroBody |
RichTextMacroBody.withStorage(Streamable storageBody) |
static RichTextMacroBody |
RichTextMacroBody.withStorageAndTransform(Streamable storageBody,
Streamable transformedBody) |
Constructor and Description |
---|
RichTextMacroBody(Streamable body)
Deprecated.
since 5.6. Call
RichTextMacroBody.withStorage(Streamable) or
RichTextMacroBody.withStorageAndTransform(Streamable, Streamable) instead. |
Modifier and Type | Method and Description |
---|---|
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) |
Modifier and Type | Method and Description |
---|---|
Streamable |
EditorEmoticonMarshaller.marshal(Emoticon emoticon,
ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
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 |
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) |
Modifier and Type | Method and Description |
---|---|
Streamable |
EditorPlaceholderMarshaller.marshal(Placeholder placeholder,
ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
Streamable |
UrlLinkMarshaller.marshal(Link link,
ConversionContext conversionContext) |
Streamable |
DelegatingMigrationAwareFragmentTransformer.transform(XMLEventReader reader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
Streamable |
InlineCommentMarker.getBodyStream() |
Constructor and Description |
---|
InlineCommentMarker(String ref,
Streamable body) |
Modifier and Type | Method and Description |
---|---|
Streamable |
PageLayoutCell.getBody() |
Constructor and Description |
---|
PageLayoutCell(PageLayoutCellType type,
Streamable body) |
Modifier and Type | Method and Description |
---|---|
Streamable |
StorageEmbeddedImageMarshaller.marshal(EmbeddedImage embeddedImage,
ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
Streamable |
StorageEmoticonMarshaller.marshal(Emoticon emoticon,
ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
Streamable |
StorageInlineCommentMarkerMarshaller.marshal(InlineCommentMarker inlineCommentMarker,
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) |
Modifier and Type | Method and Description |
---|---|
Streamable |
StorageLinkBodyMarshaller.marshal(LinkBody<?> linkBody,
ConversionContext conversionContext) |
Streamable |
StorageLinkMarshaller.marshal(Link link,
ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
Streamable |
StorageMacroV2Marshaller.marshal(MacroDefinition originalMacroDefinition,
ConversionContext conversionContext) |
Streamable |
DelegatingStorageMacroMarshaller.marshal(MacroDefinition macroDefinition,
ConversionContext conversionContext)
Marshals the supplied
MacroDefinition using either V1 or V2 macro storage format. |
Streamable |
StorageMacroV1Marshaller.marshal(MacroDefinition macroDefinition,
ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
Streamable |
StoragePageLayoutMarshaller.marshal(PageLayout pagelayout,
ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
Streamable |
StoragePlaceholderMarshaller.marshal(Placeholder placeholder,
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 |
DelegatingResourceIdentifierMarshaller.marshal(ResourceIdentifier resourceIdentifier,
ConversionContext conversionContext) |
Streamable |
MakeRelativeAndDelegateResourceIdentifierMarshaller.marshal(ResourceIdentifier resourceId,
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. |
Modifier and Type | Method and Description |
---|---|
Streamable |
StorageTimeMarshaller.marshal(Time time,
ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
Streamable |
LazyLoadingFragmentTransformer.transform(XMLEventReader reader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
Streamable |
Html5RawTextElementFragmentTransformer.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 |
Html5VoidElementFragmentTransformer.transform(XMLEventReader reader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
Streamable |
LegacyFragmentTransformer.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.
|
Modifier and Type | Method and Description |
---|---|
Streamable |
ViewTableWrappingFragmentTransformer.transform(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 |
AttachedImageMarshaller.marshal(XmlStreamWriterTemplate xmlStreamWriterTemplate,
EmbeddedImage embeddedImage,
AttachmentResourceIdentifier attachmentResourceIdentifier,
ConversionContext conversionContext) |
Streamable |
DefaultAttachedImageResourceMarshaller.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 |
---|---|
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) |
Modifier and Type | Method and Description |
---|---|
Streamable |
ViewCreatePageLinkMarshaller.marshal(CreatePageLink createPageLink,
ConversionContext conversionContext) |
Streamable |
ViewLinkBodyMarshaller.marshal(Link link,
ConversionContext conversionContext) |
Streamable |
ViewPageLinkMarshaller.marshal(Link attachmentLink,
ConversionContext conversionContext) |
Streamable |
ViewUserLinkMarshaller.marshal(Link userLink,
ConversionContext conversionContext) |
Streamable |
ViewShortcutLinkMarshaller.marshal(Link shortcutLink,
ConversionContext conversionContext) |
Streamable |
ViewContentEntityLinkMarshaller.marshal(Link link,
ConversionContext conversionContext) |
Streamable |
ViewBlogPostLinkMarshaller.marshal(Link link,
ConversionContext conversionContext) |
Streamable |
ViewSpaceLinkMarshaller.marshal(Link link,
ConversionContext conversionContext)
Marshals the given link to a String.
|
Streamable |
ViewIdAndTypeLinkMarshaller.marshal(Link link,
ConversionContext conversionContext) |
Streamable |
ViewAttachmentLinkMarshaller.marshal(Link attachmentLink,
ConversionContext conversionContext) |
Streamable |
ViewUnresolvedLinkBodyMarshaller.marshal(Link link,
ConversionContext conversionContext) |
Streamable |
ViewDraftLinkMarshaller.marshal(Link link,
ConversionContext conversionContext) |
Streamable |
ViewUnresolvedLinkMarshaller.marshal(UnresolvedLink unresolvedLink,
ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
Streamable |
DefaultViewMacroWrapper.executeWrapMacro(ConversionContext context,
Macro macro,
MarshallerMetricsCollector metricsCollector,
MacroDefinition macroDefinition,
Map<String,String> macroParameters) |
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 |
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 |
---|---|
Streamable |
MetricsCollectingMarshaller.marshal(T object,
ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
Streamable |
DelegatingEditorMacroMarshaller.marshal(MacroDefinition macroDefinition,
ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
Streamable |
StreamableMacro.executeToStream(Map<String,String> parameters,
Streamable body,
ConversionContext context)
Execute the macro, and produce a streamable that represents its output.
|
Modifier and Type | Method and Description |
---|---|
Streamable |
StreamableMacro.executeToStream(Map<String,String> parameters,
Streamable body,
ConversionContext context)
Execute the macro, and produce a streamable that represents its output.
|
Modifier and Type | Method and Description |
---|---|
Streamable |
ConfluenceSoyTemplateRenderer.render(String templateProviderPluginKey,
String templateName,
Map<String,Object> data) |
Streamable |
ConfluenceSoyTemplateRenderer.render(String templateProviderPluginKey,
String templateName,
Map<String,Object> data,
Map<String,Object> injectedData) |
Modifier and Type | Method and Description |
---|---|
Streamable |
TemplateRenderer.render(String templateProviderPluginKey,
String templateName,
Map<String,Object> data)
Render a plugin-provided template as a Streamable.
|
Streamable |
DelegatingTemplateRenderer.render(String templateProviderPluginKey,
String templateName,
Map<String,Object> data) |
Streamable |
TemplateRenderer.render(String templateProviderPluginKey,
String templateName,
Map<String,Object> data,
Map<String,Object> injectedData)
Render a plugin-provided template as a Streamable.
|
Streamable |
DelegatingTemplateRenderer.render(String templateProviderPluginKey,
String templateName,
Map<String,Object> data,
Map<String,Object> injectedData) |
Modifier and Type | Method and Description |
---|---|
Streamable |
MacroDefinition.getBodyStream() |
Streamable |
MacroDefinition.getStorageBodyStream() |
Streamable |
MacroDefinition.getTransformedBodyStream() |
abstract Streamable |
MacroDefinitionMarshallingStrategy.marshal(MacroDefinition macroDefinition,
ConversionContext conversionContext,
Marshaller<MacroDefinition> macroDefinitionMarshaller)
Convert the MacroDefinition to a string.
|
Copyright © 2003–2018 Atlassian. All rights reserved.