com.atlassian.confluence.content.render.xhtml.storage
Class StorageXhtmlTransformer

java.lang.Object
  extended by com.atlassian.confluence.content.render.xhtml.storage.StorageXhtmlTransformer
All Implemented Interfaces:
Transformer

public class StorageXhtmlTransformer
extends Object
implements Transformer


Constructor Summary
StorageXhtmlTransformer(XmlEventReaderFactory xmlEventReaderFactory, FragmentTransformer defaultFragmentTransformer)
           
 
Method Summary
 String transform(Reader storage, ConversionContext conversionContext)
          Begin parsing the supplied Reader, ignore all elements until the body is encountered, at which point "ComponentParsing" begins.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StorageXhtmlTransformer

public StorageXhtmlTransformer(XmlEventReaderFactory xmlEventReaderFactory,
                               FragmentTransformer defaultFragmentTransformer)
Method Detail

transform

public String transform(Reader storage,
                        ConversionContext conversionContext)
                 throws XhtmlException
Begin parsing the supplied Reader, ignore all elements until the body is encountered, at which point "ComponentParsing" begins.

Specified by:
transform in interface Transformer
Returns:
Throws:
XhtmlParsingException - if there is an error parsing the supplied editorFormat XHTML.
XhtmlException - for all other transform errors.


Copyright © 2003-2011 Atlassian. All Rights Reserved.