public final class SaxHelper extends Object
| Modifier and Type | Method and Description | 
|---|---|
| static Boolean | getBooleanAttribute(String attributeName,
                   Attributes attributes,
                   String elementDescription)Retrieves an attribute as boolean value. | 
| static String | getUnqualifiedName(String localName,
                  String qName)Retrieves the unqualified part of an XML element name name,
 regardless whether namespace processing is switched on or off. | 
public static Boolean getBooleanAttribute(String attributeName, Attributes attributes, String elementDescription) throws SAXException
attributeName - the name of the attribute to retrieve, not null.attributes - The attributes of the current element.elementDescription - the description of the parsed element,
        for producing a user-readable error message. E.g
        "the optionAction ${nameOfTheAction}"SAXException - if the attribute contains content
         other than "true", "1" , "false" or "0".public static String getUnqualifiedName(String localName, String qName)
localName - The local name (without prefix), or the
        empty string if namespace processing is not being
        performed.qName - The qualified name (with prefix), or the
        empty string if qualified names are not available.Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.