org.apache.velocity.tools.config
Class ToolboxConfiguration

java.lang.Object
  extended by org.apache.velocity.tools.config.Configuration<C>
      extended by org.apache.velocity.tools.config.CompoundConfiguration<ToolConfiguration>
          extended by org.apache.velocity.tools.config.ToolboxConfiguration

public class ToolboxConfiguration
extends CompoundConfiguration<ToolConfiguration>

Version:
$Id: ToolboxConfiguration.java 511959 2007-02-26 19:24:39Z nbubna $
Author:
Nathan Bubna

Field Summary
private  java.lang.String scope
           
 
Constructor Summary
ToolboxConfiguration()
           
 
Method Summary
 void addConfiguration(ToolboxConfiguration config)
           
 void addTool(ToolConfiguration tool)
           
protected  ToolConfiguration findMatchingChild(ToolConfiguration newTool)
           
 java.lang.String getScope()
           
 java.util.List<ToolConfiguration> getTools()
           
 void removeTool(ToolConfiguration tool)
           
 void setScope(java.lang.String scope)
           
 java.lang.String toString()
           
 void validate()
           
 
Methods inherited from class org.apache.velocity.tools.config.CompoundConfiguration
addChild, addConfiguration, appendChildren, getChildren, hasChildren, removeChild
 
Methods inherited from class org.apache.velocity.tools.config.Configuration
addConfiguration, addProperty, appendProperties, getConvertableProperties, getProperties, getSimpleProperties, hasProperties, removeProperty, removeProperty, setProperty, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

scope

private java.lang.String scope
Constructor Detail

ToolboxConfiguration

public ToolboxConfiguration()
Method Detail

findMatchingChild

protected ToolConfiguration findMatchingChild(ToolConfiguration newTool)
Overrides:
findMatchingChild in class CompoundConfiguration<ToolConfiguration>

addConfiguration

public void addConfiguration(ToolboxConfiguration config)

setScope

public void setScope(java.lang.String scope)

getScope

public java.lang.String getScope()

addTool

public void addTool(ToolConfiguration tool)

removeTool

public void removeTool(ToolConfiguration tool)

getTools

public java.util.List<ToolConfiguration> getTools()

validate

public void validate()
Overrides:
validate in class CompoundConfiguration<ToolConfiguration>

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright (c) 2003-2007 Apache Software Foundation