本文整理了Java中org.apache.maven.doxia.sink.Sink.definition()
方法的一些代码示例,展示了Sink.definition()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Sink.definition()
方法的具体详情如下:
包路径:org.apache.maven.doxia.sink.Sink
类名称: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() );
}
内容来源于网络,如有侵权,请联系作者删除!