|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
@ComponentRole public interface WikiMacroFactory
Create a Wiki Macro object by gathering the Macro metadata from a document.
| Method Summary | |
|---|---|
boolean |
containsWikiMacro(org.xwiki.model.reference.DocumentReference documentReference)
Searches the given document for a wiki macro definition. |
WikiMacro |
createWikiMacro(org.xwiki.model.reference.DocumentReference documentReference)
Tries to build a WikiMacro if a definition is found on the given document. |
| Method Detail |
|---|
boolean containsWikiMacro(org.xwiki.model.reference.DocumentReference documentReference)
documentReference - name of the document to search for a wiki macro definition.
WikiMacro createWikiMacro(org.xwiki.model.reference.DocumentReference documentReference)
throws WikiMacroException
WikiMacro if a definition is found on the given document.
documentReference - name of the document on which the macro is defined.
WikiMacro corresponding to the macro definition found.
WikiMacroException - if no macro definition is found or if an error is encountered while building
the macro.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||