public class ConfigurationUtil extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
ConfigurationUtil()
Utility class: Constructor prevents instantiating when subclassed.
|
| Modifier and Type | Method and Description |
|---|---|
static org.apache.avalon.framework.configuration.Configuration |
buildConfiguration(Node node)
Builds a Configuration object from a DOM node.
|
static String |
getMessage(org.apache.avalon.framework.configuration.Configuration cfg)
Extracts the message from the barcode XML.
|
protected ConfigurationUtil()
public static org.apache.avalon.framework.configuration.Configuration buildConfiguration(Node node)
node - the DOM nodepublic static String getMessage(org.apache.avalon.framework.configuration.Configuration cfg) throws org.apache.avalon.framework.configuration.ConfigurationException
cfg - the configuration object containing the barcode XMLorg.apache.avalon.framework.configuration.ConfigurationException - if an error occurs retrieving values from the configurationCopyright © 2003–2023. All rights reserved.