com.atlassian.confluence.content.render.xhtml.view
Class ViewHtmlAnchorFragmentTransformer

java.lang.Object
  extended by com.atlassian.confluence.content.render.xhtml.transformers.LegacyFragmentTransformer
      extended by com.atlassian.confluence.content.render.xhtml.view.ViewHtmlAnchorFragmentTransformer
All Implemented Interfaces:
FragmentTransformer

public class ViewHtmlAnchorFragmentTransformer
extends LegacyFragmentTransformer
implements FragmentTransformer


Constructor Summary
ViewHtmlAnchorFragmentTransformer(SettingsManager settingsManager, XMLOutputFactory xmlOutputFactory, XMLEventFactory xmlEventFactory, XmlEventReaderFactory xmlEventReaderFactory, HrefEvaluator hrefEvaluator)
           
 
Method Summary
 boolean handles(StartElement startElementEvent, ConversionContext conversionContext)
           
 String transformToString(XMLEventReader reader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
           
 
Methods inherited from class com.atlassian.confluence.content.render.xhtml.transformers.LegacyFragmentTransformer
transform
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.confluence.content.render.xhtml.transformers.FragmentTransformer
transform
 

Constructor Detail

ViewHtmlAnchorFragmentTransformer

public ViewHtmlAnchorFragmentTransformer(SettingsManager settingsManager,
                                         XMLOutputFactory xmlOutputFactory,
                                         XMLEventFactory xmlEventFactory,
                                         XmlEventReaderFactory xmlEventReaderFactory,
                                         HrefEvaluator hrefEvaluator)
Method Detail

handles

public boolean handles(StartElement startElementEvent,
                       ConversionContext conversionContext)
Specified by:
handles in interface FragmentTransformer

transformToString

public String transformToString(XMLEventReader reader,
                                FragmentTransformer mainFragmentTransformer,
                                ConversionContext conversionContext)
                         throws XhtmlException
Specified by:
transformToString in class LegacyFragmentTransformer
Throws:
XhtmlException


Copyright © 2003–2015 Atlassian. All rights reserved.