Code example for Locator

Methods: getSystemId

0
   *         if none is available. 
   * @see #getPublicId 
   */ 
  public String getSystemId()
  { 
    return (null == m_locator) ? super.getSystemId() : m_locator.getSystemId();
  } 
   
  /** 
   * Return the line number where the current document event ends. 
   * 
   * <p><strong>Warning:</strong> The return value from the method 
   * is intended only as an approximation for the sake of error 
   * reporting; it is not intended to provide sufficient information 
   * to edit the character content of the original XML document.</p> 
   * 
   * <p>The return value is an approximation of the line number 
   * in the document entity or external parsed entity where the 
   * markup triggering the event appears.</p> 
   * 
   * @return The line number, or -1 if none is available.