src/share/classes/com/sun/tools/doclets/formats/html/PropertyWriterImpl.java

changeset 1736
74cd21f2c2fe
parent 1735
8ea30d59ac41
child 1737
7a9ef837e57f
     1.1 --- a/src/share/classes/com/sun/tools/doclets/formats/html/PropertyWriterImpl.java	Tue May 14 10:14:51 2013 -0700
     1.2 +++ b/src/share/classes/com/sun/tools/doclets/formats/html/PropertyWriterImpl.java	Tue May 14 10:14:52 2013 -0700
     1.3 @@ -98,9 +98,9 @@
     1.4          Content pre = new HtmlTree(HtmlTag.PRE);
     1.5          writer.addAnnotationInfo(property, pre);
     1.6          addModifiers(property, pre);
     1.7 -        Content propertylink = new RawHtml(writer.getLink(new LinkInfoImpl(
     1.8 +        Content propertylink = writer.getLink(new LinkInfoImpl(
     1.9                  configuration, LinkInfoImpl.Kind.MEMBER,
    1.10 -                property.returnType())));
    1.11 +                property.returnType()));
    1.12          pre.addContent(propertylink);
    1.13          pre.addContent(" ");
    1.14          if (configuration.linksource) {
    1.15 @@ -128,12 +128,12 @@
    1.16                      (! (holder.isPublic() || Util.isLinkable(holder, configuration)))) {
    1.17                  writer.addInlineComment(property, propertyDocTree);
    1.18              } else {
    1.19 -                Content link = new RawHtml(
    1.20 +                Content link =
    1.21                          writer.getDocLink(LinkInfoImpl.Kind.PROPERTY_DOC_COPY,
    1.22                          holder, property,
    1.23                          holder.isIncluded() ?
    1.24                              holder.typeName() : holder.qualifiedTypeName(),
    1.25 -                            false));
    1.26 +                            false);
    1.27                  Content codeLink = HtmlTree.CODE(link);
    1.28                  Content strong = HtmlTree.STRONG(holder.isClass()?
    1.29                     writer.descfrmClassLabel : writer.descfrmInterfaceLabel);
    1.30 @@ -252,13 +252,13 @@
    1.31       */
    1.32      protected void addSummaryLink(LinkInfoImpl.Kind context, ClassDoc cd, ProgramElementDoc member,
    1.33              Content tdSummary) {
    1.34 -        Content strong = HtmlTree.STRONG(new RawHtml(
    1.35 +        Content strong = HtmlTree.STRONG(
    1.36                  writer.getDocLink(context,
    1.37                          cd,
    1.38                          (MemberDoc) member,
    1.39                          member.name().substring(0, member.name().lastIndexOf("Property")),
    1.40                          false,
    1.41 -                        true)));
    1.42 +                        true));
    1.43  
    1.44          Content code = HtmlTree.CODE(strong);
    1.45          tdSummary.addContent(code);
    1.46 @@ -269,12 +269,12 @@
    1.47       */
    1.48      protected void addInheritedSummaryLink(ClassDoc cd,
    1.49              ProgramElementDoc member, Content linksTree) {
    1.50 -        linksTree.addContent(new RawHtml(
    1.51 +        linksTree.addContent(
    1.52                  writer.getDocLink(LinkInfoImpl.Kind.MEMBER, cd, (MemberDoc)member,
    1.53                  ((member.name().lastIndexOf("Property") != -1) && configuration.javafx)
    1.54                          ? member.name().substring(0, member.name().length() - "Property".length())
    1.55                          : member.name(),
    1.56 -                false, true)));
    1.57 +                false, true));
    1.58      }
    1.59  
    1.60      /**

mercurial