code: public static int getLine(Attributes attrs) {
  		String line = attrs.getValue(URI, LINE_ATTR);
  		return line != null ? Integer.parseInt(line) : -1;
  	}
docs: Returns the line number of an element (SAX flavor)
  
  @param attrs
  the element's attributes that hold the location information
  @return the element's line number or <code>-1</code> if
  <code>attrs</code> has no location information.