Class JavadocTagToHtmlConverter
java.lang.Object
org.apache.maven.tools.plugin.extractor.annotations.converter.tag.JavadocTagToHtmlConverter
- Direct Known Subclasses:
JavadocBlockTagToHtmlConverter,JavadocInlineTagToHtmlConverter
Common base class of both
JavadocBlockTagToHtmlConverter and JavadocInlineTagToHtmlConverter.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Stringconvert(String text, ConverterContext context) protected static StringescapeXmlElement(String text) Mostly a copy oforg.codehaus.plexus.util.xml.PrettyPrintXMLWriter#escapeXml(String).
-
Constructor Details
-
JavadocTagToHtmlConverter
public JavadocTagToHtmlConverter()
-
-
Method Details
-
convert
- Parameters:
text- the value of the tagcontext- the content of the tag (may be empty in case there was no content given)- Returns:
- the converted text which represents the tag with the given value in html
-
escapeXmlElement
Mostly a copy oforg.codehaus.plexus.util.xml.PrettyPrintXMLWriter#escapeXml(String).
-