Here you can find the source of getAttributeBoolean(Element el, String label)
public static boolean getAttributeBoolean(Element el, String label)
//package com.java2s; //License from project: Open Source License import org.w3c.dom.*; public class Main { public static boolean getAttributeBoolean(Element el, String label) { String s = el.getAttribute(label); return Boolean.valueOf(s).booleanValue(); }//from www . jav a 2s . co m }