Package org.codehaus.doxia.sink

Examples of org.codehaus.doxia.sink.Sink.text()


      sink.sectionTitle1();
      sink.text("Pladoc Documentation");
      sink.sectionTitle1_();
      sink.lineBreak();
      sink.lineBreak();
      sink.text("The Pladoc documentation comprises: ");
      sink.lineBreak();
      for (String fileName : targetDir.list()) {
        sink.link(RELATIVE_PLADOC_DIR + fileName);
        sink.text(fileName);
        sink.link_();
View Full Code Here


      sink.lineBreak();
      sink.text("The Pladoc documentation comprises: ");
      sink.lineBreak();
      for (String fileName : targetDir.list()) {
        sink.link(RELATIVE_PLADOC_DIR + fileName);
        sink.text(fileName);
        sink.link_();
        sink.lineBreak();
      }

      sink.section1_();
View Full Code Here

              sink.lineBreak();
              sink.paragraph();
              sink.bold();
              sink.text("Method Declaration Signature: ");
              sink.bold_();
              sink.text(mth.getDeclarationSignature(true));
              sink.paragraph_();
              sink.section2_();
            }
          }
          sink.section1_();
View Full Code Here

        }
      }
    } else {
      sink.section1();
      sink.bold();
      sink.text("This project doesn't expose any JaxRs resources");
      sink.bold_();
      sink.section1_();
    }
    sink.body_();
    sink.flush();
View Full Code Here

      }
    }
    Sink sink = getSink();
    sink.head();
    sink.title();
    sink.text("JaxRs Report");
    sink.title_();
    sink.head_();
    sink.body();
    if(pathAnnotationExists) {
     
View Full Code Here

      for (JavaClass clazz : classes) {
        if (hasPathAnnotation(clazz)) {
          sink.section1();
          sink.sectionTitle1();
          sink.text("Class: " + clazz.getName());
          sink.sectionTitle1_();
          sink.lineBreak();
          sink.text("Package: " + clazz.getPackage().getName());
          sink.lineBreak();
          sink.lineBreak();
View Full Code Here

          sink.section1();
          sink.sectionTitle1();
          sink.text("Class: " + clazz.getName());
          sink.sectionTitle1_();
          sink.lineBreak();
          sink.text("Package: " + clazz.getPackage().getName());
          sink.lineBreak();
          sink.lineBreak();
          for (Annotation annotation : clazz.getAnnotations()) {
            if (annotation.getParameterValue().toString().contains("javax.ws.rs.Path")) {
              sink.bold();
View Full Code Here

          sink.lineBreak();
          sink.lineBreak();
          for (Annotation annotation : clazz.getAnnotations()) {
            if (annotation.getParameterValue().toString().contains("javax.ws.rs.Path")) {
              sink.bold();
              sink.text("Root Resource Path: " + annotation.getNamedParameter("value").toString());
              sink.bold_();
            }
          }
          sink.lineBreak();
          sink.lineBreak();
View Full Code Here

            }
          }
          sink.lineBreak();
          sink.lineBreak();
          sink.paragraph();
          sink.text(clazz.getComment());
          sink.paragraph_();
          sink.section1_();
          sink.horizontalRule();
          for (JavaMethod mth : clazz.getMethods()) {
            if (hasPathAnnotation(mth)) {
View Full Code Here

            if (hasPathAnnotation(mth)) {
              for (Annotation annotation : mth.getAnnotations()) {
                if (annotation.getParameterValue().toString().contains("javax.ws.rs.Path")) {
                  sink.section2();
                  sink.sectionTitle2();
                  sink.text("Path: " + annotation.getNamedParameter("value"));
                  sink.sectionTitle2_();
                }
              }
              for (Annotation annotation : mth.getAnnotations()) {
                if (annotation.getParameterValue().toString().contains("javax.ws.rs.Produces")) {
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.