org.xwiki.rendering.wikimodel.mediawiki
Class MediaWikiMacroParser

java.lang.Object
  extended by org.xwiki.rendering.wikimodel.mediawiki.MediaWikiMacroParser
All Implemented Interfaces:
IWikiMacroParser

public class MediaWikiMacroParser
extends Object
implements IWikiMacroParser

Since:
4.0M1
Version:
$Id$

Constructor Summary
MediaWikiMacroParser()
           
 
Method Summary
 WikiMacro parse(String str)
          Parses the given macro, recognizes individual parts of it (name, content, parameters) and returns the corresponding object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MediaWikiMacroParser

public MediaWikiMacroParser()
Method Detail

parse

public WikiMacro parse(String str)
Description copied from interface: IWikiMacroParser
Parses the given macro, recognizes individual parts of it (name, content, parameters) and returns the corresponding object.

Specified by:
parse in interface IWikiMacroParser
Parameters:
str - the macro reference to parse
Returns:
a wiki macro corresponding to the given string


Copyright © 2004-2012 XWiki. All Rights Reserved.