站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.4 API 英文版文档

PropertyHelper - JBOSS Portal 2.4 API 英文版文档


org.jboss.portal.core.metadata
Class PropertyHelper

java.lang.Object
  extended byorg.jboss.portal.core.metadata.PropertyHelper

public class PropertyHelper
extends java.lang.Object

Helper class to handle properties / maps of properties.


Constructor Summary
PropertyHelper()
           
 
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
 

Constructor Detail

PropertyHelper

public PropertyHelper()
Method Detail

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