本文整理了Java中org.apache.maven.doxia.sink.Sink.body_()
方法的一些代码示例,展示了Sink.body_()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Sink.body_()
方法的具体详情如下:
包路径:org.apache.maven.doxia.sink.Sink
类名称:Sink
方法名:body_
暂无
代码示例来源:origin: org.xwiki.rendering/xwiki-rendering-syntax-doxia
@Override
public void endDocument(MetaData metadata)
{
this.sink.body_();
}
代码示例来源:origin: org.codehaus.mojo/javacc-maven-plugin
/**
* Create the HTML footer for the report page.
*
* @param sink The sink to write the HTML report page.
*/
private void createReportFooter( Sink sink )
{
sink.table_();
sink.body_();
}
代码示例来源:origin: revapi/revapi
protected void endReport(Sink sink) {
sink.section1_();
sink.body_();
}
代码示例来源:origin: org.apache.felix/maven-bundle-plugin
@Override
protected void endBaseline(final Object context)
{
final Context ctx = (Context)context;
ctx.sink.body_();
ctx.sink.flush();
ctx.sink.close();
}
代码示例来源:origin: de.smartics.testdoc/maven-testdoc-report-plugin
protected void renderPageEndAndFinalize()
{
sink.body_();
sink.flush();
sink.close();
}
代码示例来源:origin: org.apache.maven.plugins/maven-pmd-plugin
public void endDocument()
throws IOException
{
// The Metrics report useless with the current PMD metrics impl.
// For instance, run the coupling ruleset and you will get a boatload
// of excessive imports metrics, none of which is really any use.
// TODO Determine if we are going to just ignore metrics.
// processMetrics();
sink.body_();
sink.flush();
sink.close();
}
代码示例来源:origin: de.smartics.testdoc/testdoc-maven-report-plugin
protected void renderPageEndAndFinalize()
{
sink.body_();
sink.flush();
sink.close();
}
代码示例来源:origin: ru.yandex.qatools.allure/allure-maven-plugin
/**
* Render allure report page in project-reports.html.
*/
protected void render(Sink sink, String title) {
sink.head();
sink.title();
sink.text(title);
sink.title_();
sink.head_();
sink.body();
sink.lineBreak();
Path indexHtmlFile = Paths.get(reportDirectory, "index.html");
String relativePath = Paths.get(reportingOutputDirectory)
.relativize(indexHtmlFile).toString();
sink.rawText(format("<meta http-equiv=\"refresh\" content=\"0;url=%s\" />",
relativePath));
sink.link(relativePath);
sink.body_();
sink.flush();
sink.close();
}
代码示例来源:origin: allure-framework/allure-maven
/**
* Render allure report page in project-reports.html.
*/
protected void render(Sink sink, String title) {
sink.head();
sink.title();
sink.text(title);
sink.title_();
sink.head_();
sink.body();
sink.lineBreak();
Path indexHtmlFile = Paths.get(getReportDirectory(), "index.html");
String relativePath = Paths.get(reportingOutputDirectory)
.relativize(indexHtmlFile).toString();
sink.rawText(format("<meta http-equiv=\"refresh\" content=\"0;url=%s\" />",
relativePath));
sink.link(relativePath);
sink.body_();
sink.flush();
sink.close();
}
代码示例来源:origin: net.thucydides.maven.plugins/maven-thucydides-plugin
public void generateReport(TestOutcomes testOutcomes, Sink sink) {
sink.head();
generateTitle(sink);
sink.head_();
sink.body();
generateOverviewSection(sink);
sink.body_();
sink.flush();
sink.close();
}
代码示例来源:origin: stackoverflow.com
Sink sink = getSink();
sink.head();
sink.title();
sink.text("Hello");
sink.title_();
sink.head_();
sink.body();
sink.rawText("Hello World");
sink.body_();
sink.flush();
sink.close();
代码示例来源:origin: org.apache.maven.plugins/maven-checkstyle-plugin
public void generateReport( CheckstyleResults results )
{
doHeading();
if ( getSeverityLevel() == null )
{
if ( enableSeveritySummary )
{
doSeveritySummary( results );
}
if ( enableFilesSummary )
{
doFilesSummary( results );
}
if ( enableRulesSummary )
{
doRulesSummary( results );
}
}
doDetails( results );
sink.body_();
sink.flush();
sink.close();
}
代码示例来源:origin: org.apache.maven.plugins/maven-pmd-plugin
sink.body_();
sink.flush();
sink.close();
代码示例来源:origin: org.jvnet.hudson.plugins/jdepend
public void doGenerateReport( ResourceBundle bundle, Sink sink, JDependParser jdepend )
{
this.jdepend = jdepend;
sink.head();
sink.title();
sink.text( bundle.getString( "report.title" ) ); //$NON-NLS-1$
sink.title_();
sink.head_();
sink.body();
sink.section1();
sink.sectionTitle1();
sink.text( bundle.getString( "report.metricresults" ) ); //$NON-NLS-1$
sink.sectionTitle1_();
doSectionLinks( bundle, sink );
sink.lineBreak();
sink.lineBreak();
sink.text( bundle.getString( "report.intro" ) ); //$NON-NLS-1$
sink.lineBreak();
sink.lineBreak();
doSummarySection( bundle, sink );
doPackagesSection( bundle, sink );
doCycleSection( bundle, sink );
doExplanationSection( bundle, sink );
sink.section1_();
sink.body_();
sink.flush();
sink.close();
}
代码示例来源:origin: org.apache.maven.doxia/doxia-module-confluence
@Override
public synchronized void parse( Reader source, Sink sink, String reference )
throws ParseException
{
ByLineSource src = new ByLineReaderSource( source, reference );
try
{
List<Block> blocks = parse( src );
sink.head();
sink.head_();
sink.body();
for ( Block block : blocks )
{
block.traverse( sink );
}
sink.body_();
}
catch ( Exception e )
{
// TODO handle column number
throw new ParseException( e, src.getName(), src.getLineNumber(), -1 );
}
finally
{
setSecondParsing( false );
init();
}
}
代码示例来源:origin: org.apache.maven.plugins/maven-surefire-report-plugin
sink.body_();
代码示例来源:origin: apache/maven-surefire
sink.body_();
代码示例来源:origin: org.apache.maven.doxia/doxia-module-twiki
sink.body_();
sink.flush();
sink.close();
代码示例来源:origin: org.apache.maven.plugins/maven-site-plugin
private void extract( DecorationModel decoration, Sink sink, Locale locale )
{
sink.head();
sink.title();
sink.text( i18n.getString( "site-plugin", locale, "site.sitemap.title" ) );
sink.title_();
sink.head_();
sink.body();
sink.section1();
sink.sectionTitle1();
sink.text( i18n.getString( "site-plugin", locale, "site.sitemap.section.title" ) );
sink.sectionTitle1_();
sink.paragraph();
sink.text( i18n.getString( "site-plugin", locale, "site.sitemap.description" ) );
sink.paragraph_();
for ( Menu menu : decoration.getMenus() )
{
sink.section3();
sink.sectionTitle3();
sink.text( menu.getName() );
sink.sectionTitle3_();
sink.horizontalRule();
extractItems( menu.getItems(), sink );
sink.section3_();
}
sink.section1_();
sink.body_();
}
代码示例来源:origin: org.apache.maven.plugins/maven-project-info-reports-plugin
sink.body_();
sink.flush();
sink.close();
内容来源于网络,如有侵权,请联系作者删除!