/** * This is used to create an <code>InputNode</code> that can be * used to read XML from the specified stream. The stream will * be positioned at the root element in the XML document. * * @param source this contains the contents of the XML source * * @throws Exception thrown if there is an I/O exception */ public static InputNode read(InputStream source) throws Exception { return read(PROVIDER.provide(source)); }
/** * This is used to create an <code>InputNode</code> that can be * used to read XML from the specified reader. The reader will * be positioned at the root element in the XML document. * * @param source this contains the contents of the XML source * * @throws Exception thrown if there is an I/O exception */ public static InputNode read(Reader source) throws Exception { return read(PROVIDER.provide(source)); }
/** * This is used to create an <code>InputNode</code> that can be * used to read XML from the specified stream. The stream will * be positioned at the root element in the XML document. * * @param source this contains the contents of the XML source * * @throws Exception thrown if there is an I/O exception */ public static InputNode read(InputStream source) throws Exception { return read(PROVIDER.provide(source)); }
/** * This is used to create an <code>InputNode</code> that can be * used to read XML from the specified reader. The reader will * be positioned at the root element in the XML document. * * @param source this contains the contents of the XML source * * @throws Exception thrown if there is an I/O exception */ public static InputNode read(Reader source) throws Exception { return read(PROVIDER.provide(source)); }
/** * This is used to create an <code>InputNode</code> that can be * used to read XML from the specified stream. The stream will * be positioned at the root element in the XML document. * * @param source this contains the contents of the XML source * * @throws Exception thrown if there is an I/O exception */ public static InputNode read(InputStream source) throws Exception { return read(PROVIDER.provide(source)); }
/** * This is used to create an <code>InputNode</code> that can be * used to read XML from the specified reader. The reader will * be positioned at the root element in the XML document. * * @param source this contains the contents of the XML source * * @throws Exception thrown if there is an I/O exception */ public static InputNode read(Reader source) throws Exception { return read(PROVIDER.provide(source)); }