本文整理了Java中org.apache.maven.doxia.sink.Sink.unknown()
方法的一些代码示例,展示了Sink.unknown()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Sink.unknown()
方法的具体详情如下:
包路径:org.apache.maven.doxia.sink.Sink
类名称:Sink
方法名:unknown
暂无
代码示例来源:origin: apache/maven-surefire
@SuppressWarnings( "checkstyle:methodname" )
private static void sinkLink_( Sink sink )
{
sink.unknown( A.toString(), TAG_TYPE_END, null );
}
代码示例来源:origin: org.apache.maven.plugins/maven-surefire-report-plugin
@SuppressWarnings( "checkstyle:methodname" )
private static void sinkLink_( Sink sink )
{
sink.unknown( A.toString(), TAG_TYPE_END, null );
}
代码示例来源:origin: org.apache.maven.plugins/maven-surefire-report-plugin
private static void sinkAnchor( Sink sink, String anchor )
{
// Dollar '$' for nested classes is not valid character in sink.anchor() and therefore it is ignored
// https://issues.apache.org/jira/browse/SUREFIRE-1443
sink.unknown( A.toString(), TAG_TYPE_START, new SinkEventAttributeSet( NAME, anchor ) );
sink.unknown( A.toString(), TAG_TYPE_END, null );
}
代码示例来源:origin: apache/maven-surefire
private static void sinkAnchor( Sink sink, String anchor )
{
// Dollar '$' for nested classes is not valid character in sink.anchor() and therefore it is ignored
// https://issues.apache.org/jira/browse/SUREFIRE-1443
sink.unknown( A.toString(), TAG_TYPE_START, new SinkEventAttributeSet( NAME, anchor ) );
sink.unknown( A.toString(), TAG_TYPE_END, null );
}
代码示例来源:origin: org.apache.maven.plugins/maven-surefire-report-plugin
private static void sinkLink( Sink sink, String href )
{
// The "'" argument in this JavaScript function would be escaped to "'"
// sink.link( "javascript:toggleDisplay('" + toHtmlId( testCase.getFullName() ) + "');" );
sink.unknown( A.toString(), TAG_TYPE_START, new SinkEventAttributeSet( HREF, href ) );
}
代码示例来源:origin: apache/maven-surefire
private static void sinkLink( Sink sink, String href )
{
// The "'" argument in this JavaScript function would be escaped to "'"
// sink.link( "javascript:toggleDisplay('" + toHtmlId( testCase.getFullName() ) + "');" );
sink.unknown( A.toString(), TAG_TYPE_START, new SinkEventAttributeSet( HREF, href ) );
}
代码示例来源: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.plugins/maven-surefire-report-plugin
sink.unknown( "script", new Object[]{ HtmlMarkup.TAG_TYPE_START }, atts );
sink.unknown( "cdata", new Object[]{ HtmlMarkup.CDATA_TYPE, javascriptToggleDisplayCode() }, null );
sink.unknown( "script", new Object[]{ HtmlMarkup.TAG_TYPE_END }, null );
代码示例来源:origin: apache/maven-surefire
sink.unknown( "script", new Object[]{ HtmlMarkup.TAG_TYPE_START }, atts );
sink.unknown( "cdata", new Object[]{ HtmlMarkup.CDATA_TYPE, javascriptToggleDisplayCode() }, null );
sink.unknown( "script", new Object[]{ HtmlMarkup.TAG_TYPE_END }, null );
代码示例来源:origin: apache/maven-surefire
atts.addAttribute( CLASS, "detailToggle" );
atts.addAttribute( STYLE, "display:inline" );
sink.unknown( "div", TAG_TYPE_START, atts );
atts.addAttribute( STYLE, "display:inline;" );
atts.addAttribute( ID, toHtmlId( testCase.getFullName() ) + "-off" );
sink.unknown( "span", TAG_TYPE_START, atts );
sink.text( " + " );
sink.unknown( "span", TAG_TYPE_END, null );
sink.unknown( "span", TAG_TYPE_START, atts );
sink.text( " - " );
sink.unknown( "span", TAG_TYPE_END, null );
sink.unknown( "div", TAG_TYPE_END, null );
atts.addAttribute( ID, toHtmlId( testCase.getFullName() ) + toHtmlIdFailure( testCase ) );
atts.addAttribute( STYLE, "display:none;" );
sink.unknown( "div", TAG_TYPE_START, atts );
sink.verbatim_();
sink.unknown( "div", TAG_TYPE_END, null );
sink.tableCell_();
代码示例来源:origin: org.apache.maven.plugins/maven-surefire-report-plugin
atts.addAttribute( CLASS, "detailToggle" );
atts.addAttribute( STYLE, "display:inline" );
sink.unknown( "div", TAG_TYPE_START, atts );
atts.addAttribute( STYLE, "display:inline;" );
atts.addAttribute( ID, toHtmlId( testCase.getFullName() ) + "-off" );
sink.unknown( "span", TAG_TYPE_START, atts );
sink.text( " + " );
sink.unknown( "span", TAG_TYPE_END, null );
sink.unknown( "span", TAG_TYPE_START, atts );
sink.text( " - " );
sink.unknown( "span", TAG_TYPE_END, null );
sink.unknown( "div", TAG_TYPE_END, null );
atts.addAttribute( ID, toHtmlId( testCase.getFullName() ) + toHtmlIdFailure( testCase ) );
atts.addAttribute( STYLE, "display:none;" );
sink.unknown( "div", TAG_TYPE_START, atts );
sink.verbatim_();
sink.unknown( "div", TAG_TYPE_END, null );
sink.tableCell_();
代码示例来源:origin: org.apache.maven.plugins/maven-surefire-report-plugin
SinkEventAttributeSet atts = new SinkEventAttributeSet();
atts.addAttribute( ID, tCase.getName() + toHtmlIdFailure( tCase ) );
sink.unknown( "div", TAG_TYPE_START, atts );
sink.unknown( "div", TAG_TYPE_END, null );
代码示例来源:origin: apache/maven-surefire
SinkEventAttributeSet atts = new SinkEventAttributeSet();
atts.addAttribute( ID, tCase.getName() + toHtmlIdFailure( tCase ) );
sink.unknown( "div", TAG_TYPE_START, atts );
sink.unknown( "div", TAG_TYPE_END, null );
内容来源于网络,如有侵权,请联系作者删除!