/** * Called to serialize the document's DOCTYPE by the root element. * <p> * This method will check if it has not been called before ({@link #_started}), * will serialize the document type declaration, and will serialize all * pre-root comments and PIs that were accumulated in the document * (see {@link #serializePreRoot}). Pre-root will be serialized even if * this is not the first root element of the document. */ protected void startDocument( String rootTagName ) throws IOException { // Required to stop processing the DTD, even though the DTD // is not printed. _printer.leaveDTD(); _started = true; // Always serialize these, even if not te first root element. serializePreRoot(); }
/** * Called to serialize the document's DOCTYPE by the root element. * <p> * This method will check if it has not been called before ({@link #_started}), * will serialize the document type declaration, and will serialize all * pre-root comments and PIs that were accumulated in the document * (see {@link #serializePreRoot}). Pre-root will be serialized even if * this is not the first root element of the document. */ protected void startDocument( String rootTagName ) throws IOException { // Required to stop processing the DTD, even though the DTD // is not printed. _printer.leaveDTD(); _started = true; // Always serialize these, even if not te first root element. serializePreRoot(); }
protected void serializeDocument()throws IOException { int i; String dtd = _printer.leaveDTD(); if (! _started) {
protected void serializeDocument()throws IOException { int i; String dtd = _printer.leaveDTD(); if (! _started) {
String dtd; dtd = _printer.leaveDTD(); if (! _started) {
String dtd; dtd = _printer.leaveDTD(); if (! _started) {
protected void serializeDTD(String name) throws IOException{ String dtd = _printer.leaveDTD(); if (! _format.getOmitDocumentType()) { if (_docTypeSystemId != null) {
protected void serializeDTD(String name) throws IOException{ String dtd = _printer.leaveDTD(); if (! _format.getOmitDocumentType()) { if (_docTypeSystemId != null) {
_printer.leaveDTD(); if ( ! _started ) {
_printer.leaveDTD(); if ( ! _started ) {
_printer.leaveDTD(); if ( ! _started ) {