Sets a secondary namespace where a setting is searched from if it isn't found from the primary namespace. Secondary namespace can be used e.g. as a "default" space where the settings are looked from if no specific setting is set. This change can be reverted using #restoreSecondaryNamespace()
(String namespace)
| 208 | * namespace is not used (default behavior) |
| 209 | */ |
| 210 | public void setSecondaryNamespace(String namespace) { |
| 211 | this.secondaryNamespaces.push(this.secondaryNamespace); |
| 212 | this.secondaryNamespace = namespace; |
| 213 | } |
| 214 | |
| 215 | /** |
| 216 | * Restores the namespace that was in use before a call to setNameSpace |
no outgoing calls