MPLUGIN-69: Be consistent about physical/logical formatting tags
Submitted by: Benjamin Bentmann Reviewed by: Vincent Siveton o applied git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@620124 13f79535-47bb-0310-9956-ffa450edef68master
parent
99f6b964ab
commit
36c8b23cc3
|
|
@ -135,7 +135,7 @@ public class PluginXdocGenerator
|
||||||
private void writeGoalAttributes( MojoDescriptor mojoDescriptor, XMLWriter w )
|
private void writeGoalAttributes( MojoDescriptor mojoDescriptor, XMLWriter w )
|
||||||
{
|
{
|
||||||
w.startElement( "p" );
|
w.startElement( "p" );
|
||||||
w.writeMarkup( "<b>Mojo Attributes</b>:" );
|
w.writeMarkup( "<strong>Mojo Attributes</strong>:" );
|
||||||
w.endElement(); //p
|
w.endElement(); //p
|
||||||
w.startElement( "ul" );
|
w.startElement( "ul" );
|
||||||
|
|
||||||
|
|
@ -285,7 +285,7 @@ public class PluginXdocGenerator
|
||||||
Parameter parameter = (Parameter) parameters.next();
|
Parameter parameter = (Parameter) parameters.next();
|
||||||
|
|
||||||
w.startElement( "p" );
|
w.startElement( "p" );
|
||||||
w.writeMarkup( "<b><a name=\"" + parameter.getName() + "\">" + parameter.getName() + "</a></b>" );
|
w.writeMarkup( "<strong><a name=\"" + parameter.getName() + "\">" + parameter.getName() + "</a></strong>" );
|
||||||
w.endElement(); //p
|
w.endElement(); //p
|
||||||
|
|
||||||
String description = parameter.getDescription();
|
String description = parameter.getDescription();
|
||||||
|
|
@ -348,7 +348,7 @@ public class PluginXdocGenerator
|
||||||
if ( StringUtils.isNotEmpty( value ) )
|
if ( StringUtils.isNotEmpty( value ) )
|
||||||
{
|
{
|
||||||
w.startElement( "li" );
|
w.startElement( "li" );
|
||||||
w.writeMarkup( "<b>" + param + "</b>: <code>" );
|
w.writeMarkup( "<strong>" + param + "</strong>: <code>" );
|
||||||
w.writeText( value );
|
w.writeText( value );
|
||||||
w.writeMarkup( "</code>" );
|
w.writeMarkup( "</code>" );
|
||||||
w.endElement(); //li
|
w.endElement(); //li
|
||||||
|
|
@ -398,7 +398,7 @@ public class PluginXdocGenerator
|
||||||
|
|
||||||
w.startElement( "tr" );
|
w.startElement( "tr" );
|
||||||
w.startElement( "td" );
|
w.startElement( "td" );
|
||||||
w.writeMarkup( "<b><a href=\"#" + parameter.getName() + "\">" + parameter.getName() + "</a></b>" );
|
w.writeMarkup( "<strong><a href=\"#" + parameter.getName() + "\">" + parameter.getName() + "</a></strong>" );
|
||||||
w.endElement();//td
|
w.endElement();//td
|
||||||
w.startElement( "td" );
|
w.startElement( "td" );
|
||||||
int index = parameter.getType().lastIndexOf( "." );
|
int index = parameter.getType().lastIndexOf( "." );
|
||||||
|
|
@ -433,7 +433,7 @@ public class PluginXdocGenerator
|
||||||
}
|
}
|
||||||
if ( StringUtils.isNotEmpty( parameter.getDeprecated() ) )
|
if ( StringUtils.isNotEmpty( parameter.getDeprecated() ) )
|
||||||
{
|
{
|
||||||
description = "<b>Deprecated</b>. " + description;
|
description = "<strong>Deprecated</strong>. " + description;
|
||||||
}
|
}
|
||||||
w.writeMarkup( description );
|
w.writeMarkup( description );
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue