|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@ComponentRole public interface MacroContentParser
Parses content of a macro field (parameter, macro content) in a given syntax.
| Method Summary | |
|---|---|
List<Block> |
parse(String content,
MacroTransformationContext macroContext,
boolean transform,
boolean removeTopLevelParagraph)
Parses content of a macro field (parameter, macro content) in a given syntax and optionally remove the top level paragraph. |
XDOM |
parseXDOM(String content,
MacroTransformationContext macroContext,
boolean transform,
boolean removeTopLevelParagraph)
Parses content of a macro field (parameter, macro content) in a given syntax and optionally remove the top level paragraph. |
| Method Detail |
|---|
List<Block> parse(String content,
MacroTransformationContext macroContext,
boolean transform,
boolean removeTopLevelParagraph)
throws MacroExecutionException
content - the content to parsemacroContext - the executing Macro context (from which to get the current syntax, etc)transform - if true then executes transformationsremoveTopLevelParagraph - whether the top level paragraph should be removed after parsing
Blocks
MacroExecutionException - in case of a parsing error
XDOM parseXDOM(String content,
MacroTransformationContext macroContext,
boolean transform,
boolean removeTopLevelParagraph)
throws MacroExecutionException
content - the content to parsemacroContext - the executing Macro context (from which to get the current syntax, etc)transform - if true then executes transformationsremoveTopLevelParagraph - whether the top level paragraph should be removed after parsing
Blocks
MacroExecutionException - in case of a parsing error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||