|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xwiki.rendering.transformation.AbstractTransformation
public abstract class AbstractTransformation
Code common to all Transformation and base implementation of priorities (see Transformation.getPriority()).
| Constructor Summary | |
|---|---|
AbstractTransformation()
|
|
| Method Summary | |
|---|---|
int |
compareTo(Transformation transformation)
|
int |
getPriority()
The priority of execution relative to the other transformations. |
void |
transform(XDOM dom,
Syntax syntax)
Transform the passed XDOM and modifies it. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.xwiki.rendering.transformation.Transformation |
|---|
transform |
| Constructor Detail |
|---|
public AbstractTransformation()
| Method Detail |
|---|
public int getPriority()
getPriority in interface TransformationTransformation.getPriority()public int compareTo(Transformation transformation)
compareTo in interface java.lang.Comparable<Transformation>Comparable.compareTo(Object)
public void transform(XDOM dom,
Syntax syntax)
throws TransformationException
transform in interface Transformationdom - the AST representing the content in Blockssyntax - the Syntax of the content
TransformationException - if the transformation fails for any reasonTransformation.transform(org.xwiki.rendering.block.XDOM ,
org.xwiki.rendering.syntax.Syntax)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||