Class RestServiceWriter


  • public class RestServiceWriter
    extends RestdocWriter
    Writes a documentation page for a single service class.
    • Constructor Summary

      Constructors 
      Constructor Description
      RestServiceWriter​(java.io.PrintWriter writer, com.sun.javadoc.ClassDoc service, boolean printJsonContentType)
      Creates a new writer.
    • Constructor Detail

      • RestServiceWriter

        public RestServiceWriter​(java.io.PrintWriter writer,
                                 com.sun.javadoc.ClassDoc service,
                                 boolean printJsonContentType)
        Creates a new writer. Use a new instance for each page.
        Parameters:
        writer - the stream to write to.
        service - the javadoc info of the Rest class to be documented.
        printJsonContentType -
    • Method Detail

      • writeRestService

        public void writeRestService()
        Writes the entire page.
      • getAnnotationValue

        public static java.lang.String getAnnotationValue​(com.sun.javadoc.ProgramElementDoc element,
                                                          java.lang.String annotationType)