public interface Parser extends Component
Document parse(InputSource in) throws IOException, CreationException
in
- The InputSource to parse.IOException
- If an I/O error occourred accessing the specified
System-ID.CreationException
- If an error occourred parsing the document.Document parse(URL url) throws IOException, CreationException
in
- The InputSource to parse.IOException
- If an I/O error occourred accessing the specified
System-ID.CreationException
- If an error occourred parsing the document.Document create()