Code example for Locator

Methods: getPublicId

   *         null if none is available. 
   * @see #getSystemId 
  public String getPublicId()
    return (null == m_locator) ? super.getPublicId() : m_locator.getPublicId();
   * Return the system identifier for the current document event. 
   * <p>The return value is the system identifier of the document 
   * entity or of the external parsed entity in which the markup 
   * triggering the event appears.</p> 
   * <p>If the system identifier is a URL, the parser must resolve it 
   * fully before passing it to the application.</p> 
   * @return A string containing the system identifier, or null 
   *         if none is available.