org.wikimodel.wem
Interface IWikiMacroParser

All Known Implementing Classes:
MediaWikiMacroParser

public interface IWikiMacroParser

Instances of this type are used to transform macros found in wiki documents into corresponding structured objects - WikiMacro.

Author:
mkirst(at portolancs dot com)

Method Summary
 WikiMacro parse(String str)
          Parses the given macro, recognizes individual parts of it (name, content, parameters) and returns the corresponding object.
 

Method Detail

parse

WikiMacro parse(String str)
Parses the given macro, recognizes individual parts of it (name, content, parameters) and returns the corresponding object.

Parameters:
str - the macro reference to parse
Returns:
a wiki macro corresponding to the given string


Copyright © 2005-2012. All Rights Reserved.