public class XMLProperties extends java.util.Properties implements XMLParamAware
XMLParamAware
class extending java.util.Properties
.
With this class you can easily create properties objects in xml configuration
files parsed with XMLParamProcessor
. The xml element defining
XMLProperties
class can have any number of "properties" elements,
each should contain a "key" and a "value" element. The key and the value of
each property are parsed with the XMLParamProcessor
individually.XMLParamProcessor
,
XMLParamAware
,
Serialized FormConstructor and Description |
---|
XMLProperties()
Creates a new instance of XMLProperties
|
XMLProperties(java.util.Properties defaults) |
Modifier and Type | Method and Description |
---|---|
void |
xmlParamInitialize(org.w3c.dom.Element element,
XMLParamProcessor processor) |
getProperty, getProperty, list, list, load, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNames
clear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keys, keySet, merge, put, putAll, putIfAbsent, rehash, remove, remove, replace, replace, replaceAll, size, toString, values
public XMLProperties()
public XMLProperties(java.util.Properties defaults)
public void xmlParamInitialize(org.w3c.dom.Element element, XMLParamProcessor processor)
xmlParamInitialize
in interface XMLParamAware
Copyright 2004-2015 Wandora Team