| java.lang.Object com.izforge.izpack.util.xml.XMLHelper
XMLHelper | public class XMLHelper (Code) | | A Collection of convenient XML-Helper Methods and Constants
author: marc.eppelmann@gmx.de version: $Revision: 1.1 $ |
Constructor Summary | |
public | XMLHelper() Creates a new XMLHelper object. |
XMLHelper | public XMLHelper()(Code) | | Creates a new XMLHelper object.
|
attributeIsFalse | public static boolean attributeIsFalse(XMLElement element, String name)(Code) | | The Opposit of AttributeIsTrue()
Parameters: element - the element to inspect Parameters: name - the attribute to inspect returns true if name attribute of the given element contains "false" |
attributeIsTrue | public static boolean attributeIsTrue(XMLElement element, String name)(Code) | | Determines if the named attribute in true. True is represented by any of the
following strings and is not case sensitive.
Every other string, including the empty string as well as the non-existence of
the attribute will cuase false to be returned.
Parameters: element - the XMLElement to search for the attribute. Parameters: name - the name of the attribute to test. true if the attribute value equals one of the pre-definedstrings, false otherwise. |
|
|