com.atlassian.confluence.content.render.xhtml
Class XmlOutputFactoryFactoryBean

java.lang.Object
  extended by com.atlassian.confluence.content.render.xhtml.XmlOutputFactoryFactoryBean
All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean

public class XmlOutputFactoryFactoryBean
extends Object
implements org.springframework.beans.factory.FactoryBean

A spring factory bean for creating an instance of an XMLOutputFactory. The main motivation for this was there doesn't seem to be a means to invoke XMLOutputFactory.setProperty(String, Object) declaratively.


Constructor Summary
XmlOutputFactoryFactoryBean(boolean fragmentOutput)
           
 
Method Summary
 Object getObject()
           
 Class getObjectType()
           
 boolean isSingleton()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlOutputFactoryFactoryBean

public XmlOutputFactoryFactoryBean(boolean fragmentOutput)
Method Detail

getObject

public Object getObject()
                 throws Exception
Specified by:
getObject in interface org.springframework.beans.factory.FactoryBean
Throws:
Exception

getObjectType

public Class getObjectType()
Specified by:
getObjectType in interface org.springframework.beans.factory.FactoryBean

isSingleton

public boolean isSingleton()
Specified by:
isSingleton in interface org.springframework.beans.factory.FactoryBean


Copyright © 2003-2012 Atlassian. All Rights Reserved.