Package org.apache.velocity.tools.config
Class CompoundConfiguration<C extends Configuration>
- java.lang.Object
-
- org.apache.velocity.tools.config.Configuration
-
- org.apache.velocity.tools.config.CompoundConfiguration<C>
-
- All Implemented Interfaces:
Comparable<Configuration>
- Direct Known Subclasses:
FactoryConfiguration,ToolboxConfiguration
public class CompoundConfiguration<C extends Configuration> extends Configuration
- Version:
- $Id: Configuration.java 511959 2007-02-26 19:24:39Z nbubna $
- Author:
- Nathan Bubna
-
-
Constructor Summary
Constructors Constructor Description CompoundConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddChild(C newKid)voidaddConfiguration(CompoundConfiguration<C> config)protected voidappendChildren(StringBuilder out, String childrenName, String childDelim)booleanequals(Object obj)protected CgetChild(C kid)protected Collection<C>getChildren()protected booleanhasChildren()inthashCode()protected booleanremoveChild(C config)protected voidsetChildren(Collection<C> kids)voidvalidate()-
Methods inherited from class org.apache.velocity.tools.config.Configuration
addConfiguration, addProperty, appendProperties, compareTo, getProperties, getProperty, getPropertyMap, hasProperties, removeProperty, removeProperty, setProperties, setProperty, setPropertyMap
-
-
-
-
Method Detail
-
addChild
protected void addChild(C newKid)
-
removeChild
protected boolean removeChild(C config)
-
hasChildren
protected boolean hasChildren()
-
getChildren
protected Collection<C> getChildren()
-
setChildren
protected void setChildren(Collection<C> kids)
-
addConfiguration
public void addConfiguration(CompoundConfiguration<C> config)
-
validate
public void validate()
- Overrides:
validatein classConfiguration
-
appendChildren
protected void appendChildren(StringBuilder out, String childrenName, String childDelim)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classConfiguration
-
equals
public boolean equals(Object obj)
- Overrides:
equalsin classConfiguration
-
-