com.atlassian.confluence.content.render.xhtml
Interface XMLEventFactoryProvider
- All Known Implementing Classes:
- DefaultXMLEventFactoryProvider
public interface XMLEventFactoryProvider
This exists to provide a 'safe' way to access XMLEventFactory
, without it there may be weird classloader issues.
An example of this is MyWork calling InlineTaskService which fails unline calling it directly from within a Confluence page.
Unfortunately as well XMLEventFactory
is not an interface so we need to wrap it in another factory for OSGI.
XmlOutputFactory
for another example of this.
getXmlEventFactory
javax.xml.stream.XMLEventFactory getXmlEventFactory()
Copyright © 2003-2013 Atlassian. All Rights Reserved.