public class HTMLDoc extends XMLBasedDoc<HTMLTag>
NL| Constructor and Description |
|---|
HTMLDoc() |
HTMLDoc(BufferedInputStream inStream) |
HTMLDoc(BufferedReader inReader) |
HTMLDoc(Doctype inDoctype) |
HTMLDoc(File inFile) |
HTMLDoc(HTML inRootTag) |
| Modifier and Type | Method and Description |
|---|---|
String |
getHeader()
Used by toXML() and toHTML() for content placed at the start of the document.
|
HTML |
getRootNode() |
protected XMLTagReader |
getTagReader() |
protected void |
prepareForOutput() |
HTMLDoc |
setDoctype(Doctype inValue) |
HTMLDoc |
setEncoding(Charset inValue) |
void |
setRootNode(HTML inValue) |
String |
toHTML() |
void |
toHTML(File inFile) |
void |
toHTML(javax.servlet.http.HttpServletResponse inResponse) |
void |
toHTML(OutputStream inStream) |
void |
toHTML(PrintWriter inWriter) |
void |
toIndentedHTML(File inFile,
int inInitialIndentLevel,
int inIndentSize) |
String |
toIndentedHTML(int inInitialIndentLevel,
int inIndentSize) |
void |
toIndentedHTML(OutputStream inOutputStream,
int inInitialIndentLevel,
int inIndentSize) |
void |
toIndentedHTML(PrintWriter inWriter,
int inInitialIndentLevel,
int inIndentSize) |
clone, getDoctype, getEncoding, getTopLevelComments, isConstructedContent, name, replaceCharacterEntities, setIsStandalone, setName, setRootNode, setSpec, toIndentedXML, toIndentedXML, toIndentedXML, toIndentedXML, toXML, toXML, toXML, toXMLpublic HTMLDoc()
public HTMLDoc(File inFile) throws XMLException, IOException
XMLExceptionIOExceptionpublic HTMLDoc(BufferedReader inReader)
public HTMLDoc(BufferedInputStream inStream)
public String getHeader()
getHeader in class XMLBasedDoc<HTMLTag>public HTMLDoc setDoctype(Doctype inValue)
setDoctype in class XMLBasedDoc<HTMLTag>public HTMLDoc setEncoding(Charset inValue)
setEncoding in class XMLBasedDoc<HTMLTag>public void toHTML(OutputStream inStream)
public void toHTML(PrintWriter inWriter)
public void toHTML(javax.servlet.http.HttpServletResponse inResponse)
public String toIndentedHTML(int inInitialIndentLevel, int inIndentSize)
public void toIndentedHTML(OutputStream inOutputStream, int inInitialIndentLevel, int inIndentSize)
public void toIndentedHTML(PrintWriter inWriter, int inInitialIndentLevel, int inIndentSize)
public void toIndentedHTML(File inFile, int inInitialIndentLevel, int inIndentSize)
public void setRootNode(HTML inValue)
public HTML getRootNode()
getRootNode in class XMLBasedDoc<HTMLTag>protected void prepareForOutput()
prepareForOutput in class XMLBasedDoc<HTMLTag>protected XMLTagReader getTagReader()
getTagReader in class XMLBasedDoc<HTMLTag>
jataylor@hairyfatguy.com