com.atlassian.confluence.pages.templates
Class XhtmlTemplateHandler

java.lang.Object
  extended by com.atlassian.confluence.pages.templates.XhtmlTemplateHandler
All Implemented Interfaces:
TemplateHandler

public class XhtmlTemplateHandler
extends Object
implements TemplateHandler

Processes XHTML templates.


Constructor Summary
XhtmlTemplateHandler(XmlOutputFactory xmlFragmentOutputFactory, XmlEventReaderFactory xmlEventReaderFactory, FormatConverter formatConverter, XMLEventFactory xmlEventFactory)
           
 
Method Summary
 String generateEditorFormat(PageTemplate template, List<Variable> variables, String spaceKey)
           
 PageContext getRenderContext(String spaceKey)
           
 List<Variable> getTemplateVariables(PageTemplate template)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XhtmlTemplateHandler

public XhtmlTemplateHandler(@Qualifier(value="xmlFragmentOutputFactory")
                            XmlOutputFactory xmlFragmentOutputFactory,
                            XmlEventReaderFactory xmlEventReaderFactory,
                            FormatConverter formatConverter,
                            XMLEventFactory xmlEventFactory)
Method Detail

getTemplateVariables

public List<Variable> getTemplateVariables(PageTemplate template)
                                    throws XhtmlException
Specified by:
getTemplateVariables in interface TemplateHandler
Throws:
XhtmlException

generateEditorFormat

public String generateEditorFormat(PageTemplate template,
                                   List<Variable> variables,
                                   String spaceKey)
                            throws XhtmlException
Specified by:
generateEditorFormat in interface TemplateHandler
Throws:
XhtmlException

getRenderContext

public PageContext getRenderContext(String spaceKey)


Copyright © 2003-2012 Atlassian. All Rights Reserved.