public static String getReqAttrVal ( final Element el , final String name ) throws SAXException { String str = getAttrVal ( el , name ) ; if ( ( str == null ) || ( str . length ( ) == 0 ) ) { throw new SAXException ( "Missing attribute value: " + name ) ; } return str ; }
Return the required value of the named attribute of the given element .