/** * Returns the XMLReader to be used for the Source. * <p> * This implementation returns a specific XMLReader reading * the XML data from the source JDOM document. * </p> * * @return an XMLReader reading the XML data from the source * JDOM document. */ public XMLReader getXMLReader() { if (this.xmlReader == null) { this.xmlReader = buildDocumentReader(); } return this.xmlReader; }
filter = (XMLFilter)(filter.getParent()); filter.setParent(buildDocumentReader());