当前页面:
在线文档首页 >
JBOSS Portal 2.6 API 英文版文档
PropertyHelper - JBOSS Portal 2.6 API 英文版文档
org.jboss.portal.core.metadata
Class PropertyHelper
java.lang.Object
org.jboss.portal.core.metadata.PropertyHelper
- public class PropertyHelper
- extends java.lang.Object
Helper class to handle properties / maps of properties.
- Version:
- $Revision: 5448 $
- Author:
- Martin Holzner
Field Summary |
private static org.apache.log4j.Logger |
log
|
Method Summary |
static java.util.Map |
buildPropertiesMap(org.w3c.dom.Element propertiesElt)
Convert the "property" child nodes of the provided node into a java.util.Map of property name and
value. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
private static org.apache.log4j.Logger log
PropertyHelper
public PropertyHelper()
buildPropertiesMap
public static java.util.Map buildPropertiesMap(org.w3c.dom.Element propertiesElt)
- Convert the "property" child nodes of the provided node into a
java.util.Map
of property name and
value.
- Parameters:
propertiesElt
- the paret element in the Dom tree that will be inspected for 'property' child nodes
- Returns:
- a Map of all the found properties, keyed by property name