Code example for ErrorHandler

Methods: warning

	private void warn (String message)
	throws SAXException 
	    if (handler == null)
	    handler.warning (new SAXParseException (message, locator));
	// callbacks: 
	public void setDocumentLocator (Locator l)
	    { locator = l; }
	public void startDocument () 
	throws SAXException 
	    if (locator == null)
		error ("no locator!"); 
	    bases = new Stack ();
	    String	uri = locator.getSystemId ();
Connect your IDE to all the code out there  Get Codota for Java