|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.extensions.config.ConfigSectionImpl
public class ConfigSectionImpl
Default implementation of a config section
Constructor Summary | |
---|---|
ConfigSectionImpl(String evaluator,
String condition,
boolean replace)
|
Method Summary | |
---|---|
void |
addConfigElement(ConfigElement configElement)
Adds a config element to the results for the lookup |
String |
getCondition()
Returns the condition to use to determine whether the config section this object represents is applicable. |
List<ConfigElement> |
getConfigElements()
Returns the config elements that make up this config section |
String |
getEvaluator()
Returns the name of an evaluator to use to determine whether the config section this object represents is applicable to the current lookup operation |
boolean |
isGlobal()
Determines whether this config section is global |
boolean |
isReplace()
Determines whether the config elements found inside this section should replace any previously found config elements with the same name |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ConfigSectionImpl(String evaluator, String condition, boolean replace)
Method Detail |
---|
public String getEvaluator()
ConfigSection
getEvaluator
in interface ConfigSection
ConfigSection.getEvaluator()
public String getCondition()
ConfigSection
getCondition
in interface ConfigSection
ConfigSection.getCondition()
public List<ConfigElement> getConfigElements()
ConfigSection
getConfigElements
in interface ConfigSection
ConfigSection.getConfigElements()
public void addConfigElement(ConfigElement configElement)
configElement
- public boolean isGlobal()
ConfigSection
isGlobal
in interface ConfigSection
ConfigSection.isGlobal()
public boolean isReplace()
ConfigSection
isReplace
in interface ConfigSection
ConfigSection.isReplace()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |