langtools/src/share/classes/com/sun/tools/doclets/formats/html/AbstractIndexWriter.java
author duke
Sat, 01 Dec 2007 00:00:00 +0000
changeset 10 06bc494ca11e
child 1787 1aa079321cd2
permissions -rw-r--r--
Initial load
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
10
06bc494ca11e Initial load
duke
parents:
diff changeset
     1
/*
06bc494ca11e Initial load
duke
parents:
diff changeset
     2
 * Copyright 1998-2004 Sun Microsystems, Inc.  All Rights Reserved.
06bc494ca11e Initial load
duke
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
06bc494ca11e Initial load
duke
parents:
diff changeset
     4
 *
06bc494ca11e Initial load
duke
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
06bc494ca11e Initial load
duke
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
06bc494ca11e Initial load
duke
parents:
diff changeset
     7
 * published by the Free Software Foundation.  Sun designates this
06bc494ca11e Initial load
duke
parents:
diff changeset
     8
 * particular file as subject to the "Classpath" exception as provided
06bc494ca11e Initial load
duke
parents:
diff changeset
     9
 * by Sun in the LICENSE file that accompanied this code.
06bc494ca11e Initial load
duke
parents:
diff changeset
    10
 *
06bc494ca11e Initial load
duke
parents:
diff changeset
    11
 * This code is distributed in the hope that it will be useful, but WITHOUT
06bc494ca11e Initial load
duke
parents:
diff changeset
    12
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
06bc494ca11e Initial load
duke
parents:
diff changeset
    13
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
06bc494ca11e Initial load
duke
parents:
diff changeset
    14
 * version 2 for more details (a copy is included in the LICENSE file that
06bc494ca11e Initial load
duke
parents:
diff changeset
    15
 * accompanied this code).
06bc494ca11e Initial load
duke
parents:
diff changeset
    16
 *
06bc494ca11e Initial load
duke
parents:
diff changeset
    17
 * You should have received a copy of the GNU General Public License version
06bc494ca11e Initial load
duke
parents:
diff changeset
    18
 * 2 along with this work; if not, write to the Free Software Foundation,
06bc494ca11e Initial load
duke
parents:
diff changeset
    19
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
06bc494ca11e Initial load
duke
parents:
diff changeset
    20
 *
06bc494ca11e Initial load
duke
parents:
diff changeset
    21
 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
06bc494ca11e Initial load
duke
parents:
diff changeset
    22
 * CA 95054 USA or visit www.sun.com if you need additional information or
06bc494ca11e Initial load
duke
parents:
diff changeset
    23
 * have any questions.
06bc494ca11e Initial load
duke
parents:
diff changeset
    24
 */
06bc494ca11e Initial load
duke
parents:
diff changeset
    25
06bc494ca11e Initial load
duke
parents:
diff changeset
    26
package com.sun.tools.doclets.formats.html;
06bc494ca11e Initial load
duke
parents:
diff changeset
    27
06bc494ca11e Initial load
duke
parents:
diff changeset
    28
import com.sun.tools.doclets.internal.toolkit.util.*;
06bc494ca11e Initial load
duke
parents:
diff changeset
    29
06bc494ca11e Initial load
duke
parents:
diff changeset
    30
import com.sun.javadoc.*;
06bc494ca11e Initial load
duke
parents:
diff changeset
    31
import java.io.*;
06bc494ca11e Initial load
duke
parents:
diff changeset
    32
import java.util.*;
06bc494ca11e Initial load
duke
parents:
diff changeset
    33
06bc494ca11e Initial load
duke
parents:
diff changeset
    34
/**
06bc494ca11e Initial load
duke
parents:
diff changeset
    35
 * Generate Index for all the Member Names with Indexing in
06bc494ca11e Initial load
duke
parents:
diff changeset
    36
 * Unicode Order. This class is a base class for {@link SingleIndexWriter} and
06bc494ca11e Initial load
duke
parents:
diff changeset
    37
 * {@link SplitIndexWriter}. It uses the functionality from
06bc494ca11e Initial load
duke
parents:
diff changeset
    38
 * {@link HtmlDocletWriter} to generate the Index Contents.
06bc494ca11e Initial load
duke
parents:
diff changeset
    39
 *
06bc494ca11e Initial load
duke
parents:
diff changeset
    40
 * @see    IndexBuilder
06bc494ca11e Initial load
duke
parents:
diff changeset
    41
 * @author Atul M Dambalkar
06bc494ca11e Initial load
duke
parents:
diff changeset
    42
 */
