Code example for ErrorHandler

Methods: warning

0
	private void warn (String message)
	throws SAXException 
	{ 
	    if (handler == null)
		return; 
	    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 ();
	    try {