Package project.gluebooster.basics.structure.doc

Examples of project.gluebooster.basics.structure.doc.MapContent2HtmlDocument


      return new TestSuite( HtmlDocument2DoxiaConverterTest.class );
  }

  public void testRun()
  {
        MapContent2HtmlDocument sourceGenerator = new MapContent2HtmlDocument();
        HtmlDocument2DoxiaConverter converter = new HtmlDocument2DoxiaConverter();
       
        converter.setSink(new LoggingSink());
        HashMap<String, String> demoMap = new HashMap<String, String>();
        demoMap.put("key1", "value1");
        demoMap.put("key2", "value2");
       
        converter.setHtml(sourceGenerator.get(demoMap));
       
        converter.run();
  }
View Full Code Here


      return new TestSuite( DoxiaXMLEventWriterTest.class );
  }

  public void testRun()
  {
        MapContent2HtmlDocument sourceGenerator = new MapContent2HtmlDocument();
        Html2DoxiaConverter converter = new Html2DoxiaConverter();
       
        converter.setSink(new LoggingSink());
        HashMap<String, String> demoMap = new HashMap<String, String>();
        demoMap.put("key1", "value1");
        demoMap.put("key2", "value2");
       
        converter.setHtml(sourceGenerator.get(demoMap));
       
        converter.run();
  }
View Full Code Here

TOP

Related Classes of project.gluebooster.basics.structure.doc.MapContent2HtmlDocument

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.