/** * <p>The default behavior of this method is to * call {@link ResponseWriter#writeDoctype} * on the wrapped {@link ResponseWriter} object.</p> * * @see ResponseWriter#writeDoctype * @since 2.2 */ @Override public void writeDoctype(String doctype) throws IOException { getWrapped().writeDoctype(doctype); }
/** * <p>The default behavior of this method is to * call {@link ResponseWriter#writeDoctype} * on the wrapped {@link ResponseWriter} object.</p> * * @see ResponseWriter#writeDoctype * @since 2.2 */ @Override public void writeDoctype(String doctype) throws IOException { getWrapped().writeDoctype(doctype); }
/** * <p>The default behavior of this method is to * call {@link ResponseWriter#writeDoctype} * on the wrapped {@link ResponseWriter} object.</p> * * @see ResponseWriter#writeDoctype * @since 2.2 */ @Override public void writeDoctype(String doctype) throws IOException { getWrapped().writeDoctype(doctype); }
/** * <p>The default behavior of this method is to * call {@link ResponseWriter#writeDoctype} * on the wrapped {@link ResponseWriter} object.</p> * * @see ResponseWriter#writeDoctype * @since 2.2 */ @Override public void writeDoctype(String doctype) throws IOException { getWrapped().writeDoctype(doctype); }
/** * <p>The default behavior of this method is to * call {@link ResponseWriter#writeDoctype} * on the wrapped {@link ResponseWriter} object.</p> * * @see ResponseWriter#writeDoctype * @since 2.2 */ @Override public void writeDoctype(String doctype) throws IOException { getWrapped().writeDoctype(doctype); }
@Override public void writeDoctype(String doctype) throws IOException { getWrapped().writeDoctype(doctype); }
/** * <p>The default behavior of this method is to * call {@link ResponseWriter#writeDoctype} * on the wrapped {@link ResponseWriter} object.</p> * * @see ResponseWriter#writeDoctype * @since 2.2 */ @Override public void writeDoctype(String doctype) throws IOException { getWrapped().writeDoctype(doctype); }
/** * <p>The default behavior of this method is to * call {@link ResponseWriter#writeDoctype} * on the wrapped {@link ResponseWriter} object.</p> * * @see ResponseWriter#writeDoctype * @since 2.2 */ @Override public void writeDoctype(String doctype) throws IOException { getWrapped().writeDoctype(doctype); }
/** * <p>The default behavior of this method is to * call {@link ResponseWriter#writeDoctype} * on the wrapped {@link ResponseWriter} object.</p> * * @see ResponseWriter#writeDoctype * @since 2.2 */ @Override public void writeDoctype(String doctype) throws IOException { getWrapped().writeDoctype(doctype); }
public void write(FacesContext context) throws IOException { StringBuilder sb = new StringBuilder(64); if (html5Doctype) { sb.append("<!DOCTYPE html>\n"); } else { sb.append("<!DOCTYPE ").append(name); if (publicId != null) { sb.append(" PUBLIC \"").append(publicId).append("\""); if (systemId != null) { sb.append(" \"").append(systemId).append("\""); } } else if (systemId != null) { sb.append(" SYSTEM \"").append(systemId).append("\""); } sb.append(" >\n"); } context.getResponseWriter().writeDoctype(sb.toString()); }
if (null != docType) { writer.writeDoctype(docType);
if (null != docType) { writer.writeDoctype(docType);
if (null != DOCTYPE) { writer.writeDoctype(DOCTYPE);
if (null != docType) { writer.writeDoctype(docType);