org.apache.maven.doxia.sink.Sink.horizontalRule()方法的使用及代码示例

x33g5p2x  于2022-01-30 转载在 其他  
字(2.6k)|赞(0)|评价(0)|浏览(121)

本文整理了Java中org.apache.maven.doxia.sink.Sink.horizontalRule()方法的一些代码示例,展示了Sink.horizontalRule()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Sink.horizontalRule()方法的具体详情如下:
包路径:org.apache.maven.doxia.sink.Sink
类名称:Sink
方法名:horizontalRule

Sink.horizontalRule介绍

暂无

代码示例

代码示例来源:origin: org.xwiki.rendering/xwiki-rendering-syntax-doxia

@Override
public void onHorizontalLine(Map<String, String> parameters)
{
  // TODO: Handle parameters
  this.sink.horizontalRule();
}

代码示例来源:origin: org.apache.maven.doxia/doxia-module-twiki

/** {@inheritDoc} */
public final void traverse( final Sink sink )
{
  sink.horizontalRule();
}

代码示例来源:origin: org.apache.maven.doxia/doxia-module-confluence

/** {@inheritDoc} */
  public  void traverse(  Sink sink )
  {
    sink.horizontalRule();
  }
}

代码示例来源:origin: org.apache.maven.doxia/doxia-module-docbook-simple

/** {@inheritDoc} */
protected void handleComment( XmlPullParser parser, Sink sink )
  throws XmlPullParserException
{
  final String text = parser.getText();
  if ( "PB".equals( text.trim() ) )
  {
    sink.pageBreak();
  }
  else if ( "HR".equals( text.trim() ) )
  {
    sink.horizontalRule();
  }
  else if ( "LB".equals( text.trim() ) )
  {
    sink.lineBreak();
  }
  else if ( "anchor_end".equals( text.trim() ) )
  {
    sink.anchor_();
  }
  else
  {
    if ( isEmitComments() )
    {
      sink.comment( text );
    }
  }
}

代码示例来源:origin: org.apache.maven.plugins/maven-dependency-plugin

sink.text( bundle.getString( "analyze.report.noDependency" ) );
sink.paragraph_();
sink.horizontalRule();
sink.text( bundle.getString( "analyze.report.noDependency" ) );
sink.paragraph_();
sink.horizontalRule();
sink.text( bundle.getString( "analyze.report.noDependency" ) );
sink.paragraph_();
sink.horizontalRule();

代码示例来源:origin: org.apache.maven.doxia/doxia-module-fml

sink.horizontalRule();

代码示例来源:origin: org.apache.maven.plugins/maven-dependency-plugin

sink.horizontalRule();

代码示例来源: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_();
}

相关文章