本文整理汇总了Java中org.apache.maven.doxia.siterenderer.Renderer类的典型用法代码示例。如果您正苦于以下问题:Java Renderer类的具体用法?Java Renderer怎么用?Java Renderer使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
Renderer类属于org.apache.maven.doxia.siterenderer包,在下文中一共展示了Renderer类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: testReportExecution
import org.apache.maven.doxia.siterenderer.Renderer; //导入依赖的package包/类
@Test
public void testReportExecution() throws Exception {
File outputHtml = new File( "target/test", "test_report.html" );
outputHtml.getParentFile().mkdirs();
Renderer renderer = new DefaultSiteRenderer();
reporter.setSiteRenderer(renderer);
Assert.assertEquals(renderer, reporter.getSiteRenderer());
Assert.assertNull(reporter.getProject());
reporter.setOutputDirectory("src/test/resources/reporting");
Assert.assertEquals("src/test/resources/reporting", reporter.getOutputDirectory());
SiteRendererSink sink = SinkFactory.createSink( outputHtml.getParentFile(), outputHtml.getName() );
reporter.setSink(sink);
reporter.setSiteRenderer(renderer);
reporter.executeReport(Locale.ENGLISH);
String expected = FileUtils.readFileToString(new File("src/test/resources/reporting/muto.html"));
Assert.assertEquals(expected.trim(), sink.getBody().trim());
}
示例2: getSiteRenderer
import org.apache.maven.doxia.siterenderer.Renderer; //导入依赖的package包/类
@Override
protected Renderer getSiteRenderer() {
return siteRenderer;
}
示例3: getSiteRenderer
import org.apache.maven.doxia.siterenderer.Renderer; //导入依赖的package包/类
@Override
protected Renderer getSiteRenderer() {
return this.siteRenderer;
}
示例4: getSiteRenderer
import org.apache.maven.doxia.siterenderer.Renderer; //导入依赖的package包/类
/**
* @see org.apache.maven.reporting.AbstractMavenReport#getSiteRenderer()
*/
protected Renderer getSiteRenderer()
{
return siteRenderer;
}
示例5: getSiteRenderer
import org.apache.maven.doxia.siterenderer.Renderer; //导入依赖的package包/类
/**
* Get the site renderer.
*/
protected Renderer getSiteRenderer()
{
return siteRenderer;
}
示例6: getSiteRenderer
import org.apache.maven.doxia.siterenderer.Renderer; //导入依赖的package包/类
@Override
protected Renderer getSiteRenderer() {
return siteRenderer;
}
示例7: getSiteRenderer
import org.apache.maven.doxia.siterenderer.Renderer; //导入依赖的package包/类
/**
* {@inheritDoc}
*/
protected Renderer getSiteRenderer()
{
return siteRenderer;
}
示例8: getSiteRenderer
import org.apache.maven.doxia.siterenderer.Renderer; //导入依赖的package包/类
public Renderer getSiteRenderer()
{
return siteRenderer;
}
示例9: setSiteRenderer
import org.apache.maven.doxia.siterenderer.Renderer; //导入依赖的package包/类
public void setSiteRenderer( Renderer siteRenderer )
{
this.siteRenderer = siteRenderer;
}
示例10: getSiteRenderer
import org.apache.maven.doxia.siterenderer.Renderer; //导入依赖的package包/类
@Override
protected Renderer getSiteRenderer() {
return this.siteRenderer;
}
示例11: setSiteRenderer
import org.apache.maven.doxia.siterenderer.Renderer; //导入依赖的package包/类
/**
* @param siteRendererValue the siteRenderer to set
*/
public final void setSiteRenderer(final Renderer siteRendererValue) {
this.siteRenderer = siteRendererValue;
}
示例12: getSiteRenderer
import org.apache.maven.doxia.siterenderer.Renderer; //导入依赖的package包/类
@Override
protected final Renderer getSiteRenderer() {
return this.siteRenderer;
}
示例13: getSiteRenderer
import org.apache.maven.doxia.siterenderer.Renderer; //导入依赖的package包/类
@Override
public Renderer getSiteRenderer() {
return this.renderer;
}
示例14: getSiteRenderer
import org.apache.maven.doxia.siterenderer.Renderer; //导入依赖的package包/类
/**
* {@inheritDoc}
*
* @see org.apache.maven.reporting.AbstractMavenReport#getSiteRenderer()
*/
@Override
protected final Renderer getSiteRenderer()
{
return siteRenderer;
}
示例15: getSiteRenderer
import org.apache.maven.doxia.siterenderer.Renderer; //导入依赖的package包/类
/**
* Get the site renderer.
*
* @see org.apache.maven.reporting.AbstractMavenReport#getSiteRenderer()
* @return The site renderer.
*/
@Override
protected Renderer getSiteRenderer ()
{
return this.siteRenderer;
}