public class DOMUtil extends Object
Constructor and Description |
---|
DOMUtil() |
Modifier and Type | Method and Description |
---|---|
static String |
getOptionalAttribute(Node node,
String key) |
static Properties |
getProperties(Element element,
String propElementName) |
static String |
getRequiredAttribute(Node node,
String key) |
static void |
parseOptionalBoolean(Element element,
String name,
Consumer<Boolean> func) |
static void |
parseRequiredBoolean(Element element,
String name,
Consumer<Boolean> func) |
public static void parseRequiredBoolean(Element element, String name, Consumer<Boolean> func)
public static void parseOptionalBoolean(Element element, String name, Consumer<Boolean> func)
public static String getRequiredAttribute(Node node, String key) throws ConfigurationException
ConfigurationException
public static Properties getProperties(Element element, String propElementName)
Copyright © 2005–2018. All rights reserved.