public class XMLConfigurationUtil extends Object
Constructor and Description |
---|
XMLConfigurationUtil() |
Modifier and Type | Method and Description |
---|---|
static String |
getAttributeValue(Node element,
String attribute) |
static Boolean |
getBoolean(Element e,
String name,
Boolean def) |
static Double |
getDouble(Element e,
String name,
double def,
Validators.Validator validator) |
static Integer |
getInteger(Element e,
String name,
int def,
Validators.Validator validator) |
static Long |
getLong(Element e,
String name,
long def,
Validators.Validator validator) |
static String |
getString(Element e,
String name,
String def,
Validators.Validator validator) |
static Integer |
getTextBytesAsIntBytes(Element e,
String name,
int def,
Validators.Validator validator) |
static Long |
getTextBytesAsLongBytes(Element e,
String name,
long def,
Validators.Validator validator) |
static String |
getTrimmedTextContent(Node element) |
static Boolean |
parameterExists(Element e,
String name) |
public static final Double getDouble(Element e, String name, double def, Validators.Validator validator)
public static final String getString(Element e, String name, String def, Validators.Validator validator)
public static final Long getLong(Element e, String name, long def, Validators.Validator validator)
public static final Long getTextBytesAsLongBytes(Element e, String name, long def, Validators.Validator validator)
public static final Integer getInteger(Element e, String name, int def, Validators.Validator validator)
public static final Integer getTextBytesAsIntBytes(Element e, String name, int def, Validators.Validator validator)
Copyright © 2019 JBoss by Red Hat. All rights reserved.