Package org.codehaus.doxia.sink

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


                }
              }
              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()
                    .contains("javax.ws.rs") && !annotation.getParameterValue().toString()
View Full Code Here


                  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.lineBreak();
                  sink.lineBreak();
                }
              }
              sink.bold();
              sink.text("Method: " + mth.getName());
              sink.bold_();
              sink.lineBreak();
              sink.lineBreak();
              sink.paragraph();
              sink.text(mth.getComment());
View Full Code Here

              sink.text("Method: " + mth.getName());
              sink.bold_();
              sink.lineBreak();
              sink.lineBreak();
              sink.paragraph();
              sink.text(mth.getComment());
              sink.paragraph_();
              DocletTag[] params = mth.getTagsByName("param");
              if (params != null) {
                sink.numberedList(params.length);
                for (DocletTag param : params) {
View Full Code Here

              DocletTag[] params = mth.getTagsByName("param");
              if (params != null) {
                sink.numberedList(params.length);
                for (DocletTag param : params) {
                  sink.numberedListItem();
                  sink.text("param: " + param.getValue());
                  sink.numberedListItem_();
                }
                sink.numberedList_();
              }
              DocletTag returns = mth.getTagByName("return");
View Full Code Here

                }
                sink.numberedList_();
              }
              DocletTag returns = mth.getTagByName("return");
              if (returns != null) {
                sink.text("Returns " + returns.getValue());
              }
              sink.lineBreak();
              sink.lineBreak();
              sink.paragraph();
              sink.bold();
View Full Code Here

              }
              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

        Sink sink = getSink();

        sink.section1();
        sink.sectionTitle1();
        sink.text("Component Index");
        sink.sectionTitle1_();
        sink.list();

        for (String className : InternalUtils.sortedKeys(descriptions))
        {
View Full Code Here

            // Something is converting the name attribute of the anchors to lower case, so
            // we'll follow suit.

            sink.link("#" + fixup(className));
            sink.text(simpleName);
            sink.link_();

            sink.listItem_();
        }
View Full Code Here

            Sink sink = getSink();

            sink.head();
            sink.title();
            sink.text("Component Reference");
            sink.title_();
            sink.head_();

            sink.section1();
            sink.sectionTitle1();
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.