|
|||||||||
| 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 java.lang.String |
_0
_0 = "0" |
static java.lang.String |
_1
_1 = "1" |
static java.lang.String |
FALSE
FALSE = "FALSE" |
static java.lang.String |
NO
NO = "NO" |
static java.lang.String |
OFF
OFF = "OFF" |
static java.lang.String |
ON
ON = "ON" |
static java.lang.String |
TRUE
TRUE = "TRUE" |
static java.lang.String |
YES
YES = "YES" |
| Constructor Summary | |
|---|---|
XMLHelper()
Creates a new XMLHelper object. |
|
| Method Summary | |
|---|---|
static boolean |
attributeIsFalse(IXMLElement element,
java.lang.String name)
The Opposit of AttributeIsTrue() |
static boolean |
attributeIsTrue(IXMLElement element,
java.lang.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 java.lang.String YES
public static final java.lang.String NO
public static final java.lang.String TRUE
public static final java.lang.String FALSE
public static final java.lang.String ON
public static final java.lang.String OFF
public static final java.lang.String _1
public static final java.lang.String _0
| Constructor Detail |
|---|
public XMLHelper()
| Method Detail |
|---|
public static boolean attributeIsTrue(IXMLElement element,
java.lang.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,
java.lang.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 | ||||||||