Package org.openxava.util.xmlparse
Class ParserUtil
- java.lang.Object
-
- org.openxava.util.xmlparse.ParserUtil
-
public class ParserUtil extends java.lang.Object
- Author:
- Javier Paniza
-
-
Constructor Summary
Constructors Constructor Description ParserUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
getAttributeBoolean(org.w3c.dom.Element el, java.lang.String label)
static boolean
getAttributeBoolean(org.w3c.dom.Element el, java.lang.String label, boolean defaultValue)
static int
getAttributeInt(org.w3c.dom.Element el, java.lang.String label)
static boolean
getBoolean(org.w3c.dom.Element el, java.lang.String label)
static org.w3c.dom.Element
getElement(org.w3c.dom.Element el, java.lang.String label)
static int
getInt(org.w3c.dom.Element el, java.lang.String label)
static java.lang.String
getString(org.w3c.dom.Element el, java.lang.String label)
-
-
-
Method Detail
-
getElement
public static org.w3c.dom.Element getElement(org.w3c.dom.Element el, java.lang.String label)
-
getAttributeBoolean
public static boolean getAttributeBoolean(org.w3c.dom.Element el, java.lang.String label)
-
getAttributeBoolean
public static boolean getAttributeBoolean(org.w3c.dom.Element el, java.lang.String label, boolean defaultValue)
-
getBoolean
public static boolean getBoolean(org.w3c.dom.Element el, java.lang.String label)
-
getInt
public static int getInt(org.w3c.dom.Element el, java.lang.String label) throws XavaException
- Throws:
XavaException
-
getAttributeInt
public static int getAttributeInt(org.w3c.dom.Element el, java.lang.String label) throws XavaException
- Throws:
XavaException
-
getString
public static java.lang.String getString(org.w3c.dom.Element el, java.lang.String label)
-
-