1 /*
2 * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
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
7 * published by the Free Software Foundation. Oracle designates this
8 * particular file as subject to the "Classpath" exception as provided
9 * by Oracle in the LICENSE file that accompanied this code.
10 *
11 * This code is distributed in the hope that it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 * version 2 for more details (a copy is included in the LICENSE file that
15 * accompanied this code).
16 *
17 * You should have received a copy of the GNU General Public License version
18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
1103 * This is invoked after the stream has been parsed, but before
1104 * <code>flush</code>. <code>eol</code> will be one of \n, \r
1105 * or \r\n, which ever is encountered the most in parsing the
1106 * stream.
1107 *
1108 * @param eol value of eol
1109 *
1110 * @since 1.3
1111 */
1112 public void handleEndOfLineString(String eol) {
1113 }
1114 }
1115
1116 /**
1117 * A factory to build views for HTML. The following
1118 * table describes what this factory will build by
1119 * default.
1120 *
1121 * <table summary="Describes the tag and view created by this factory by default">
1122 * <tr>
1123 * <th align=left>Tag<th align=left>View created
1124 * </tr><tr>
1125 * <td>HTML.Tag.CONTENT<td>InlineView
1126 * </tr><tr>
1127 * <td>HTML.Tag.IMPLIED<td>javax.swing.text.html.ParagraphView
1128 * </tr><tr>
1129 * <td>HTML.Tag.P<td>javax.swing.text.html.ParagraphView
1130 * </tr><tr>
1131 * <td>HTML.Tag.H1<td>javax.swing.text.html.ParagraphView
1132 * </tr><tr>
1133 * <td>HTML.Tag.H2<td>javax.swing.text.html.ParagraphView
1134 * </tr><tr>
1135 * <td>HTML.Tag.H3<td>javax.swing.text.html.ParagraphView
1136 * </tr><tr>
1137 * <td>HTML.Tag.H4<td>javax.swing.text.html.ParagraphView
1138 * </tr><tr>
1139 * <td>HTML.Tag.H5<td>javax.swing.text.html.ParagraphView
1140 * </tr><tr>
1141 * <td>HTML.Tag.H6<td>javax.swing.text.html.ParagraphView
1142 * </tr><tr>
1143 * <td>HTML.Tag.DT<td>javax.swing.text.html.ParagraphView
|
1 /*
2 * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
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
7 * published by the Free Software Foundation. Oracle designates this
8 * particular file as subject to the "Classpath" exception as provided
9 * by Oracle in the LICENSE file that accompanied this code.
10 *
11 * This code is distributed in the hope that it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 * version 2 for more details (a copy is included in the LICENSE file that
15 * accompanied this code).
16 *
17 * You should have received a copy of the GNU General Public License version
18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
1103 * This is invoked after the stream has been parsed, but before
1104 * <code>flush</code>. <code>eol</code> will be one of \n, \r
1105 * or \r\n, which ever is encountered the most in parsing the
1106 * stream.
1107 *
1108 * @param eol value of eol
1109 *
1110 * @since 1.3
1111 */
1112 public void handleEndOfLineString(String eol) {
1113 }
1114 }
1115
1116 /**
1117 * A factory to build views for HTML. The following
1118 * table describes what this factory will build by
1119 * default.
1120 *
1121 * <table summary="Describes the tag and view created by this factory by default">
1122 * <tr>
1123 * <th style="text-align:left">Tag<th style="text-align:left">View created
1124 * </tr><tr>
1125 * <td>HTML.Tag.CONTENT<td>InlineView
1126 * </tr><tr>
1127 * <td>HTML.Tag.IMPLIED<td>javax.swing.text.html.ParagraphView
1128 * </tr><tr>
1129 * <td>HTML.Tag.P<td>javax.swing.text.html.ParagraphView
1130 * </tr><tr>
1131 * <td>HTML.Tag.H1<td>javax.swing.text.html.ParagraphView
1132 * </tr><tr>
1133 * <td>HTML.Tag.H2<td>javax.swing.text.html.ParagraphView
1134 * </tr><tr>
1135 * <td>HTML.Tag.H3<td>javax.swing.text.html.ParagraphView
1136 * </tr><tr>
1137 * <td>HTML.Tag.H4<td>javax.swing.text.html.ParagraphView
1138 * </tr><tr>
1139 * <td>HTML.Tag.H5<td>javax.swing.text.html.ParagraphView
1140 * </tr><tr>
1141 * <td>HTML.Tag.H6<td>javax.swing.text.html.ParagraphView
1142 * </tr><tr>
1143 * <td>HTML.Tag.DT<td>javax.swing.text.html.ParagraphView
|