Package com.sun.javadoc

Examples of com.sun.javadoc.Doc


        open("td");
        print(element.getDefaultValue());
        close("td");
      }
      open("td");
      Doc javaDoc = member.getJavaDoc();
      if (javaDoc != null && javaDoc.firstSentenceTags() != null)
        writer.printSummaryComment(javaDoc);
      close("td");
      close("tr");

    }
View Full Code Here


    String namespace = jaxbClass.getNamespace();
    if (namespace != null) {
      around("span class='namespace'", "Namespace: " + namespace);
    }
    close("h2");
    Doc javaDoc = jaxbClass.getJavaDoc();
    if (javaDoc != null && javaDoc.tags() != null) {
      writer.printInlineComment(javaDoc);
    }
    if(getJAXBConfiguration().enableXMLExample
        || getJAXBConfiguration().enableJSONExample){
      open("table class='examples'", "tr");
View Full Code Here

      open("tr");
      open("td");
      around("a href='" + writer.relativePath + Utils.classToPath(klass) + "/" + klass.getShortClassName() + ".html'", klass.getName());
      close("td");
      open("td");
      Doc javaDoc = klass.getJavaDoc();
      if (javaDoc != null && javaDoc.firstSentenceTags() != null)
        writer.printSummaryComment(javaDoc);
      close("td");
      close("tr");

    }
View Full Code Here

        }
      }
      close("dd", "dl");
    }

    Doc javaDoc = cDoc;
    if (javaDoc.tags() != null) {
      writer.printInlineComment(javaDoc);
    }
    // @since
    printSince(javaDoc);
View Full Code Here

      open("tr");
      open("td id='ec_" + enumConst.name() + "'");
      print(enumConst.name());
      close("td");
      open("td");
      Doc javaDoc = enumConst;
      if (!Utils.isEmptyOrNull(javaDoc.commentText())) {
        writer.printInlineComment(javaDoc);
      }
      close("td");
      close("tr");
View Full Code Here

      close("td");
      open("td");
      printMemberType(member);
      close("td");
      open("td");
      Doc javaDoc = member.getMemberDoc();
      if (!Utils.isEmptyOrNull(javaDoc.commentText())) {
        writer.printInlineComment(javaDoc);
      }
      close("td");
      close("tr");
View Full Code Here

     * @param tag The tag to format.
     * @return A string representation of the given tag.
     */
    @Override
    public String toString(final Tag tag) {
        final Doc holder = tag.holder();
        final boolean small = (holder == null)
                || holder.isEnumConstant()
                || holder.isField()
                || holder.isMethod()
                || holder.isConstructor();
        final String text = tag.text();
        final StringBuilder buffer = new StringBuilder(text.length() + 8);
        buffer.append('\n')
              .append(small ? "<h6>" : "<h5>")
              .append(text)
View Full Code Here

    public Object invoke(Object proxy, Method method, Object[] args)
  throws Throwable {
      String methodName = method.getName();
      if (target instanceof Doc) {
  if (methodName.equals("isIncluded")) {
    Doc doc = (Doc) target;
    return !exclude(doc) && doc.isIncluded();
  }
  if (target instanceof RootDoc) {
    if (methodName.equals("classes")) {
      return filter(((RootDoc) target).classes(), ClassDoc.class);
    } else if (methodName.equals("specifiedClasses")) {
View Full Code Here

      open("tr");
      open("td");
      around("a href='" + writer.relativePath + Utils.classToPath(klass) + "/" + klass.getShortClassName() + ".html'", klass.getName());
      close("td");
      open("td");
      Doc javaDoc = klass.getJavaDoc();
      if (javaDoc != null && javaDoc.firstSentenceTags() != null)
        writer.printSummaryComment(javaDoc);
      close("td");
      close("tr");

    }
View Full Code Here

        print("..");
        print(rel.getRelationTo().name());
        close("td");
      }
      open("td");
      Doc javaDoc = member.getJavaDoc();
      if (javaDoc != null && javaDoc.firstSentenceTags() != null)
        writer.printSummaryComment(javaDoc);
      close("td");
      close("tr");

    }
View Full Code Here

TOP

Related Classes of com.sun.javadoc.Doc

Copyright © 2018 www.massapicom. 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.