本文整理了Java中org.apache.maven.doxia.sink.Sink.date_()
方法的一些代码示例,展示了Sink.date_()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Sink.date_()
方法的具体详情如下:
包路径:org.apache.maven.doxia.sink.Sink
类名称:Sink
方法名:date_
暂无
代码示例来源:origin: org.apache.maven.doxia/doxia-module-docbook-simple
private void handleArticleInfoEndTags( String name, Sink sink )
{
if ( !ARTICLEINFO_ELEMENTS.contains( name ) )
{
ignore = false;
return; // TODO: other meta data are ignored, implement!
}
if ( name.equals( SimplifiedDocbookMarkup.TITLE_TAG.toString() ) )
{
sink.title_();
}
else if ( name.equals( SimplifiedDocbookMarkup.CORPAUTHOR_TAG.toString() ) )
{
sink.author_();
}
else if ( name.equals( SimplifiedDocbookMarkup.DATE_TAG.toString() ) )
{
sink.date_();
}
}
代码示例来源:origin: org.apache.maven.doxia/doxia-module-xdoc
private void handleMetaStart( XmlPullParser parser, Sink sink, SinkEventAttributeSet attribs )
{
String name = parser.getAttributeValue( null, Attribute.NAME.toString() );
String content = parser.getAttributeValue( null, Attribute.CONTENT.toString() );
if ( "author".equals( name ) )
{
sink.author( null );
sink.text( content );
sink.author_();
}
else if ( "date".equals( name ) )
{
sink.date( null );
sink.text( content );
sink.date_();
}
else
{
sink.unknown( "meta", new Object[]{ Integer.valueOf( TAG_TYPE_SIMPLE ) }, attribs );
}
}
代码示例来源:origin: org.apache.maven.doxia/doxia-module-xdoc
sink.date_();
内容来源于网络,如有侵权,请联系作者删除!