Code example for SourceLocator

Methods: getPublicId, getSystemId

0
   * @param locator SourceLocator holding location information  
   */ 
  public void setLocaterInfo(SourceLocator locator)
  { 
 
    m_publicId = locator.getPublicId();
    m_systemId = locator.getSystemId();
 
    super.setLocaterInfo(locator);
  } 
 
  /** 
   * The owning stylesheet. 
   * (Should this only be put on the template element, to 
   * conserve space?) 
   * @serial 
   */ 
  private Stylesheet m_stylesheet;
 
  /** 
   * Get the stylesheet composed (resolves includes and