Package org.apache.wiki.plugin

Examples of org.apache.wiki.plugin.PluginManager


    testEngine.saveText( "TestPage01", "Some Text for testing 01" );
    testEngine.saveText( "TestPage02", "Some Text for testing 02" );
    testEngine.saveText( "TestPage03", "Some Text for testing 03" );

    manager = new PluginManager( testEngine, props );
}
View Full Code Here


    @SuppressWarnings("unchecked")
    private String executePlugin( String plugin, String args, String body )
        throws PluginException, IOException
    {
        WikiEngine engine = m_wikiContext.getEngine();
        PluginManager pm  = engine.getPluginManager();

        m_evaluated = true;

        Map<String, String> argmap = pm.parseArgs( args );
       
        if( body != null )
        {
            argmap.put( "_body", body );
        }

        String result = pm.execute( m_wikiContext, plugin, argmap );

        return result;       
    }
View Full Code Here

    engine.saveText( "TestPage01", "Some Text for testing 01" );
    engine.saveText( "TestPage02", "Some Text for testing 02" );
    engine.saveText( "TestPage03", "Some Text for testing 03" );

    manager = new PluginManager( engine, props );
}
View Full Code Here

TOP

Related Classes of org.apache.wiki.plugin.PluginManager

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.