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

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

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

Sink.list介绍

暂无

代码示例

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

/** {@inheritDoc} */
final void before( final Sink sink )
{
  sink.list();
}

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

private static void extractItems( List<MenuItem> items, Sink sink )
{
  if ( items == null || items.isEmpty() )
  {
    return;
  }
  sink.list();
  for ( MenuItem item : items )
  {
    sink.listItem();
    sink.link( relativePath( item.getHref() ) );
    sink.text( item.getName() );
    sink.link_();
    extractItems( item.getItems(), sink );
    sink.listItem_();
  }
  sink.list_();
}

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

sink.list();
printDependencyListing( dependencyNode );
sink.list_();

代码示例来源:origin: org.apache.felix/maven-bundle-plugin

@Override
protected void startDiff( final Object context,
             int depth,
             String type,
             String name,
             String delta,
             String shortDelta )
{
  final Context ctx = (Context)context;
  final Sink sink = ctx.sink;
  if ( ctx.currentDepth < depth )
  {
    sink.list();
  }
  ctx.currentDepth = depth;
  sink.listItem();
  sink.figure();
  sink.figureGraphics( "images/baseline/" + type + ".gif" );
  sink.figure_();
  sink.text( " " );
  sink.monospaced();
  sink.text( name );
  sink.monospaced_();
  sink.text( " " );
  sink.italic();
  sink.text( delta );
  sink.italic_();
}

代码示例来源:origin: bsorrentino/maven-confluence-plugin

private void printDependencyListing( ReportingResolutionListener.Node node, boolean printRoot )
{
  Artifact artifact = node.getArtifact();
  String id = artifact.getDependencyConflictId();
  sink.listItem();
  sink.paragraph();
  if( printRoot ) {
    sink.link( "#" + id );
    sink.text( id );
    sink.link_();
  }
  if ( !node.getChildren().isEmpty() )
  {
    sink.list();
    for ( Iterator deps = node.getChildren().iterator(); deps.hasNext(); )
    {
      ReportingResolutionListener.Node dep = (ReportingResolutionListener.Node) deps.next();
      printDependencyListing( dep, true );
    }
    sink.list_();
  }
  sink.paragraph_();
  sink.listItem_();
}

代码示例来源:origin: org.apache.felix/maven-bundle-plugin

final Sink sink = ctx.sink;
sink.list();

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

/** {@inheritDoc} */
public void before( Sink sink )
{
  sink.list();
}

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

sink.list();
for ( DependencyNode dep : subList )

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

private void handleItemizedListStart( Sink sink, SinkEventAttributeSet attribs )
{
  sink.list( attribs );
  //for itemizedlists in variablelists
  parent.push( SimplifiedDocbookMarkup.ITEMIZEDLIST_TAG.toString() );
}

代码示例来源:origin: gwt-maven-plugin/gwt-maven-plugin

sink.list();
for ( GwtModule gwtModule : this.gwtModules )

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

@Override
public void beginList(ListType type, Map<String, String> parameters)
{
  if (type == ListType.BULLETED) {
    this.sink.list();
  } else {
    // TODO: Handle other numerotations (Roman, etc)
    this.sink.numberedList(Sink.NUMBERING_DECIMAL);
  }
}

代码示例来源:origin: org.codehaus.mojo/gwt-maven-plugin

sink.list();
for ( GwtModule gwtModule : this.gwtModules )

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

sink.list();
for ( License license : licenses )

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

if ( !attribnames.isEmpty() )
  sink.list();
  for ( String name : attribnames )

代码示例来源:origin: net.sf.oqt/oqt-maven-plugin

sink.tableCell_();
sink.tableCell();
sink.list();
for (final EntityVO e : packge.getEntities()) {
  aggregatedEntities.add(e);
sink.tableCell_();
sink.tableCell();
sink.list();
for (final QueryVO query : entity.getQueries()) {
  aggregatedQueries.add(query);
  sink.tableCell_();
  sink.tableCell();
  sink.list();
  for (final String sql : query.getSQLQuery()) {
    sink.listItem();

相关文章