Code example for SourceLocator

Methods: getColumnNumbergetLineNumbergetSystemId

0
                              (SAXSourceLocator)xctxt.getSAXLocator()));
    } 
    else 
    { 
      SourceLocator slocator = xctxt.getSAXLocator();
      System.out.println(fmsg + "; file " + slocator.getSystemId()
                         + "; line " + slocator.getLineNumber() + "; column "
                         + slocator.getColumnNumber());
    } 
  } 
   
  /** 
   * This will traverse the heararchy, calling the visitor for  
   * each member.  If the called visitor method returns  
   * false, the subtree should not be called. 
   *  
   * @param owner The owner of the visitor, where that path may be  
   *              rewritten if needed. 
   * @param visitor The visitor whose appropriate method will be called. 
   */ 
Connect your IDE to all the code out there  Get Codota for Java