Code example for SourceLocator

Methods: getColumnNumbergetLineNumbergetPublicIdgetSystemId

0
   * @param locator Source locator 
   */ 
  public SAXSourceLocator(javax.xml.transform.SourceLocator locator)
  { 
    m_locator = null;
    this.setColumnNumber(locator.getColumnNumber());
    this.setLineNumber(locator.getLineNumber());
    this.setPublicId(locator.getPublicId());
    this.setSystemId(locator.getSystemId());
  } 
 
   
  /** 
   * Constructor SAXSourceLocator 
   * 
   * 
   * @param spe SAXParseException exception. 
   */ 
  public SAXSourceLocator(SAXParseException spe)
  { 
Connect your IDE to all the code out there  Get Codota for Java