org.xwiki.rendering.internal.transformation
Class DefaultTransformationManager
java.lang.Object
org.xwiki.rendering.internal.transformation.DefaultTransformationManager
- All Implemented Interfaces:
- TransformationManager
@Component
@Singleton
public class DefaultTransformationManager
- extends Object
- implements TransformationManager
Calls all existing transformations (executed by priority) on an existing XDOM object to generate a new transformed
XDOM.
- Since:
- 1.5M2
- Version:
- $Id$
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultTransformationManager
public DefaultTransformationManager()
performTransformations
public void performTransformations(XDOM dom,
Syntax syntax)
throws TransformationException
-
- Specified by:
performTransformations in interface TransformationManager
- Parameters:
dom - the XDOM on which apply transformationssyntax - the syntax of the source from where this XDOM as been generated
- Throws:
TransformationException - error when applying transformations- See Also:
TransformationManager.performTransformations(org.xwiki.rendering.block.XDOM,
org.xwiki.rendering.syntax.Syntax)
performTransformations
public void performTransformations(Block block,
TransformationContext context)
throws TransformationException
-
- Specified by:
performTransformations in interface TransformationManager
- Parameters:
block - the block to transformcontext - the context of the transformation process.
- Throws:
TransformationException - error when applying transformations- See Also:
TransformationManager.performTransformations(org.xwiki.rendering.block.Block,
org.xwiki.rendering.transformation.TransformationContext)
Copyright © 2004-2011 XWiki. All Rights Reserved.