make/jdk/src/classes/build/tools/jdwpgen/AbstractCommandNode.java
changeset 55568 34c6447cced4
parent 48623 b1006bbb925a
equal deleted inserted replaced
55567:d725c6c93133 55568:34c6447cced4
     1 /*
     1 /*
     2  * Copyright (c) 1998, 2018, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1998, 2019, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    28 import java.io.*;
    28 import java.io.*;
    29 
    29 
    30 class AbstractCommandNode extends AbstractNamedNode {
    30 class AbstractCommandNode extends AbstractNamedNode {
    31 
    31 
    32     void document(PrintWriter writer) {
    32     void document(PrintWriter writer) {
    33         writer.println("<h5 id=\"" + context.whereC + "\">" + name +
    33         writer.println("<h3 id=\"" + context.whereC + "\">" + name +
    34                        " Command (" + nameNode.value() + ")</h5>");
    34                        " Command (" + nameNode.value() + ")</h3>");
    35         writer.println(comment());
    35         writer.println(comment());
    36         writer.println("<dl>");
    36         writer.println("<dl>");
    37         for (Node node : components) {
    37         for (Node node : components) {
    38             node.document(writer);
    38             node.document(writer);
    39         }
    39         }