Class MyCoReWebPageProvider

java.lang.Object
org.mycore.tools.MyCoReWebPageProvider

public class MyCoReWebPageProvider extends Object
This class provides a simple way to dynamically create MyCoRe webpages. These pages might be rendered through the layout service.
Example:
   MyCoReWebPageProvider wp = new MyCoReWebPageProvider();
   wp.addSection("Section Title", "Section Text", MyCoReWebPageProvider.DE);
   Document xml = wp.getXML();
   
   //call the layout service of an MCRServlet
   getLayoutService().doLayout(job.getRequest(), job.getResponse(), xml);
  
Author:
shermann, Matthias Eichner