예제 #1
0
 /**
  * The recognizer entry method taking a URL.
  *
  * @param url URL source to be parsed.
  * @throws java.io.IOException on I/O error.
  * @throws SAXException propagated exception thrown by a DocumentHandler.
  * @throws javax.xml.parsers.ParserConfigurationException a parser satisfining requested
  *     configuration can not be created.
  * @throws javax.xml.parsers.FactoryConfigurationError if the implementation can not be
  *     instantiated.
  */
 public static void parse(final java.net.URL url, final JDOHandler handler)
     throws SAXException, ParserConfigurationException, IOException {
   parse(new InputSource(url.toExternalForm()), handler);
 }
예제 #2
0
 /**
  * The recognizer entry method taking a URL.
  *
  * @param url URL source to be parsed.
  * @throws java.io.IOException on I/O error.
  * @throws SAXException propagated exception thrown by a DocumentHandler.
  * @throws javax.xml.parsers.ParserConfigurationException a parser satisfining requested
  *     configuration can not be created.
  * @throws javax.xml.parsers.FactoryConfigurationError if the implementation can not be
  *     instantiated.
  */
 public void parse(final java.net.URL url)
     throws SAXException, ParserConfigurationException, IOException {
   parse(new InputSource(url.toExternalForm()), this);
 }