createHeaderFooter
public void createHeaderFooter()
getBodyNode
public Element getBodyNode()
getContentNode
public Element getContentNode()
getEncoding
public String getEncoding()
getExtension
public static final String getExtension(int nType)
getFooterNode
public Element getFooterNode()
getHeadNode
public Element getHeadNode()
getHeaderNode
public Element getHeaderNode()
getPanelNode
public Element getPanelNode()
getTitleNode
public Element getTitleNode()
read
public void read(InputStream is)
throws IOException
Reads the content from the
InputStream
into
the
Document
.
This method may not be thread-safe.
Implementations may or may not synchronize this
method. User code (i.e. caller) must make sure that
calls to this method are thread-safe.
- read in interface Document
- read in interface DOMDocument
is
- InputStream
to read in the
Document
content.
readFromTemplate
public void readFromTemplate(XhtmlDocument template)
setAddBOM
public void setAddBOM(boolean b)
setContentDOM
public void setContentDOM(Document doc)
setContentNode
public void setContentNode(Element contentNode)
setEncoding
public void setEncoding(String s)
setNoDoctype
public void setNoDoctype(boolean b)
setUseNamedEntities
public void setUseNamedEntities(boolean b)
setXsltPath
public void setXsltPath(String s)
write
public void write(OutputStream os)
throws IOException
Write out content to the supplied OutputStream
.
(with pretty printing)
- write in interface OutputFile
- write in interface DOMDocument