org.exoplatform.wiki.rendering.impl
Class RenderingServiceImpl
java.lang.Object
org.exoplatform.wiki.rendering.impl.RenderingServiceImpl
- All Implemented Interfaces:
- RenderingService, org.picocontainer.Startable
public class RenderingServiceImpl
- extends Object
- implements RenderingService, org.picocontainer.Startable
Created by The eXo Platform SAS Author : eXoPlatform exo@exoplatform.com Nov
5, 2009
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RenderingServiceImpl
public RenderingServiceImpl()
getExecution
public org.xwiki.context.Execution getExecution()
throws org.xwiki.component.manager.ComponentLookupException,
org.xwiki.component.manager.ComponentRepositoryException
- Specified by:
getExecution in interface RenderingService
- Throws:
org.xwiki.component.manager.ComponentLookupException
org.xwiki.component.manager.ComponentRepositoryException
getComponentManager
public org.xwiki.component.manager.ComponentManager getComponentManager()
- Specified by:
getComponentManager in interface RenderingService
getComponent
public <T> T getComponent(Type clazz)
render
public String render(String markup,
String sourceSyntax,
String targetSyntax,
boolean supportSectionEdit)
throws Exception
- Specified by:
render in interface RenderingService
- Throws:
Exception
getContentOfSection
public String getContentOfSection(String markup,
String sourceSyntax,
String sectionIndex)
throws Exception
- Specified by:
getContentOfSection in interface RenderingService
- Throws:
Exception
updateContentOfSection
public String updateContentOfSection(String markup,
String sourceSyntax,
String sectionIndex,
String newSectionContent)
throws Exception
- Specified by:
updateContentOfSection in interface RenderingService
- Throws:
Exception
start
public void start()
- Specified by:
start in interface org.picocontainer.Startable
stop
public void stop()
- Specified by:
stop in interface org.picocontainer.Startable
parse
public org.xwiki.rendering.block.XDOM parse(String markup,
String sourceSyntax)
throws Exception
- Specified by:
parse in interface RenderingService
- Throws:
Exception
getCssURL
public String getCssURL()
- Specified by:
getCssURL in interface RenderingService
setCssURL
public void setCssURL(String cssURL)
- Specified by:
setCssURL in interface RenderingService
Copyright © 2013 eXo Platform SAS. All Rights Reserved.