Code example for Locator

Methods: getColumnNumbergetPublicIdgetSystemId

0
        System.out.println("unparsedEntityDecl---------name"+ name +"\t"+"publicId:" + publicId+ "\t"+ "systemId:" + systemId + "\t notationName:" + notationName);
    } 
 
    @Override 
    public void setDocumentLocator(Locator locator) {
        System.out.println("setDocumentLocator--------------Locator: getPublicId" + locator.getPublicId() + "\t getColumnNumber"+ locator.getColumnNumber()+ "\t "+ locator.getSystemId());
    } 
 
    @Override 
    public void startDocument() throws SAXException { 
        System.out.println("----start document--------");
    } 
 
    @Override 
    public void endDocument() throws SAXException { 
         System.out.println("----end document--------");
    } 
 
    @Override 
    public void startPrefixMapping(String prefix, String uri) throws SAXException {
Stop searching for code, let great code find you!  Add Codota to your java IDE