/[classpath]/gjdoc/src/gnu/classpath/tools/java2xhtml/Java2xhtml.java
ViewVC logotype

Diff of /gjdoc/src/gnu/classpath/tools/java2xhtml/Java2xhtml.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by julian, Sun Feb 6 21:51:39 2005 UTC revision 1.6 by julian, Tue Feb 8 01:33:11 2005 UTC
# Line 43  public class Java2xhtml Line 43  public class Java2xhtml
43      private static final String constantStyle = "constant member";      private static final String constantStyle = "constant member";
44      private static final String doubleQuoteStyle = "double quote";      private static final String doubleQuoteStyle = "double quote";
45      private static final String singleQuoteStyle = "single quote";      private static final String singleQuoteStyle = "single quote";
46      private static final String numericalLiteralStyle = "numerical literal";      private static final String numericLiteralStyle = "numeric literal";
47      private static final String primitiveLiteralStyle = "primitive literal";      private static final String primitiveLiteralStyle = "primitive literal";
48    
49      private static final String iconStyle = "icon";      private static final String iconStyle = "icon";
# Line 590  public class Java2xhtml Line 590  public class Java2xhtml
590                  bufferOut.append("       background-color: transparent;\r\n");                  bufferOut.append("       background-color: transparent;\r\n");
591                  bufferOut.append("       font-style: oblique;\r\n");                  bufferOut.append("       font-style: oblique;\r\n");
592                  bufferOut.append("     }\r\n");                  bufferOut.append("     }\r\n");
593                  bufferOut.append("    ." + numericalLiteralStyle + "\r\n");                  bufferOut.append("    ." + numericLiteralStyle + "\r\n");
594                  bufferOut.append("     {\r\n");                  bufferOut.append("     {\r\n");
595                  bufferOut.append("       color: #333300;\r\n");                  bufferOut.append("       color: #333300;\r\n");
596                  bufferOut.append("       background-color: transparent;\r\n");                  bufferOut.append("       background-color: transparent;\r\n");
# Line 692  public class Java2xhtml Line 692  public class Java2xhtml
692                               "doubleQuote</span>\r\n");                               "doubleQuote</span>\r\n");
693              bufferOut.append("    <span class=\"" + singleQuoteStyle + "\">" +              bufferOut.append("    <span class=\"" + singleQuoteStyle + "\">" +
694                               "singleQuote</span>\r\n");                               "singleQuote</span>\r\n");
695              bufferOut.append("    <span class=\"" + numericalLiteralStyle + "\">" +              bufferOut.append("    <span class=\"" + numericLiteralStyle + "\">" +
696                               "numericalLiteral</span>\r\n");                               "numericLiteral</span>\r\n");
697              bufferOut.append("    <span class=\"" + primitiveLiteralStyle + "\">" +              bufferOut.append("    <span class=\"" + primitiveLiteralStyle + "\">" +
698                               "primitiveLiteral</span>\r\n");                               "primitiveLiteral</span>\r\n");
699              bufferOut.append("   </div>\r\n");              bufferOut.append("   </div>\r\n");
# Line 1036  public class Java2xhtml Line 1036  public class Java2xhtml
1036                                               "\"" + primitiveLiteralStyle + "\">");                                               "\"" + primitiveLiteralStyle + "\">");
1037                              bufferOut.append("</span>");                              bufferOut.append("</span>");
1038                          }                          }
1039                          // a numerical literal                          // a numeric literal
1040                          else                          else
1041                          {                          {
1042                              if (((presentIndex -                              if (((presentIndex -
# Line 1049  public class Java2xhtml Line 1049  public class Java2xhtml
1049                              bufferOut.insert(bufferOut.length() -                              bufferOut.insert(bufferOut.length() -
1050                                               qualifiedIdentifierLength,                                               qualifiedIdentifierLength,
1051                                               "<span class=" +                                               "<span class=" +
1052                                               "\"" + numericalLiteralStyle + "\">");                                               "\"" + numericLiteralStyle + "\">");
1053                              bufferOut.append("</span>");                              bufferOut.append("</span>");
1054                          }                          }
1055                      }                      }

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26