org.alfresco.web.config
Class WCMConfigElement

java.lang.Object
  extended by org.springframework.extensions.config.element.ConfigElementAdapter
      extended by org.springframework.extensions.config.element.GenericConfigElement
          extended by org.alfresco.web.config.WCMConfigElement
All Implemented Interfaces:
java.io.Serializable, org.springframework.extensions.config.ConfigElement

public class WCMConfigElement
extends org.springframework.extensions.config.element.GenericConfigElement

Custom config element that represents the config data for WCM

See Also:
Serialized Form

Field Summary
protected  java.util.Map childrenMap
           
static java.lang.String CONFIG_ELEMENT_ID
           
 
Fields inherited from class org.springframework.extensions.config.element.ConfigElementAdapter
attributes, children, name, value
 
Constructor Summary
WCMConfigElement()
          Default constructor
WCMConfigElement(java.lang.String name)
          Constructor
 
Method Summary
 void addChild(org.springframework.extensions.config.ConfigElement configElement)
           
 org.springframework.extensions.config.ConfigElement combine(org.springframework.extensions.config.ConfigElement configElement)
           
 java.util.Map getChildrenAsMap()
          Returns the children in a Map
 
Methods inherited from class org.springframework.extensions.config.element.GenericConfigElement
addAttribute
 
Methods inherited from class org.springframework.extensions.config.element.ConfigElementAdapter
getAttribute, getAttributeCount, getAttributes, getChild, getChildCount, getChildren, getChildren, getChildrenMap, getChildValue, getName, getValue, hasAttribute, hasChildren, setValue, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

childrenMap

protected java.util.Map childrenMap

CONFIG_ELEMENT_ID

public static final java.lang.String CONFIG_ELEMENT_ID
See Also:
Constant Field Values
Constructor Detail

WCMConfigElement

public WCMConfigElement()
Default constructor


WCMConfigElement

public WCMConfigElement(java.lang.String name)
Constructor

Parameters:
name - Name of the element this config element represents
Method Detail

combine

public org.springframework.extensions.config.ConfigElement combine(org.springframework.extensions.config.ConfigElement configElement)
Specified by:
combine in interface org.springframework.extensions.config.ConfigElement
Overrides:
combine in class org.springframework.extensions.config.element.GenericConfigElement

addChild

public void addChild(org.springframework.extensions.config.ConfigElement configElement)
Overrides:
addChild in class org.springframework.extensions.config.element.GenericConfigElement

getChildrenAsMap

public java.util.Map getChildrenAsMap()
Returns the children in a Map

Returns:
Child elements as a Map


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.