/** * Assigns an input source as the content and returns the handle * as a fluent convenience. * @param content an input source * @return this handle */ public InputSourceHandle with(InputSource content) { set(content); return this; }
/** * Initializes the handle with a SAX input source for the content. * @param content a SAX input source */ public InputSourceHandle(InputSource content) { this(); set(content); }
/** * Initializes the handle with a SAX input source for the content. * @param content a SAX input source */ public InputSourceHandle(InputSource content) { this(); set(content); }
/** * Assigns an input source as the content and returns the handle * as a fluent convenience. * @param content an input source * @return this handle */ public InputSourceHandle with(InputSource content) { set(content); return this; }
saxHandle.set(new InputSource(new StringReader(domString))); docMgr.write(docId, saxHandle); docText = docMgr.read(docId2, new StringHandle()).get();