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

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

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

Sink.definition介绍

暂无

代码示例

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

@Override
public void beginDefinitionDescription()
{
  this.sink.definition();
}

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

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

    if ( !StringUtils.isEmpty( title ) )
    {
      sink.definedTerm();
      sink.text( title );
      sink.definedTerm_();
    }

    sink.definition();

    for ( Block block : text )
    {
      block.traverse( sink );
    }

    sink.definition_();
    sink.definitionList_();
  }
}

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

sink.definedTerm_();
sink.definition();

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

private void handleListItemStart( Sink sink, SinkEventAttributeSet attribs )
{
  if ( isParent( SimplifiedDocbookMarkup.VARIABLELIST_TAG.toString() ) )
  {
    sink.definition( attribs );
  }
  else if ( isParent( SimplifiedDocbookMarkup.ORDEREDLIST_TAG.toString() ) )
  {
    sink.numberedListItem( attribs );
  }
  else
  {
    sink.listItem( attribs );
  }
  parent.push( SimplifiedDocbookMarkup.LISTITEM_TAG.toString() );
}

相关文章