public class DomToObjectConverterUtilities extends Object
| Constructor and Description |
|---|
DomToObjectConverterUtilities() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
getBooleanValue(org.dom4j.Element element,
String attributeName) |
static double |
getDoubleValue(org.dom4j.Element element,
double defaultValue) |
static int |
getIntValue(org.dom4j.Element element,
int defaultValue) |
static int |
getIntValue(org.dom4j.Element element,
String attributeName) |
static long |
getLongValue(org.dom4j.Element element,
String attributeName) |
static double |
getNecessaryDoubleValue(org.dom4j.Element element) |
static org.dom4j.Element |
getNecessaryElement(org.dom4j.Element element,
String tag) |
static int |
getNecessaryIntValue(org.dom4j.Element element) |
static String |
getOptionalText(org.dom4j.Element element,
org.dom4j.QName tagName) |
static String |
getStringValue(org.dom4j.Element element,
String attributeName) |
static String |
getText(org.dom4j.Element element,
org.dom4j.QName tagName) |
static String |
getText(org.dom4j.Element element,
org.dom4j.QName tagName,
String defaultValue) |
public static String getStringValue(org.dom4j.Element element, String attributeName) throws DomConverterException
DomConverterExceptionpublic static int getIntValue(org.dom4j.Element element,
String attributeName)
throws DomConverterException
DomConverterExceptionpublic static long getLongValue(org.dom4j.Element element,
String attributeName)
throws DomConverterException
DomConverterExceptionpublic static boolean getBooleanValue(org.dom4j.Element element,
String attributeName)
throws DomConverterException
DomConverterExceptionpublic static String getText(org.dom4j.Element element, org.dom4j.QName tagName) throws DomConverterException
DomConverterExceptionpublic static String getOptionalText(org.dom4j.Element element, org.dom4j.QName tagName)
public static String getText(org.dom4j.Element element, org.dom4j.QName tagName, String defaultValue)
public static double getNecessaryDoubleValue(org.dom4j.Element element)
throws DomConverterException
DomConverterExceptionpublic static double getDoubleValue(org.dom4j.Element element,
double defaultValue)
throws DomConverterException
DomConverterExceptionpublic static int getNecessaryIntValue(org.dom4j.Element element)
throws DomConverterException
DomConverterExceptionpublic static int getIntValue(org.dom4j.Element element,
int defaultValue)
throws DomConverterException
DomConverterExceptionpublic static org.dom4j.Element getNecessaryElement(org.dom4j.Element element,
String tag)
throws DomConverterException
DomConverterExceptionCopyright © 2007–2019 Andreas W. Bartels. All rights reserved.