/** * Append the content, behind the supplied input stream, to suplied * document element. * <p/> * Used to merge document fragments into a document. * @param source Source content stream to be parsed. * @param appendElement DOM element to which the content fragment is to * be added. * @throws SAXException Unable to parse the content. * @throws IOException Unable to read the input stream. */ public void append(Source source, Element appendElement) throws IOException, SAXException { DOMBuilder contentHandler = new DOMBuilder(getExecContext()); contentHandler.setAppendElement(appendElement); parse(source, contentHandler); }
/** * Append the content, behind the supplied input stream, to suplied * document element. * <p/> * Used to merge document fragments into a document. * @param source Source content stream to be parsed. * @param appendElement DOM element to which the content fragment is to * be added. * @throws SAXException Unable to parse the content. * @throws IOException Unable to read the input stream. */ public void append(Source source, Element appendElement) throws IOException, SAXException { DOMBuilder contentHandler = new DOMBuilder(getExecContext()); contentHandler.setAppendElement(appendElement); parse(source, contentHandler); }
/** * Append the content, behind the supplied input stream, to suplied * document element. * <p/> * Used to merge document fragments into a document. * @param source Source content stream to be parsed. * @param appendElement DOM element to which the content fragment is to * be added. * @throws SAXException Unable to parse the content. * @throws IOException Unable to read the input stream. */ public void append(Source source, Element appendElement) throws IOException, SAXException { DOMBuilder contentHandler = new DOMBuilder(getExecContext()); contentHandler.setAppendElement(appendElement); parse(source, contentHandler); }
/** * Append the content, behind the supplied input stream, to suplied * document element. * * Used to merge document fragments into a document. * @param source Source content stream to be parsed. * @param appendElement DOM element to which the content fragment is to * be added. * @throws SAXException Unable to parse the content. * @throws IOException Unable to read the input stream. */ public void append(Source source, Element appendElement) throws IOException, SAXException { DOMBuilder contentHandler = new DOMBuilder(getExecContext()); contentHandler.setAppendElement(appendElement); parse(source, contentHandler); }