List of usage examples for org.jdom2.input.sax SAXHandler getDocument
public Document getDocument()
From source file:org.mycore.common.content.MCRSAXContent.java
License:Open Source License
@Override public Document asXML() throws JDOMException, IOException, SAXException { SAXHandler jdomContentHandler = new SAXHandler(); xmlReader.setContentHandler(jdomContentHandler); xmlReader.parse(inputSource);/*w w w .ja va 2 s .c om*/ return jdomContentHandler.getDocument(); }