Code example for Locator

Methods: getColumnNumbergetLineNumbergetPublicIdgetSystemId

0
   * @param locator Source locator 
   */ 
  public SAXSourceLocator(Locator locator)
  { 
    m_locator = locator;
    this.setColumnNumber(locator.getColumnNumber());
    this.setLineNumber(locator.getLineNumber());
    this.setPublicId(locator.getPublicId());
    this.setSystemId(locator.getSystemId());
  } 
   
  /** 
   * Constructor SAXSourceLocator 
   * 
   * 
   * @param locator Source locator 
   */ 
  public SAXSourceLocator(javax.xml.transform.SourceLocator locator)
  { 
    m_locator = null;
Stop searching for code, let great code find you!  Add Codota to your java IDE