예제 #1
0
 public void endDocument() throws SAXException {
   fSAXLocatorWrapper.setLocator(null);
   try {
     fSchemaValidator.endDocument(null);
   } catch (XMLParseException e) {
     throw Util.toSAXParseException(e);
   } catch (XNIException e) {
     throw Util.toSAXException(e);
   }
 }
예제 #2
0
 public void setDocumentLocator(Locator locator) {
   fSAXLocatorWrapper.setLocator(locator);
   if (fContentHandler != null) {
     fContentHandler.setDocumentLocator(locator);
   }
 }