@Override
    public int toOutputStream(final OutputStream os) throws IOException {
        int docTypeTagLength = 0;
        if (prependDocType) {
            final byte[] docTypeTagBytes = (docTypeTag + "\n")
                    .getBytes(getCharset());
            os.write(docTypeTagBytes);
            docTypeTagLength = docTypeTagBytes.length;
        }
        return docTypeTagLength + super.toOutputStream(os);
    }
@Override
    public int toOutputStream(final OutputStream os) throws IOException {
        int docTypeTagLength = 0;
        if (prependDocType) {
            final byte[] docTypeTagBytes = (docTypeTag + "\n")
                    .getBytes(getCharset());
            os.write(docTypeTagBytes);
            docTypeTagLength = docTypeTagBytes.length;
        }
        return docTypeTagLength + super.toOutputStream(os);
    }
@ Override public int toOutputStream ( final OutputStream os ) throws IOException { int docTypeTagLength = 0 ; if ( prependDocType ) { final byte [ ] docTypeTagBytes = ( docTypeTag + "\n" ) . getBytes ( getCharset ( ) ) ; os . write ( docTypeTagBytes ) ; docTypeTagLength = docTypeTagBytes . length ; } return docTypeTagLength + super . toOutputStream ( os ) ; }
/*
(non-Javadoc)

@see
com.webfirmframework.wffweb.tag.html.AbstractHtml#toOutputStream(java.io.
OutputStream)
/ * ( non - Javadoc )