public class CompoundConfiguration<C extends Configuration> extends Configuration
Modifier and Type | Field and Description |
---|---|
private java.util.SortedSet<C> |
children |
Constructor and Description |
---|
CompoundConfiguration() |
Modifier and Type | Method and Description |
---|---|
protected void |
addChild(C newKid) |
void |
addConfiguration(CompoundConfiguration<C> config) |
protected void |
appendChildren(java.lang.StringBuilder out,
java.lang.String childrenName,
java.lang.String childDelim) |
boolean |
equals(java.lang.Object obj) |
protected C |
getChild(C kid) |
protected java.util.Collection<C> |
getChildren() |
protected boolean |
hasChildren() |
int |
hashCode() |
protected boolean |
removeChild(C config) |
protected void |
setChildren(java.util.Collection<C> kids) |
void |
validate() |
addConfiguration, addProperty, appendProperties, compareTo, getProperties, getProperty, getPropertyMap, hasProperties, removeProperty, removeProperty, setProperties, setProperty, setPropertyMap
private final java.util.SortedSet<C extends Configuration> children
protected void addChild(C newKid)
protected boolean removeChild(C config)
protected boolean hasChildren()
protected java.util.Collection<C> getChildren()
protected void setChildren(java.util.Collection<C> kids)
public void addConfiguration(CompoundConfiguration<C> config)
public void validate()
validate
in class Configuration
protected void appendChildren(java.lang.StringBuilder out, java.lang.String childrenName, java.lang.String childDelim)
public int hashCode()
hashCode
in class Configuration
public boolean equals(java.lang.Object obj)
equals
in class Configuration
Copyright (c) 2003-2007 Apache Software Foundation