|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.izforge.izpack.util.xml.XMLHelper
public class XMLHelper
A Collection of convenient XML-Helper Methods and Constants
| Field Summary | |
|---|---|
static String |
_0
_0 = "0" |
static String |
_1
_1 = "1" |
static String |
FALSE
FALSE = "FALSE" |
static String |
NO
NO = "NO" |
static String |
OFF
OFF = "OFF" |
static String |
ON
ON = "ON" |
static String |
TRUE
TRUE = "TRUE" |
static String |
YES
YES = "YES" |
| Constructor Summary | |
|---|---|
XMLHelper()
Creates a new XMLHelper object. |
|
| Method Summary | |
|---|---|
static boolean |
attributeIsFalse(IXMLElement element,
String name)
The Opposit of AttributeIsTrue() |
static boolean |
attributeIsTrue(IXMLElement element,
String name)
Determines if the named attribute in true. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String YES
public static final String NO
public static final String TRUE
public static final String FALSE
public static final String ON
public static final String OFF
public static final String _1
public static final String _0
| Constructor Detail |
|---|
public XMLHelper()
| Method Detail |
|---|
public static boolean attributeIsTrue(IXMLElement element,
String name)
false to be returned.
element - the IXMLElement to search for the attribute.name - the name of the attribute to test.
true if the attribute value equals one of the pre-defined
strings, false otherwise.
public static boolean attributeIsFalse(IXMLElement element,
String name)
element - the element to inspectname - the attribute to inspect
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||