org.apache.lenya.ac.impl
Class ItemConfiguration
java.lang.Object
org.apache.lenya.ac.impl.ItemConfiguration
public class ItemConfiguration
- extends java.lang.Object
Use this class to create configurations from AbstractItem
s or
to build AbstractItem
s from configurations.
Method Summary |
void |
configure(AbstractItem manageable,
org.apache.avalon.framework.configuration.Configuration configuration)
Configures a Manageable. |
void |
save(AbstractItem manageable,
org.apache.avalon.framework.configuration.DefaultConfiguration configuration)
Saves the ID, name and description of the Manageable to the configuration. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
DESCRIPTION
public static final java.lang.String DESCRIPTION
- See Also:
- Constant Field Values
ID_ATTRIBUTE
public static final java.lang.String ID_ATTRIBUTE
- See Also:
- Constant Field Values
CLASS_ATTRIBUTE
public static final java.lang.String CLASS_ATTRIBUTE
- See Also:
- Constant Field Values
ItemConfiguration
public ItemConfiguration()
- Ctor.
save
public void save(AbstractItem manageable,
org.apache.avalon.framework.configuration.DefaultConfiguration configuration)
- Saves the ID, name and description of the Manageable to the configuration.
- Parameters:
manageable
- A manageable.configuration
- A configuration.
configure
public void configure(AbstractItem manageable,
org.apache.avalon.framework.configuration.Configuration configuration)
throws org.apache.avalon.framework.configuration.ConfigurationException
- Configures a Manageable.
- Parameters:
manageable
- The manageable.configuration
- The configuration.
- Throws:
org.apache.avalon.framework.configuration.ConfigurationException
- when something went wrong.
Copyright © 1999-2005 Apache Software Foundation. All Rights Reserved.