/** * Construct the reader with an XML stream, and set the * <code>DOCTYPE</code> information to be included. The given * reader should access an input source containing the exact declaration * to include, such as:<br /> * <code><DOCTYPE schedule SYSTEM "schedule.dtd"></code><br /> * <code><DOCTYPE html PUBLIC "-//W3C//DTD XHTML ...></code><br /> * <code><DOCTYPE stock-price [ <ELEMENT symb ... ]></code><br /> * If the reader is null, no <code>DOCTYPE</code> information will be * included in the stream. */ public DocTypeReader(Reader xml, Reader docType) throws IOException { _docType = docType; _xml = bufferHeader(xml); }
/** * Construct the reader with an XML stream, and set the * <code>DOCTYPE</code> information to be included. The given * reader should access an input source containing the exact declaration * to include, such as:<br /> * <code><DOCTYPE schedule SYSTEM "schedule.dtd"></code><br /> * <code><DOCTYPE html PUBLIC "-//W3C//DTD XHTML ...></code><br /> * <code><DOCTYPE stock-price [ <ELEMENT symb ... ]></code><br /> * If the reader is null, no <code>DOCTYPE</code> information will be * included in the stream. */ public DocTypeReader(Reader xml, Reader docType) throws IOException { _docType = docType; _xml = bufferHeader(xml); }
/** * Construct the reader with an XML stream, and set the * <code>DOCTYPE</code> information to be included. The given * reader should access an input source containing the exact declaration * to include, such as:<br /> * <code><DOCTYPE schedule SYSTEM "schedule.dtd"></code><br /> * <code><DOCTYPE html PUBLIC "-//W3C//DTD XHTML ...></code><br /> * <code><DOCTYPE stock-price [ <ELEMENT symb ... ]></code><br /> * If the reader is null, no <code>DOCTYPE</code> information will be * included in the stream. */ public DocTypeReader(Reader xml, Reader docType) throws IOException { _docType = docType; _xml = bufferHeader(xml); }
/** * Construct the reader with an XML stream, and set the * <code>DOCTYPE</code> information to be included. The given * reader should access an input source containing the exact declaration * to include, such as:<br /> * <code><DOCTYPE schedule SYSTEM "schedule.dtd"></code><br /> * <code><DOCTYPE html PUBLIC "-//W3C//DTD XHTML ...></code><br /> * <code><DOCTYPE stock-price [ <ELEMENT symb ... ]></code><br /> * If the reader is null, no <code>DOCTYPE</code> information will be * included in the stream. */ public DocTypeReader(Reader xml, Reader docType) throws IOException { _docType = docType; _xml = bufferHeader(xml); }