/** * Returns the locator as provided by the XML parser. This method may return null if the XML * parser has no locator support. * * @return the locator or null. */ public Locator getLocator() { return rootHandler.getDocumentLocator(); }