/** * Initializes the handle with a StAX stream reader for the content. * @param content a StAX stream reader */ public XMLStreamReaderHandle(XMLStreamReader content) { this(); set(content); }
/** * Assigns an stream reader for the content and returns the handle * as a fluent convenience. * @param content a StAX stream reader * @return this handle */ public XMLStreamReaderHandle with(XMLStreamReader content) { set(content); return this; }
/** * Initializes the handle with a StAX stream reader for the content. * @param content a StAX stream reader */ public XMLStreamReaderHandle(XMLStreamReader content) { this(); set(content); }
/** * Assigns an stream reader for the content and returns the handle * as a fluent convenience. * @param content a StAX stream reader * @return this handle */ public XMLStreamReaderHandle with(XMLStreamReader content) { set(content); return this; }
streamHandle.set( streamHandle.getFactory().createXMLStreamReader( new StringReader(docIn)