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
- Version:
- $Id: Configuration.java 511959 2007-02-26 19:24:39Z nbubna $
- Author:
- Nathan Bubna
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Cprotected voidaddChildren(Collection<C> kids) voidaddConfiguration(CompoundConfiguration<C> config) protected voidappendChildren(StringBuilder out, String childrenName, String childDelim) booleanprotected Cprotected Collection<C> protected booleaninthashCode()protected booleanremoveChild(C config) protected voidsetChildren(Collection<C> kids) Deprecated.use addChildren(collection)voidvalidate()Methods inherited from class Configuration
addConfiguration, addProperty, appendProperties, compareTo, getProperties, getProperty, getPropertyMap, hasProperties, removeProperty, removeProperty, setProperties, setProperty, setPropertyMap
-
Constructor Details
-
CompoundConfiguration
public CompoundConfiguration()
-
-
Method Details
-
addChild
-
removeChild
-
hasChildren
protected boolean hasChildren() -
getChildren
-
setChildren
Deprecated.use addChildren(collection) -
addChildren
- Since:
- 3.2
-
getChild
-
addConfiguration
-
validate
public void validate()- Overrides:
validatein classConfiguration
-
appendChildren
-
hashCode
public int hashCode()- Overrides:
hashCodein classConfiguration
-
equals
- Overrides:
equalsin classConfiguration
-