Here you can find the source of getAttributesValue(Attributes attrs, String name)
public static String getAttributesValue(Attributes attrs, String name)
//package com.java2s; import org.xml.sax.Attributes; public class Main { public static String getAttributesValue(Attributes attrs, String name) { for (int i = 0; i < attrs.getLength(); ++i) { if (attrs.getLocalName(i).equals(name)) { return attrs.getValue(i); }//from ww w .ja va 2 s.co m } return null; } }