Package org.apache.maven.doxia.sink

Examples of org.apache.maven.doxia.sink.SinkEventAttributes.addAttribute()


        sink.section2();

        final String date = ( release.getDateRelease() == null ) ? "" : " \u2013 " + release.getDateRelease();

        SinkEventAttributes attrs = new SinkEventAttributeSet();
        attrs.addAttribute( SinkEventAttributes.ID, HtmlTools.encodeId( release.getVersion() ) );
        sink.sectionTitle( Sink.SECTION_LEVEL_2, attrs );
        sink.text( bundle.getString( "report.changes.label.release" ) + " "
            + release.getVersion() + date );
        sink.sectionTitle_( Sink.SECTION_LEVEL_2 );
View Full Code Here


    }

    protected void sinkFigure( Sink sink, String image, String altText )
    {
        SinkEventAttributes attributes = new SinkEventAttributeSet();
        attributes.addAttribute( "alt", altText );
        attributes.addAttribute( "title", altText );

        sink.figureGraphics( image, attributes );
    }
View Full Code Here

    protected void sinkFigure( Sink sink, String image, String altText )
    {
        SinkEventAttributes attributes = new SinkEventAttributeSet();
        attributes.addAttribute( "alt", altText );
        attributes.addAttribute( "title", altText );

        sink.figureGraphics( image, attributes );
    }

    protected void sinkHeader( Sink sink, String header )
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.