Package com.atlassian.confluence.content.render.xhtml
package com.atlassian.confluence.content.render.xhtml
-
ClassDescriptionA request to render one or more storage-fragment strings with a given ConversionContext.This "Confluence" implementation of
XMLEventWriter
was introduced primarily to deal with STAX-58.This "Confluence" implementation ofXmlOutputFactory
was introduced primarily to deal with STAX-58.Defines common functions that obtain excerpts of content (e.g.XHTML Successor toRenderContextOutputType
.The set of property names used to accessConversionContext
properties.A non-thread safe implementation of the ConversionContext suitable for use in the single threaded XHTML output process.Implementation outputting XHTML suitable for display in browsers.Default implementation of the XmlOutputFactoryProvider interface.Encapsulates the boiler plate around creating a stream writer.This class acts as an adapter between the StAXXMLOutputFactory
abstract class and the ConfluenceXmlOutputFactory
interface.A renderer which is aware of the registration ofDeviceTypeRendererComponentModuleDescriptor
within the system and will keep track of these modules.Dummy implementation ofRenderingEventPublisher
Implemented by a class that can create id's for Elements suitable for use in the context of a particularConversionContext
.An interface implemented by an object that will handle a StartElement or EndElement and transform it in some manner.An XMLEventReader that can be configured with multiple ElementTransformers potentially changing the start and end elements returned by the reader.Provides a convenient service for transforming to and from the storage format into the editor and view formats.Class delegates all calls to an {code}XMLEventReader{code} passed to the constructor.A non-thread safe class used to create HTML ids within a render 'context'.Convert a String supplied in HTML to well formed XML that can be handled by an XML parser.Removes illegal XML attributes.A class encapsulating the commonality in parsing the attributes on an img or ac:image tag.A class encapsulating the commonality in marshalling the attributes for an image in view, edit and storage.Allows links to content to be rendered without exposing our marshalling architecture.Represents a macro body type used in macro transformation.Marshaller<T>Responsible for marshalling an XML fragment.An interface describing a factory capable of returning aMarshaller
orUnmarshaller
suitable for particular usages.Lazily resolves the marshaller and unmarshaller to use for transforming objects of the specified type.Gets Marshallers and Unmarshallers, so you don't have to wire them yaself.The type of a Marshaller or Unmarshaller.Represents an XML namespace.ATransformer
which passes the input through a series of other transformers provided by enabled plugins'TransformerModuleDescriptor
s, in addition to a set of defaults transformers.A thread safe xhtml/html/xml Cleaner which is configured via a policy file classpath resource.Responsible for cleaning supplied HTML content into a form that is balanced and free of any insecure markup.Render from Confluence storage format to XHTML for viewing or editing.Publishes events related to the rendering process.Not thread-safe.Marshals the specified object to a StAX stream.Responsible for cleaning supplied XML content into a form that is balanced and free of any insecure markup.A description of a rule that was applied during the cleaning of content.The complete results of a clean up operation.Represents some data that may be streamed out to a writer.Convenience class for common operations to construct or convertStreamable
instances.Class wraps another {code}XmlEventReader{code} to extract text from the XML that has been read.Serves date formats from thread local storage to avoid synchronisation.A class that providesDateFormat
s used to format and parse dates when transforming between Confluence formats (such as editor and storage formats).Takes an ordered list of transfomers and runs each of them serially, passing the transformation output of one transformer as input into the next.Unmarshaller<T>Responsible for unmarshalling an XML fragment.AFragmentTransformer
that transforms by unmarshalling and then re-marshalling the fragment.Deprecated.Deprecated.since 5.1.4 SeeStorageFormatCleaner
instead.Deprecated.since 5.1.4 SeeStorageFormatCleaner
instead.An event sent when aXhtmlTimeoutException
occurs when rendering a fragment.An event sent when aXhtmlTimeoutException
occurs when rendering aMacro
.A checked exception indicating that an Xhtml Conversion has exceeded its allocated time limit.A Cyberneko filter to cope with a common mistake made by plugin developers in Confluence.This exists to provide a 'safe' way to access , without it there may be weird classloader issues.Factory to create event readers over different types of Confluence XML (namely editor and storage XML).Exposes the events of the body of a fragment, but does not include any events for the start and end tags of the fragment.Exposes the events of the body of a fragment including the start and end element of the fragment.This was introduced mainly becauseXMLOutputFactory
is an abstract class :(An interface for the XmlOutputFactoryProvider.
StorageFormatCleaner
andRenderedContentCleaner
instead.