Org.wandora.piccolo.XMLProperties
From WandoraWiki
(Difference between revisions)
(One intermediate revision by one user not shown) | |||
Line 1: | Line 1: | ||
− | A class implementing [[ | + | A class implementing [[org.wandora.utils.XMLParamAware]] that extends ''java.util.Properties''. Initialization will parse a set of properties. Each property is declared with a ''property'' element which must contain a ''key'' and a ''value'' element. The ''key'' and ''value'' are parsed with the xml processor. The default xml processor class mapping maps elements with element name "properties" to this class allowing you to use this class easily. For example: |
<properties> | <properties> |
Latest revision as of 15:51, 5 March 2008
A class implementing org.wandora.utils.XMLParamAware that extends java.util.Properties. Initialization will parse a set of properties. Each property is declared with a property element which must contain a key and a value element. The key and value are parsed with the xml processor. The default xml processor class mapping maps elements with element name "properties" to this class allowing you to use this class easily. For example:
<properties> <property><key>file.resource.loader.path</key><value>C:/wandora/WEB-INF/classes/templates</value></property> <property><key>runtime.log.error.stacktrace</key><value>true</value></property> <property><key>runtime.log.warn.stacktrace</key><value>true</value></property> <property><key>file.resource.loader.cache</key><value>false</value></property> <property><key>velocimacro.permissions.allow.inline.local.scope</key><value>false</value></property> <property><key>velocimacro.permissions.allow.inline.to.replace.global</key><value>true</value></property> <property><key>velocimacro.library.autoreload</key><value>true</value></property> </properties>