06bc494ca11e Initial load
duke
parents:
diff changeset
    43
public class AbstractIndexWriter extends HtmlDocletWriter {
06bc494ca11e Initial load
duke
parents:
diff changeset
    44
06bc494ca11e Initial load
duke
parents:
diff changeset
    45
    /**
06bc494ca11e Initial load
duke
parents:
diff changeset
    46
     * The index of all the members with unicode character.
06bc494ca11e Initial load
duke
parents:
diff changeset
    47
     */
06bc494ca11e Initial load
duke
parents:
diff changeset
    48
    protected IndexBuilder indexbuilder;
06bc494ca11e Initial load
duke
parents:
diff changeset
    49
06bc494ca11e Initial load
duke
parents:
diff changeset
    50
    /**
06bc494ca11e Initial load
duke
parents:
diff changeset
    51
     * This constructor will be used by {@link SplitIndexWriter}. Initialises
06bc494ca11e Initial load
duke
parents:
diff changeset
    52
     * path to this file and relative path from this file.
06bc494ca11e Initial load
duke
parents:
diff changeset
    53
     *
06bc494ca11e Initial load
duke
parents:
diff changeset
    54
     * @param path       Path to the file which is getting generated.
06bc494ca11e Initial load
duke
parents:
diff changeset
    55
     * @param filename   Name of the file which is getting genrated.
06bc494ca11e Initial load
duke
parents:
diff changeset
    56
     * @param relpath    Relative path from this file to the current directory.
06bc494ca11e Initial load
duke
parents:
diff changeset
    57
     * @param indexbuilder Unicode based Index from {@link IndexBuilder}
06bc494ca11e Initial load
duke
parents:
diff changeset
    58
     */
06bc494ca11e Initial load
duke
parents:
diff changeset
    59
    protected AbstractIndexWriter(ConfigurationImpl configuration,
06bc494ca11e Initial load
duke
parents:
diff changeset
    60
                                  String path, String filename,
06bc494ca11e Initial load
duke
parents:
diff changeset
    61
                                  String relpath, IndexBuilder indexbuilder)
06bc494ca11e Initial load
duke
parents:
diff changeset
    62
                                  throws IOException {
06bc494ca11e Initial load
duke
parents:
diff changeset
    63
        super(configuration, path, filename, relpath);
06bc494ca11e Initial load
duke
parents:
diff changeset
    64
        this.indexbuilder = indexbuilder;
06bc494ca11e Initial load
duke
parents:
diff changeset
    65
    }
06bc494ca11e Initial load
duke
parents:
diff changeset
    66
06bc494ca11e Initial load
duke
parents:
diff changeset
    67
    /**
06bc494ca11e Initial load
duke
parents:
diff changeset
    68
     * This Constructor will be used by {@link SingleIndexWriter}.
06bc494ca11e Initial load
duke
parents:
diff changeset
    69
     *
06bc494ca11e Initial load
duke
parents:
diff changeset
    70
     * @param filename   Name of the file which is getting genrated.
06bc494ca11e Initial load
duke
parents:
diff changeset
    71
     * @param indexbuilder Unicode based Index form {@link IndexBuilder}
06bc494ca11e Initial load
duke
parents:
diff changeset
    72
     */
06bc494ca11e Initial load
duke
parents:
diff changeset
    73
    protected AbstractIndexWriter(ConfigurationImpl configuration,
06bc494ca11e Initial load
duke
parents:
diff changeset
    74
                                  String filename, IndexBuilder indexbuilder)
06bc494ca11e Initial load
duke
parents:
diff changeset
    75
                                  throws IOException {
06bc494ca11e Initial load
duke
parents:
diff changeset
    76
        super(configuration, filename);
06bc494ca11e Initial load
duke
parents:
diff changeset
    77
        this.indexbuilder = indexbuilder;
06bc494ca11e Initial load
duke
parents:
diff changeset
    78
    }
06bc494ca11e Initial load
duke
parents:
diff changeset
    79
06bc494ca11e Initial load
duke
parents:
diff changeset
    80
    /**
06bc494ca11e Initial load
duke
parents:
diff changeset
    81
     * Print the text "Index" in bold format in the navigation bar.
06bc494ca11e Initial load
duke
parents:
diff changeset
    82
     */
06bc494ca11e Initial load
duke
parents:
diff changeset
    83
    protected void navLinkIndex() {
06bc494ca11e Initial load
duke
parents:
diff changeset
    84
        navCellRevStart();
06bc494ca11e Initial load
duke
parents:
diff changeset
    85
        fontStyle("NavBarFont1Rev");
06bc494ca11e Initial load
duke
parents:
diff changeset
    86
        boldText("doclet.Index");
06bc494ca11e Initial load
duke
parents:
diff changeset
    87
        fontEnd();
06bc494ca11e Initial load
duke
parents:
diff changeset
    88
        navCellEnd();
06bc494ca11e Initial load
duke
parents:
diff changeset
    89
    }
06bc494ca11e Initial load
duke
parents:
diff changeset
    90
06bc494ca11e Initial load
duke
parents:
diff changeset
    91
    /**
06bc494ca11e Initial load
duke
parents:
diff changeset
    92
     * Generate the member information for the unicode character along with the
06bc494ca11e Initial load
duke
parents:
diff changeset
    93
     * list of the members.
06bc494ca11e Initial load
duke
parents:
diff changeset
    94
     *
06bc494ca11e Initial load
duke
parents:
diff changeset
    95
     * @param unicode Unicode for which member list information to be generated.
06bc494ca11e Initial load
duke
parents:
diff changeset
    96
     * @param memberlist List of members for the unicode character.
06bc494ca11e Initial load
duke
parents:
diff changeset
    97
     */
06bc494ca11e Initial load
duke
parents:
diff changeset
    98
    protected void generateContents(Character unicode, List memberlist) {
06bc494ca11e Initial load
duke
parents:
diff changeset
    99
        anchor("_" + unicode + "_");
06bc494ca11e Initial load
duke
parents:
diff changeset
   100
        h2();
06bc494ca11e Initial load
duke
parents:
diff changeset
   101
        bold(unicode.toString());
06bc494ca11e Initial load
duke
parents:
diff changeset
   102
        h2End();
06bc494ca11e Initial load
duke
parents:
diff changeset
   103
        dl();
06bc494ca11e Initial load
duke
parents:
diff changeset
   104
        for (int i = 0; i < memberlist.size(); i++) {
06bc494ca11e Initial load
duke
parents:
diff changeset
   105
            Doc element = (Doc)memberlist.get(i);
06bc494ca11e Initial load
duke
parents:
diff changeset
   106
            if (element instanceof MemberDoc) {
06bc494ca11e Initial load
duke
parents:
diff changeset
   107
                printDescription((MemberDoc)element);
06bc494ca11e Initial load
duke
parents:
diff changeset
   108
            } else if (element instanceof ClassDoc) {
06bc494ca11e Initial load
duke
parents:
diff changeset
   109
                printDescription((ClassDoc)element);
06bc494ca11e Initial load
duke
parents:
diff changeset
   110
            } else if (element instanceof PackageDoc) {
06bc494ca11e Initial load
duke
parents:
diff changeset
   111
                printDescription((PackageDoc)element);
06bc494ca11e Initial load
duke
parents:
diff changeset
   112
            }
06bc494ca11e Initial load
duke
parents:
diff changeset
   113
        }
06bc494ca11e Initial load
duke
parents:
diff changeset
   114
        dlEnd();
06bc494ca11e Initial load
duke
parents:
diff changeset
   115
        hr();
06bc494ca11e Initial load
duke
parents:
diff changeset
   116
    }
06bc494ca11e Initial load
duke
parents:
diff changeset
   117
06bc494ca11e Initial load
duke
parents:
diff changeset
   118
06bc494ca11e Initial load
duke
parents:
diff changeset
   119
    /**
06bc494ca11e Initial load
duke
parents:
diff changeset
   120
     * Print one line summary comment for the package.
06bc494ca11e Initial load
duke
parents:
diff changeset
   121
     *
06bc494ca11e Initial load
duke
parents:
diff changeset
   122
     * @param pkg PackageDoc passed.
06bc494ca11e Initial load
duke
parents:
diff changeset
   123
     */
06bc494ca11e Initial load
duke
parents:
diff changeset
   124
    protected void printDescription(PackageDoc pkg) {
06bc494ca11e Initial load
duke
parents:
diff changeset
   125
        dt();
06bc494ca11e Initial load
duke
parents:
diff changeset
   126
        printPackageLink(pkg, Util.getPackageName(pkg), true);
06bc494ca11e Initial load
duke
parents:
diff changeset
   127
        print(" - ");
06bc494ca11e Initial load
duke
parents:
diff changeset
   128
        print(configuration.getText("doclet.package") + " " + pkg.name());
06bc494ca11e Initial load
duke
parents:
diff changeset
   129
        dd();
06bc494ca11e Initial load
duke
parents:
diff changeset
   130
        printSummaryComment(pkg);
06bc494ca11e Initial load
duke
parents:
diff changeset
   131
    }
06bc494ca11e Initial load
duke
parents:
diff changeset
   132
06bc494ca11e Initial load
duke
parents:
diff changeset
   133
    /**
06bc494ca11e Initial load
duke
parents:
diff changeset
   134
     * Print one line summary comment for the class.
06bc494ca11e Initial load
duke
parents:
diff changeset
   135
     *
06bc494ca11e Initial load
duke
parents:
diff changeset
   136
     * @param cd ClassDoc passed.
06bc494ca11e Initial load
duke
parents:
diff changeset
   137
     */
06bc494ca11e Initial load
duke
parents:
diff changeset
   138
    protected void printDescription(ClassDoc cd) {
06bc494ca11e Initial load
duke
parents:
diff changeset
   139
        dt();
06bc494ca11e Initial load
duke
parents:
diff changeset
   140
        printLink(new LinkInfoImpl(LinkInfoImpl.CONTEXT_INDEX, cd, true));
06bc494ca11e Initial load
duke
parents:
diff changeset
   141
        print(" - ");
06bc494ca11e Initial load
duke
parents:
diff changeset
   142
        printClassInfo(cd);
06bc494ca11e Initial load
duke
parents:
diff changeset
   143
        dd();
06bc494ca11e Initial load
duke
parents:
diff changeset
   144
        printComment(cd);
06bc494ca11e Initial load
duke
parents:
diff changeset
   145
    }
06bc494ca11e Initial load
duke
parents:
diff changeset
   146
06bc494ca11e Initial load
duke
parents:
diff changeset
   147
    /**
06bc494ca11e Initial load
duke
parents:
diff changeset
   148
     * Print the classkind(class, interface, exception, error of the class
06bc494ca11e Initial load
duke
parents:
diff changeset
   149
     * passed.
06bc494ca11e Initial load
duke
parents:
diff changeset
   150
     *
06bc494ca11e Initial load
duke
parents:
diff changeset
   151
     * @param cd ClassDoc.
06bc494ca11e Initial load
duke
parents:
diff changeset
   152
     */
06bc494ca11e Initial load
duke
parents:
diff changeset
   153
    protected void printClassInfo(ClassDoc cd) {
06bc494ca11e Initial load
duke
parents:
diff changeset
   154
        print(configuration.getText("doclet.in",
06bc494ca11e Initial load
duke
parents:
diff changeset
   155
            Util.getTypeName(configuration, cd, false),
06bc494ca11e Initial load
duke
parents:
diff changeset
   156
            getPackageLink(cd.containingPackage(),
06bc494ca11e Initial load
duke
parents:
diff changeset
   157
                Util.getPackageName(cd.containingPackage()), false)));
06bc494ca11e Initial load
duke
parents:
diff changeset
   158
    }
06bc494ca11e Initial load
duke
parents:
diff changeset
   159
06bc494ca11e Initial load
duke
parents:
diff changeset
   160
06bc494ca11e Initial load
duke
parents:
diff changeset
   161
    /**
06bc494ca11e Initial load
duke
parents:
diff changeset
   162
     * Generate Description for Class, Field, Method or Constructor.
06bc494ca11e Initial load
duke
parents:
diff changeset
   163
     * for Java.* Packages Class Members.
06bc494ca11e Initial load
duke
parents:
diff changeset
   164
     *
06bc494ca11e Initial load
duke
parents:
diff changeset
   165
     * @param member MemberDoc for the member of the Class Kind.
06bc494ca11e Initial load
duke
parents:
diff changeset
   166
     * @see com.sun.javadoc.MemberDoc
06bc494ca11e Initial load
duke
parents:
diff changeset
   167
     */
06bc494ca11e Initial load
duke
parents:
diff changeset
   168
    protected void printDescription(MemberDoc member) {
06bc494ca11e Initial load
duke
parents:
diff changeset
   169
        String name = (member instanceof ExecutableMemberDoc)?
06bc494ca11e Initial load
duke
parents:
diff changeset
   170
            member.name() + ((ExecutableMemberDoc)member).flatSignature() :
06bc494ca11e Initial load
duke
parents:
diff changeset
   171
            member.name();
06bc494ca11e Initial load
duke
parents:
diff changeset
   172
        if (name.indexOf("<") != -1 || name.indexOf(">") != -1) {
06bc494ca11e Initial load
duke
parents:
diff changeset
   173
                name = Util.escapeHtmlChars(name);
06bc494ca11e Initial load
duke
parents:
diff changeset
   174
        }
06bc494ca11e Initial load
duke
parents:
diff changeset
   175
        ClassDoc containing = member.containingClass();
06bc494ca11e Initial load
duke
parents:
diff changeset
   176
        dt();
06bc494ca11e Initial load
duke
parents:
diff changeset
   177
        printDocLink(LinkInfoImpl.CONTEXT_INDEX, member, name, true);
06bc494ca11e Initial load
duke
parents:
diff changeset
   178
        println(" - ");
06bc494ca11e Initial load
duke
parents:
diff changeset
   179
        printMemberDesc(member);
06bc494ca11e Initial load
duke
parents:
diff changeset
   180
        println();
06bc494ca11e Initial load
duke
parents:
diff changeset
   181
        dd();
06bc494ca11e Initial load
duke
parents:
diff changeset
   182
        printComment(member);
06bc494ca11e Initial load
duke
parents:
diff changeset
   183
        println();
06bc494ca11e Initial load
duke
parents:
diff changeset
   184
    }
06bc494ca11e Initial load
duke
parents:
diff changeset
   185
06bc494ca11e Initial load
duke
parents:
diff changeset
   186
06bc494ca11e Initial load
duke
parents:
diff changeset
   187
    /**
06bc494ca11e Initial load
duke
parents:
diff changeset
   188
     * Print comment for each element in the index. If the element is deprecated
06bc494ca11e Initial load
duke
parents:
diff changeset
   189
     * and it has a @deprecated tag, use that comment. Else if the containing
06bc494ca11e Initial load
duke
parents:
diff changeset
   190
     * class for this element is deprecated, then add the word "Deprecated." at
06bc494ca11e Initial load
duke
parents:
diff changeset
   191
     * the start and then print the normal comment.
06bc494ca11e Initial load
duke
parents:
diff changeset
   192
     *
06bc494ca11e Initial load
duke
parents:
diff changeset
   193
     * @param element Index element.
06bc494ca11e Initial load
duke
parents:
diff changeset
   194
     */
06bc494ca11e Initial load
duke
parents:
diff changeset
   195
    protected void printComment(ProgramElementDoc element) {
06bc494ca11e Initial load
duke
parents:
diff changeset
   196
        Tag[] tags;
06bc494ca11e Initial load
duke
parents:
diff changeset
   197
        if (Util.isDeprecated(element)) {
06bc494ca11e Initial load
duke
parents:
diff changeset
   198
            boldText("doclet.Deprecated"); space();
06bc494ca11e Initial load
duke
parents:
diff changeset
   199
            if ((tags = element.tags("deprecated")).length > 0)
06bc494ca11e Initial load
duke
parents:
diff changeset
   200
                printInlineDeprecatedComment(element, tags[0]);
06bc494ca11e Initial load
duke
parents:
diff changeset
   201
        } else {
06bc494ca11e Initial load
duke
parents:
diff changeset
   202
            ClassDoc cont = element.containingClass();
06bc494ca11e Initial load
duke
parents:
diff changeset
   203
            while (cont != null) {
06bc494ca11e Initial load
duke
parents:
diff changeset
   204
                if (Util.isDeprecated(cont)) {
06bc494ca11e Initial load
duke
parents:
diff changeset
   205
                    boldText("doclet.Deprecated"); space();
06bc494ca11e Initial load
duke
parents:
diff changeset
   206
                    break;
06bc494ca11e Initial load
duke
parents:
diff changeset
   207
                }
06bc494ca11e Initial load
duke
parents:
diff changeset
   208
                cont = cont.containingClass();
06bc494ca11e Initial load
duke
parents:
diff changeset
   209
            }
06bc494ca11e Initial load
duke
parents:
diff changeset
   210
            printSummaryComment(element);
06bc494ca11e Initial load
duke
parents:
diff changeset
   211
        }
06bc494ca11e Initial load
duke
parents:
diff changeset
   212
    }
06bc494ca11e Initial load
duke
parents:
diff changeset
   213
06bc494ca11e Initial load
duke
parents:
diff changeset
   214
    /**
06bc494ca11e Initial load
duke
parents:
diff changeset
   215
     * Print description about the Static Varible/Method/Constructor for a
06bc494ca11e Initial load
duke
parents:
diff changeset
   216
     * member.
06bc494ca11e Initial load
duke
parents:
diff changeset
   217
     *
06bc494ca11e Initial load
duke
parents:
diff changeset
   218
     * @param member MemberDoc for the member within the Class Kind.
06bc494ca11e Initial load
duke
parents:
diff changeset
   219
     * @see com.sun.javadoc.MemberDoc
06bc494ca11e Initial load
duke
parents:
diff changeset
   220
     */
06bc494ca11e Initial load
duke
parents:
diff changeset
   221
    protected void printMemberDesc(MemberDoc member) {
06bc494ca11e Initial load
duke
parents:
diff changeset
   222
        ClassDoc containing = member.containingClass();
06bc494ca11e Initial load
duke
parents:
diff changeset
   223
        String classdesc = Util.getTypeName(configuration, containing, true) + " " +
06bc494ca11e Initial load
duke
parents:
diff changeset
   224
            getPreQualifiedClassLink(LinkInfoImpl.CONTEXT_INDEX, containing,
06bc494ca11e Initial load
duke
parents:
diff changeset
   225
                false);
06bc494ca11e Initial load
duke
parents:
diff changeset
   226
        if (member.isField()) {
06bc494ca11e Initial load
duke
parents:
diff changeset
   227
            if (member.isStatic()) {
06bc494ca11e Initial load
duke
parents:
diff changeset
   228
                printText("doclet.Static_variable_in", classdesc);
06bc494ca11e Initial load
duke
parents:
diff changeset
   229
            } else {
06bc494ca11e Initial load
duke
parents:
diff changeset
   230
                printText("doclet.Variable_in", classdesc);
06bc494ca11e Initial load
duke
parents:
diff changeset
   231
            }
06bc494ca11e Initial load
duke
parents:
diff changeset
   232
        } else if (member.isConstructor()) {
06bc494ca11e Initial load
duke
parents:
diff changeset
   233
            printText("doclet.Constructor_for", classdesc);
06bc494ca11e Initial load
duke
parents:
diff changeset
   234
        } else if (member.isMethod()) {
06bc494ca11e Initial load
duke
parents:
diff changeset
   235
            if (member.isStatic()) {
06bc494ca11e Initial load
duke
parents:
diff changeset
   236
                printText("doclet.Static_method_in", classdesc);
06bc494ca11e Initial load
duke
parents:
diff changeset
   237
            } else {
06bc494ca11e Initial load
duke
parents:
diff changeset
   238
                printText("doclet.Method_in", classdesc);
06bc494ca11e Initial load
duke
parents:
diff changeset
   239
            }
06bc494ca11e Initial load
duke
parents:
diff changeset
   240
        }
06bc494ca11e Initial load
duke
parents:
diff changeset
   241
    }
06bc494ca11e Initial load
duke
parents:
diff changeset
   242
}