Examples of XhtmlSinkFactory


Examples of org.apache.maven.doxia.module.xhtml.XhtmlSinkFactory

   * @param locale
   * @return
   * @throws MavenReportException
   */
  public String getReport(Locale locale) throws MavenReportException {
    XhtmlSinkFactory sinkFactory = new XhtmlSinkFactory();
        Sink sink;
        JDependReportGenerator report = new JDependReportGenerator();
        ByteArrayOutputStream htmlStream = new ByteArrayOutputStream();
       
        try
        {    
          sink = (Sink)sinkFactory.createSink(htmlStream);
        }
        catch (Exception e)
        {
          e.printStackTrace();
          throw new MavenReportException("Couldn't find sink: " + e, e);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.