Code example for SourceLocator

Methods: getPublicId, getSystemId

0
  public void setLocaterInfo(SourceLocator locator)
  { 
 
    if (null != locator)
    { 
      m_publicId = locator.getPublicId();
      m_systemId = locator.getSystemId();
 
      if (null != m_systemId)
      { 
        try 
        { 
          m_href = SystemIDResolver.getAbsoluteURI(m_systemId, null);
        } 
        catch (TransformerException se)
        { 
 
          // Ignore this for right now 
        } 
      } 
 
      super.setLocaterInfo(locator);
    } 
  } 
 
  /** 
   * The root of the stylesheet, where all the tables common