(String xmlURL)
| 10 | public class XMLUtil { |
| 11 | |
| 12 | public static Document getDocument(String xmlURL) { |
| 13 | try { |
| 14 | SAXReader reader = new SAXReader(); |
| 15 | return reader.read(xmlURL); |
| 16 | } catch (DocumentException e) { |
| 17 | e.printStackTrace(); |
| 18 | } |
| 19 | return null; |
| 20 | } |
| 21 | } |