1.1 --- a/src/share/classes/com/sun/tools/doclets/formats/html/PropertyWriterImpl.java Thu Oct 10 08:51:55 2013 +0200 1.2 +++ b/src/share/classes/com/sun/tools/doclets/formats/html/PropertyWriterImpl.java Thu Oct 10 10:51:15 2013 -0700 1.3 @@ -70,7 +70,8 @@ 1.4 Content memberDetailsTree) { 1.5 memberDetailsTree.addContent(HtmlConstants.START_OF_PROPERTY_DETAILS); 1.6 Content propertyDetailsTree = writer.getMemberTreeHeader(); 1.7 - propertyDetailsTree.addContent(writer.getMarkerAnchor("property_detail")); 1.8 + propertyDetailsTree.addContent(writer.getMarkerAnchor( 1.9 + SectionName.PROPERTY_DETAIL)); 1.10 Content heading = HtmlTree.HEADING(HtmlConstants.DETAILS_HEADING, 1.11 writer.propertyDetailsLabel); 1.12 propertyDetailsTree.addContent(heading); 1.13 @@ -220,7 +221,8 @@ 1.14 * {@inheritDoc} 1.15 */ 1.16 public void addSummaryAnchor(ClassDoc cd, Content memberTree) { 1.17 - memberTree.addContent(writer.getMarkerAnchor("property_summary")); 1.18 + memberTree.addContent(writer.getMarkerAnchor( 1.19 + SectionName.PROPERTY_SUMMARY)); 1.20 } 1.21 1.22 /** 1.23 @@ -228,7 +230,8 @@ 1.24 */ 1.25 public void addInheritedSummaryAnchor(ClassDoc cd, Content inheritedTree) { 1.26 inheritedTree.addContent(writer.getMarkerAnchor( 1.27 - "properties_inherited_from_class_" + configuration.getClassName(cd))); 1.28 + SectionName.PROPERTIES_INHERITANCE, 1.29 + configuration.getClassName(cd))); 1.30 } 1.31 1.32 /** 1.33 @@ -297,11 +300,15 @@ 1.34 */ 1.35 protected Content getNavSummaryLink(ClassDoc cd, boolean link) { 1.36 if (link) { 1.37 - return writer.getHyperLink((cd == null)? 1.38 - "property_summary": 1.39 - "properties_inherited_from_class_" + 1.40 - configuration.getClassName(cd), 1.41 + if (cd == null) { 1.42 + return writer.getHyperLink( 1.43 + SectionName.PROPERTY_SUMMARY, 1.44 writer.getResource("doclet.navProperty")); 1.45 + } else { 1.46 + return writer.getHyperLink( 1.47 + SectionName.PROPERTIES_INHERITANCE, 1.48 + configuration.getClassName(cd), writer.getResource("doclet.navProperty")); 1.49 + } 1.50 } else { 1.51 return writer.getResource("doclet.navProperty"); 1.52 } 1.53 @@ -312,7 +319,8 @@ 1.54 */ 1.55 protected void addNavDetailLink(boolean link, Content liNav) { 1.56 if (link) { 1.57 - liNav.addContent(writer.getHyperLink("property_detail", 1.58 + liNav.addContent(writer.getHyperLink( 1.59 + SectionName.PROPERTY_DETAIL, 1.60 writer.getResource("doclet.navProperty"))); 1.61 } else { 1.62 liNav.addContent(writer.getResource("doclet.navProperty"));