Class JavadocTagToHtmlConverter

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static java.util.regex.Pattern GT  
      private static java.util.regex.Pattern LT  
    • Method Summary

      All Methods Static Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      abstract java.lang.String convert​(java.lang.String text, ConverterContext context)  
      protected static java.lang.String escapeXmlElement​(java.lang.String text)
      Mostly a copy of org.codehaus.plexus.util.xml.PrettyPrintXMLWriter#escapeXml(String).
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • LT

        private static final java.util.regex.Pattern LT
      • GT

        private static final java.util.regex.Pattern GT
    • Constructor Detail

      • JavadocTagToHtmlConverter

        public JavadocTagToHtmlConverter()
    • Method Detail

      • convert

        public abstract java.lang.String convert​(java.lang.String text,
                                                 ConverterContext context)
        Parameters:
        text - the value of the tag
        context - 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

        protected static java.lang.String escapeXmlElement​(java.lang.String text)
        Mostly a copy of org.codehaus.plexus.util.xml.PrettyPrintXMLWriter#escapeXml(String).