Code example for Locator

Methods: getColumnNumber, getLineNumber

0
		} 
		 
		private void newError(String error, Object... params)
		{ 
			errors.newError(
				locator.getLineNumber(), 
				locator.getColumnNumber(), 
				error,
				params
			); 
		} 
		 
		@Override 
		public void startElement(String uri, String localName, String qName, Attributes attributes)
			throws SAXException 
		{ 
			flushCharacters(); 
			 
			if(namespaces.isBound(uri))
			{ 
				// This namespace is managed by us, treat as component