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
- Version:
- $Id: Configuration.java 511959 2007-02-26 19:24:39Z nbubna $
- Author:
- Nathan Bubna
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
void
addConfiguration
(CompoundConfiguration<C> config) protected void
appendChildren
(StringBuilder out, String childrenName, String childDelim) boolean
protected C
protected Collection<C>
protected boolean
int
hashCode()
protected boolean
removeChild
(C config) protected void
setChildren
(Collection<C> kids) void
validate()
Methods inherited from class org.apache.velocity.tools.config.Configuration
addConfiguration, addProperty, appendProperties, compareTo, getProperties, getProperty, getPropertyMap, hasProperties, removeProperty, removeProperty, setProperties, setProperty, setPropertyMap
-
Field Details
-
children
-
-
Constructor Details
-
CompoundConfiguration
public CompoundConfiguration()
-
-
Method Details
-
addChild
-
removeChild
-
hasChildren
protected boolean hasChildren() -
getChildren
-
setChildren
-
getChild
-
addConfiguration
-
validate
public void validate()- Overrides:
validate
in classConfiguration
-
appendChildren
-
hashCode
public int hashCode()- Overrides:
hashCode
in classConfiguration
-
equals
- Overrides:
equals
in classConfiguration
-