|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xwiki.rendering.util.ParserUtils
public class ParserUtils
Methods for helping in parsing.
| Constructor Summary | |
|---|---|
ParserUtils()
|
|
| Method Summary | |
|---|---|
void |
removeTopLevelParagraph(java.util.List<Block> blocks)
Removes any top level paragraph since for example for the following use case we don't want an extra paragraph block: = hello {{velocity}}world{{/velocity}}. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ParserUtils()
| Method Detail |
|---|
public void removeTopLevelParagraph(java.util.List<Block> blocks)
= hello {{velocity}}world{{/velocity}}.
blocks - the blocks to check and convert
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||