public class HTMLWriterEx extends HTMLWriter
HTMLWriter
A, ALIGN, B, BODY, BORDER, BR, CLASSID, CODE, COL, COLOR, FONT, H1, H2, H3, H4, HEAD, HR, HREF, HTML, I, IMAGE, LEFT, LI, LINK, NAME, OBJECT, P, PARAM, REL, RIGHT, ROW, SCOPE, SMALL, SRC, STYLE, TABLE, TD, TH, TITLE, TOP, TR, TYPE, UL, VALIGN, VALUE
Constructor and Description |
---|
HTMLWriterEx(java.io.Writer out)
Create an HTMLWriterEx object, using a default doctype for HTML 3.2.
|
HTMLWriterEx(java.io.Writer out,
I18NResourceBundle i18n)
Create an HTMLWriterEx object, using a specified bundle for localizing
messages.
|
HTMLWriterEx(java.io.Writer out,
java.lang.String docType)
Create an HTMLWriterEx object, using a specified doctype header.
|
HTMLWriterEx(java.io.Writer out,
java.lang.String docType,
I18NResourceBundle i18n)
Create an HTMLWriterEx object, using a specified doctype header and using
a specified bundle for localizing messages.
|
Modifier and Type | Method and Description |
---|---|
void |
writeContentMeta()
Write Content-Type meta tag using default charset:
This must go inside the element!
|
close, closePrevTag, endEmptyTag, endTag, flush, newLine, setI18NResourceBundle, startTag, write, write, write, write, writeAttr, writeAttr, writeEntity, writeI18N, writeI18N, writeI18N, writeImage, writeImage, writeLine, writeLink, writeLink, writeLink, writeLink, writeLinkDestination, writeParam, writeRaw, writeStyleAttr
public HTMLWriterEx(java.io.Writer out) throws java.io.IOException
out
- a Writer to which to write the generated HTMLjava.io.IOException
- if there is a problem writing to the underlying
streampublic HTMLWriterEx(java.io.Writer out, java.lang.String docType) throws java.io.IOException
out
- a Writer to which to write the generated HTMLdocType
- a string containing a doctype header for the HTML to be
generatedjava.io.IOException
- if there is a problem writing to the underlying
streampublic HTMLWriterEx(java.io.Writer out, I18NResourceBundle i18n) throws java.io.IOException
out
- a Writer to which to write the generated HTMLi18n
- a resource bundle to use to localize messagesjava.io.IOException
- if there is a problem writing to the underlying
streampublic HTMLWriterEx(java.io.Writer out, java.lang.String docType, I18NResourceBundle i18n) throws java.io.IOException
out
- a Writer to which to write the generated HTMLdocType
- a string containing a doctype header for the HTML to be
generatedi18n
- a resource bundle to use to localize messagesjava.io.IOException
- if there is a problem writing to the underlying
streamCopyright (c) 1996, 2014, Oracle and/or its affiliates. All rights reserved.