< prev index next >
src/java.desktop/share/classes/javax/swing/text/html/HTMLWriter.java
Print this page
@@ -926,11 +926,11 @@
}
}
}
/**
- * Outputs the named style. <code>outputStyle</code> indicates
+ * Outputs the named style. {@code outputStyle} indicates
* whether or not a style has been output yet. This will return
* true if a style is written.
*/
boolean writeStyle(String name, Style style, boolean outputStyle)
throws IOException{
@@ -999,11 +999,11 @@
* Convert the give set of attributes to be html for
* the purpose of writing them out. Any keys that
* have been converted will not appear in the resultant
* set. Any keys not converted will appear in the
* resultant set the same as the received set.<p>
- * This will put the converted values into <code>to</code>, unless
+ * This will put the converted values into {@code to}, unless
* it is null in which case a temporary AttributeSet will be returned.
*/
AttributeSet convertToHTML(AttributeSet from, MutableAttributeSet to) {
if (to == null) {
to = convAttr;
@@ -1187,11 +1187,11 @@
indented = false;
}
/**
* This method is overriden to map any character entities, such as
- * < to &lt;. <code>super.output</code> will be invoked to
+ * < to &lt;. {@code super.output} will be invoked to
* write the content.
* @since 1.3
*/
protected void output(char[] chars, int start, int length)
throws IOException {
@@ -1258,12 +1258,12 @@
super.output(chars, last, length - last);
}
}
/**
- * This directly invokes super's <code>output</code> after converting
- * <code>string</code> to a char[].
+ * This directly invokes super's {@code output} after converting
+ * {@code string} to a char[].
*/
private void output(String string) throws IOException {
int length = string.length();
if (tempChars == null || tempChars.length < length) {
tempChars = new char[length];
< prev index next >