public interface DocumentLoader
| Modifier and Type | Method and Description |
|---|---|
org.w3c.dom.Document |
loadDocument(org.springframework.core.io.Resource resource)
Load the XML-based document from the external resource.
|
org.w3c.dom.Document loadDocument(org.springframework.core.io.Resource resource)
throws java.io.IOException,
javax.xml.parsers.ParserConfigurationException,
org.xml.sax.SAXException
resource - the document resourcejava.io.IOException - an exception occured accessing the resource input streamjavax.xml.parsers.ParserConfigurationException - an exception occured building the document parserorg.xml.sax.SAXException - a error occured during document parsing