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, javax.xml.stream.XMLOutputFactory xmlOutputFactory, javax.xml.stream.XMLEventFactory xmlEventFactory, XmlEventReaderFactory xmlEventReaderFactory, HrefEvaluator hrefEvaluator)
           
 
Method Summary
 boolean handles(javax.xml.stream.events.StartElement startElementEvent, ConversionContext conversionContext)
           
 java.lang.String transformToString(javax.xml.stream.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,
                                         javax.xml.stream.XMLOutputFactory xmlOutputFactory,
                                         javax.xml.stream.XMLEventFactory xmlEventFactory,
                                         XmlEventReaderFactory xmlEventReaderFactory,
                                         HrefEvaluator hrefEvaluator)
Method Detail

handles

public boolean handles(javax.xml.stream.events.StartElement startElementEvent,
                       ConversionContext conversionContext)
Specified by:
handles in interface FragmentTransformer

transformToString

public java.lang.String transformToString(javax.xml.stream.XMLEventReader reader,
                                          FragmentTransformer mainFragmentTransformer,
                                          ConversionContext conversionContext)
                                   throws XhtmlException
Specified by:
transformToString in class LegacyFragmentTransformer
Throws:
XhtmlException


Copyright © 2003-2014 Atlassian. All Rights Reserved.