Package org.codehaus.doxia.sink

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


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


          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();
              sink.text("Root Resource Path: " + annotation.getNamedParameter("value").toString());
              sink.bold_();
            }
          }
          sink.lineBreak();
View Full Code Here

                  sink.sectionTitle2_();
                }
              }
              for (Annotation annotation : mth.getAnnotations()) {
                if (annotation.getParameterValue().toString().contains("javax.ws.rs.Produces")) {
                  sink.bold();
                  sink.text("Produces: " + annotation.getNamedParameter("value"));
                  sink.bold_();
                  sink.lineBreak();
                  sink.lineBreak();
                } else if (annotation.getParameterValue().toString()
View Full Code Here

                  sink.lineBreak();
                  sink.lineBreak();
                } else if (annotation.getParameterValue().toString()
                    .contains("javax.ws.rs") && !annotation.getParameterValue().toString()
                    .contains("javax.ws.rs.Path")) {
                  sink.bold();
                  sink.text("Http Method: " + annotation.getType()
                      .toString().substring("javax.ws.rs.".length()));
                  sink.bold_();
                  sink.lineBreak();
                  sink.lineBreak();
View Full Code Here

                  sink.bold_();
                  sink.lineBreak();
                  sink.lineBreak();
                }
              }
              sink.bold();
              sink.text("Method: " + mth.getName());
              sink.bold_();
              sink.lineBreak();
              sink.lineBreak();
              sink.paragraph();
View Full Code Here

                sink.text("Returns " + returns.getValue());
              }
              sink.lineBreak();
              sink.lineBreak();
              sink.paragraph();
              sink.bold();
              sink.text("Method Declaration Signature: ");
              sink.bold_();
              sink.text(mth.getDeclarationSignature(true));
              sink.paragraph_();
              sink.section2_();
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.