org.apache.velocity.tools.config
Class CompoundConfiguration<C extends Configuration>
java.lang.Object
org.apache.velocity.tools.config.Configuration<C>
org.apache.velocity.tools.config.CompoundConfiguration<C>
- Direct Known Subclasses:
- FactoryConfiguration, ToolboxConfiguration
public class CompoundConfiguration<C extends Configuration>
- extends Configuration<C>
- Version:
- $Id: Configuration.java 511959 2007-02-26 19:24:39Z nbubna $
- Author:
- Nathan Bubna
Field Summary |
private java.util.List<C> |
children
|
Methods inherited from class org.apache.velocity.tools.config.Configuration |
addConfiguration, addProperty, appendProperties, getConvertableProperties, getProperties, getSimpleProperties, hasProperties, removeProperty, removeProperty, setProperty, setProperty |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
children
private java.util.List<C extends Configuration> children
CompoundConfiguration
public CompoundConfiguration()
addChild
protected void addChild(C config)
removeChild
protected boolean removeChild(C config)
hasChildren
protected boolean hasChildren()
getChildren
protected java.util.List<C> getChildren()
findMatchingChild
protected C findMatchingChild(C child)
addConfiguration
public void addConfiguration(CompoundConfiguration<C> config)
validate
public void validate()
- Overrides:
validate
in class Configuration<C extends Configuration>
appendChildren
protected void appendChildren(java.lang.StringBuilder out,
java.lang.String childrenName,
java.lang.String childDelim)
Copyright (c) 2003-2007 Apache Software Foundation