Modifier and Type | Class and Description |
---|---|
class |
MarshallingFragmentTransformer<T>
Lazily resolves the marshaller and unmarshaller to use for transforming objects of the specified type.
|
class |
UnmarshalMarshalFragmentTransformer<T>
A
FragmentTransformer that transforms by unmarshalling and then re-marshalling the fragment. |
Modifier and Type | Method and Description |
---|---|
Streamable |
MarshallingFragmentTransformer.transform(XMLEventReader reader,
FragmentTransformer mainFragmentTransformer,
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.
|
Constructor and Description |
---|
DefaultEditorFormatService(Marshaller<MacroDefinition> editorMacroMarshaller,
Marshaller<Link> editorLinkMarshaller,
Marshaller<EmbeddedImage> editorEmbeddedImageMarshaller,
Unmarshaller<MacroDefinition> editorMacroUnmarshaller,
Unmarshaller<Link> editorLinkUnmarshaller,
Unmarshaller<EmbeddedImage> editorEmbeddedImageUnmarshaller,
FragmentTransformer editorToStorageFragmentTransformer,
FragmentTransformer storageToEditorFragmentTransformer,
XmlEventReaderFactory xmlEventReaderFactory,
ExceptionThrowingMigrator wikiToEditorHtmlMigrator) |
Modifier and Type | Class and Description |
---|---|
class |
EditorErrorFragmentTransformer
Responsible for converting the editor representation of a transform error back into a storage formatted xml.
|
Modifier and Type | Method and Description |
---|---|
Streamable |
EditorErrorFragmentTransformer.transform(XMLEventReader reader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
Constructor and Description |
---|
EditorXhtmlTransformer(XmlEventReaderFactory xmlEventReaderFactory,
FragmentTransformer defaultFragmentTransformer) |
Modifier and Type | Method and Description |
---|---|
EmbeddedImage |
EditorEmbeddedImageResourceUnmarshaller.unmarshal(XMLEventReader xmlEventReader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
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 |
---|---|
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 |
---|---|
Placeholder |
EditorPlaceholderUnmarshaller.unmarshal(XMLEventReader reader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
IdAndTypeResourceIdentifier |
EditorIdAndTypeResourceIdentifierUnmarshaller.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) |
ResourceIdentifier |
EditorShortcutResourceIdentifierMarshallerAndUnmarshaller.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) |
ResourceIdentifier |
EditorSpaceResourceIdentifierMarshallerAndUnmarshaller.unmarshal(XMLEventReader xmlEventReader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
ResourceIdentifier |
EditorBlogPostResourceIdentifierMarshallerAndUnmarshaller.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 | Class and Description |
---|---|
class |
DelegatingMigrationAwareFragmentTransformer
A simple delegating implementation of
MigrationAware and FragmentTransformer . |
Modifier and Type | Method and Description |
---|---|
static XhtmlRoundTripMigrator |
XhtmlRoundTripMigrator.createMigratorWithMigrationAwareTransformer(FragmentTransformer storageRoundTripFragmentTransformer,
XmlEventReaderFactory xmlEventReaderFactory) |
Streamable |
DelegatingMigrationAwareFragmentTransformer.transform(XMLEventReader reader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
Constructor and Description |
---|
DelegatingMigrationAwareFragmentTransformer(FragmentTransformer fragmentTransformer,
MigrationAware migrationAware) |
XhtmlRoundTripMigrator(FragmentTransformer storageRoundTripFragmentTransformer,
XmlEventReaderFactory xmlEventReaderFactory,
com.google.common.base.Predicate<ConversionContext> migrationPerformedPredicate) |
Constructor and Description |
---|
StorageXhtmlTransformer(XmlEventReaderFactory xmlEventReaderFactory,
FragmentTransformer defaultFragmentTransformer) |
Modifier and Type | Method and Description |
---|---|
EmbeddedImage |
StorageEmbeddedImageUnmarshaller.unmarshal(XMLEventReader xmlEventReader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
Emoticon |
StorageEmoticonUnmarshaller.unmarshal(XMLEventReader xmlEventReader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
InlineCommentMarker |
StorageInlineCommentMarkerUnmarshaller.unmarshal(XMLEventReader xmlEventReader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
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 |
---|---|
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) |
Link |
StorageLinkUnmarshaller.unmarshal(XMLEventReader linkReader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
FragmentTransformer |
StorageMacroFragmentTransformerFactory.createStorageMacroFragmentTransformer(Unmarshaller<ResourceIdentifier> resourceIdentifierUnmarshaller,
Marshaller<ResourceIdentifier> resourceIdentifierMarshaller) |
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.
|
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 |
---|---|
PageLayout |
StorageLegacyPageLayoutUnMarshaller.unmarshal(XMLEventReader xmlEventReader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
PageLayout |
StoragePageLayoutUnMarshaller.unmarshal(XMLEventReader reader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
Placeholder |
StoragePlaceholderUnmarshaller.unmarshal(XMLEventReader reader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
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 |
---|---|
Time |
StorageTimeUnmarshaller.unmarshal(XMLEventReader reader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
Modifier and Type | Class and Description |
---|---|
class |
DefaultFragmentTransformer
This can be thought of as the top-level Transformer since it includes the behaviour of writing out any
events that have no specific handling configured.
|
class |
ElementTransformingFragmentTransformer
A FragmentTransformer that can be configured to transform individual Elements it reads.
|
class |
Html5RawTextElementFragmentTransformer
Takes xhtml fragments for raw text elements (as a matching pair of elements) and
returns it as a pair of open and close tags (as required by the HTML 5 spec).
|
class |
Html5VoidElementFragmentTransformer
Takes xhtml fragments for void elements (either as empty elements or as a matching pair of elements) and
returns it as a single self closing tag (as required by the HTML 5 spec).
|
class |
LazyLoadingFragmentTransformer
A FragmentTransformer which delegates to another FragmentTransformer identified by bean id.
|
class |
LegacyFragmentTransformer |
Modifier and Type | Method and Description |
---|---|
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 |
LazyLoadingFragmentTransformer.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 |
LegacyFragmentTransformer.transform(XMLEventReader reader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
Streamable |
Html5VoidElementFragmentTransformer.transform(XMLEventReader reader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
Streamable |
Html5RawTextElementFragmentTransformer.transform(XMLEventReader reader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
abstract String |
LegacyFragmentTransformer.transformToString(XMLEventReader reader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
static DefaultFragmentTransformer |
DefaultFragmentTransformer.createMigrationAwareFragmentTransformer(List<? extends FragmentTransformer> fragmentTransformers,
XmlOutputFactory xmlFragmentOutputFactory,
XmlEventReaderFactory xmlEventReaderFactory,
FragmentTransformationErrorHandler fragmentTransformationErrorHandler,
com.atlassian.event.api.EventPublisher eventPublisher) |
DefaultFragmentTransformer |
DefaultFragmentTransformerFactoryImpl.createWithCustomFragmentTransformers(List<? extends FragmentTransformer> additional) |
DefaultFragmentTransformer |
DefaultFragmentTransformerFactory.createWithCustomFragmentTransformers(List<? extends FragmentTransformer> additional)
Create a
DefaultFragmentTransformer with an extended set of FragmentTransformer s. |
Constructor and Description |
---|
DefaultFragmentTransformer(List<? extends FragmentTransformer> fragmentTransformers,
XmlOutputFactory xmlFragmentOutputFactory,
XmlEventReaderFactory xmlEventReaderFactory,
FragmentTransformationErrorHandler fragmentTransformationErrorHandler,
com.atlassian.event.api.EventPublisher eventPublisher) |
DefaultFragmentTransformer(List<ElementTransformer> elementTransformers,
List<? extends FragmentTransformer> fragmentTransformers,
XmlOutputFactory xmlFragmentOutputFactory,
XmlEventReaderFactory xmlEventReaderFactory,
FragmentTransformationErrorHandler fragmentTransformationErrorHandler,
com.atlassian.event.api.EventPublisher eventPublisher) |
DefaultFragmentTransformerFactoryImpl(List<ElementTransformer> defaultElementTransformers,
List<? extends FragmentTransformer> defaultFragmentTransformers,
XmlOutputFactory xmlFragmentOutputFactory,
XmlEventReaderFactory xmlEventReaderFactory,
FragmentTransformationErrorHandler fragmentTransformationErrorHandler,
com.atlassian.event.api.EventPublisher eventPublisher) |
Modifier and Type | Class and Description |
---|---|
class |
ViewHeadingFragmentTransformer
Transforms headings ({@code
|
class |
ViewHtmlAnchorFragmentTransformer |
class |
ViewTableWrappingFragmentTransformer
When tables are displayed they should be wrapped in a div.
|
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) |
Constructor and Description |
---|
DefaultExcerpter(XMLOutputFactory xmlFragmentOutputFactory,
XmlEventReaderFactory xmlEventReaderFactory,
HtmlToXmlConverter htmlToXmlConverter,
SettingsManager settingsManager,
Renderer viewRenderer,
Unmarshaller<EmbeddedImage> embeddedImageUnmarshaller,
FragmentTransformer fragmentTransformer,
AttachmentResourceIdentifierResolver attachmentResolver,
DataSourceFactory datasourceFactory,
ThumbnailManager thumbnailManager,
XhtmlContent xhtmlContent,
ExcerptHelper excerptHelper,
I18NBeanFactory i18NBeanFactory,
LocaleManager localeManager) |
Modifier and Type | Method and Description |
---|---|
InlineTaskList |
ViewInlineTaskUnmarshaller.unmarshal(XMLEventReader xmlEventReader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext) |
Constructor and Description |
---|
MacroResource(XhtmlContent xhtmlContent,
EditorFormatService editorFormatService,
ContentEntityManager contentEntityManager,
HtmlToXmlConverter htmlToXmlConverter,
HttpContext httpContext,
MacroManager macroManager,
com.atlassian.sal.api.message.I18nResolver i18nResolver,
com.atlassian.sal.api.transaction.TransactionTemplate transactionTemplate,
PermissionManager permissionManager,
MacroParameterTypeParser macroParameterTypeParser,
XmlEventReaderFactory xmlEventReaderFactory,
FragmentTransformer defaultFragmentTransformer,
StorageMacroBodyParser storageMacroBodyParser,
MacroMetadataManager macroMetadataManager) |
Copyright © 2003–2018 Atlassian. All rights reserved.