|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectconsciouscode.seedling.config.ImplicitBranchConfigResource
public class ImplicitBranchConfigResource
An artificial configuration resource implied by the presence of a directory
in a ConfigLayer. It creates child nodes by asking the parent
branch to create a child via BranchingBranch.provisionChildBranch().
| Constructor Summary | |
|---|---|
ImplicitBranchConfigResource(Resource resource)
|
|
ImplicitBranchConfigResource(String identifier)
|
|
| Method Summary | |
|---|---|
ConfigEvaluator |
getEvaluator(NodeReference locationIgnored)
Returns the evaluator being used by this resource. |
String |
getIdentifier()
Returns a string identifying this resource, for use in messages. |
Resource |
getResource()
Gets the underlying resource from which this configuration is loaded. |
void |
writeConfiguration(Writer out)
Prints the content of this resource to a stream. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ImplicitBranchConfigResource(String identifier)
public ImplicitBranchConfigResource(Resource resource)
| Method Detail |
|---|
public Resource getResource()
ConfigResource
getResource in interface ConfigResourcepublic String getIdentifier()
ConfigResource
getIdentifier in interface ConfigResourcepublic ConfigEvaluator getEvaluator(NodeReference locationIgnored)
ConfigResource
getEvaluator in interface ConfigResourcelocationIgnored - identifies the node being configured.
null.
public void writeConfiguration(Writer out)
throws IOException
ConfigResource
writeConfiguration in interface ConfigResourceout - the stream to get the configuration content.
IOException - if it's thrown by out.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||