Code example for Writer

Methods: write

0
    { 
        if (!writtenHtmlHead)
        { 
            writtenHtmlHead=true;
            completeSections(); 
            out.write("<html><head>");
            String title=(String)properties.get(Title);
            if (title!=null && title.length()>0 && !title.equals(NoTitle))
                out.write("<title>"+title+"</title>");
            head.write(out);
            out.write(base);
            out.write("\n</head>\n");
        } 
    } 
     
    /* ------------------------------------------------------------ */ 
    /** Write HTML page body tag. 
     * Write tags &ltBODY page attributes&gt. 
     */ 
    public void writeBodyTag(Writer out)
         throws IOException