/**
  * Sets the locator in the project helper for future reference.
  *
  * @param locator The locator used by the parser. Will not be <code>null</code>.
  */
 public void setDocumentLocator(Locator locator) {
   context.setLocator(locator);
 }