Search in sources :

Example 1 with UnknownBlockTagTree

use of com.sun.source.doctree.UnknownBlockTagTree in project mongo-java-driver by mongodb.

the class DocTaglet method toString.

@Override
public String toString(List<? extends DocTree> tags, Element element) {
    if (tags.size() == 0) {
        return null;
    }
    StringBuilder buf = new StringBuilder(String.format("<dl><dt><span class=\"strong\">%s</span></dt>", getHeader()));
    for (DocTree tag : tags) {
        String text = ((UnknownBlockTagTree) tag).getContent().get(0).toString();
        buf.append("<dd>").append(genLink(text)).append("</dd>");
    }
    return buf.toString();
}
Also used : UnknownBlockTagTree(com.sun.source.doctree.UnknownBlockTagTree) DocTree(com.sun.source.doctree.DocTree)

Example 2 with UnknownBlockTagTree

use of com.sun.source.doctree.UnknownBlockTagTree in project morphia by mongodb.

the class DocTaglet method toString.

@Override
public String toString(List<? extends DocTree> tags, Element element) {
    if (tags.size() == 0) {
        return null;
    }
    StringBuilder buf = new StringBuilder(String.format("<dl><dt><span class=\"strong\">%s</span></dt>", getHeader()));
    for (DocTree tag : tags) {
        String text = ((UnknownBlockTagTree) tag).getContent().get(0).toString();
        buf.append("<dd>").append(genLink(text)).append("</dd>");
    }
    return buf.toString();
}
Also used : UnknownBlockTagTree(com.sun.source.doctree.UnknownBlockTagTree) DocTree(com.sun.source.doctree.DocTree)

Example 3 with UnknownBlockTagTree

use of com.sun.source.doctree.UnknownBlockTagTree in project morphia by mongodb.

the class AggregationExpressionTaglet method toString.

@Override
public String toString(List<? extends DocTree> tags, Element element) {
    if (tags.size() == 0) {
        return null;
    }
    StringBuilder buf = new StringBuilder(String.format("<dl><dt><span class=\"strong\">%s</span></dt>", getHeader()));
    for (DocTree tag : tags) {
        String text = ((UnknownBlockTagTree) tag).getContent().get(0).toString();
        buf.append("<dd>").append(genLink(text)).append("</dd>");
    }
    return buf.toString();
}
Also used : UnknownBlockTagTree(com.sun.source.doctree.UnknownBlockTagTree) DocTree(com.sun.source.doctree.DocTree)

Example 4 with UnknownBlockTagTree

use of com.sun.source.doctree.UnknownBlockTagTree in project morphia by mongodb.

the class QueryFilterTaglet method toString.

@Override
public String toString(List<? extends DocTree> tags, Element element) {
    if (tags.size() == 0) {
        return null;
    }
    StringBuilder buf = new StringBuilder(String.format("<dl><dt><span class=\"strong\">%s</span></dt>", getHeader()));
    for (DocTree tag : tags) {
        String text = ((UnknownBlockTagTree) tag).getContent().get(0).toString();
        buf.append("<dd>").append(genLink(text)).append("</dd>");
    }
    return buf.toString();
}
Also used : UnknownBlockTagTree(com.sun.source.doctree.UnknownBlockTagTree) DocTree(com.sun.source.doctree.DocTree)

Example 5 with UnknownBlockTagTree

use of com.sun.source.doctree.UnknownBlockTagTree in project morphia by mongodb.

the class UpdateOperatorTaglet method toString.

@Override
public String toString(List<? extends DocTree> tags, Element element) {
    if (tags.size() == 0) {
        return null;
    }
    StringBuilder buf = new StringBuilder(String.format("<dl><dt><span class=\"strong\">%s</span></dt>", getHeader()));
    for (DocTree tag : tags) {
        String text = ((UnknownBlockTagTree) tag).getContent().get(0).toString();
        buf.append("<dd>").append(genLink(text)).append("</dd>");
    }
    return buf.toString();
}
Also used : UnknownBlockTagTree(com.sun.source.doctree.UnknownBlockTagTree) DocTree(com.sun.source.doctree.DocTree)

Aggregations

DocTree (com.sun.source.doctree.DocTree)5 UnknownBlockTagTree (com.sun.source.doctree.UnknownBlockTagTree)5