| java.lang.Object org.apache.lenya.ac.impl.ItemConfiguration
ItemConfiguration | public class ItemConfiguration (Code) | | Use this class to create configurations from
AbstractItem s or
to build
AbstractItem s from configurations.
|
Method Summary | |
public void | configure(AbstractItem manageable, Configuration configuration) Configures a Manageable. | public static String | getItemClass(Configuration config) Returns the class name of an item.
Parameters: config - The item configuration. | public void | save(AbstractItem manageable, DefaultConfiguration configuration) Saves the ID, name and description of the Manageable to the configuration. |
ATTRIBUTE_CLASS | final protected static String ATTRIBUTE_CLASS(Code) | | |
ATTRIBUTE_ID | final protected static String ATTRIBUTE_ID(Code) | | |
ELEMENT_DESCRIPTION | final protected static String ELEMENT_DESCRIPTION(Code) | | |
ELEMENT_NAME | final protected static String ELEMENT_NAME(Code) | | |
ItemConfiguration | public ItemConfiguration()(Code) | | Ctor.
|
configure | public void configure(AbstractItem manageable, Configuration configuration) throws ConfigurationException(Code) | | Configures a Manageable.
Parameters: manageable - The manageable. Parameters: configuration - The configuration. throws: ConfigurationException - when something went wrong. |
save | public void save(AbstractItem manageable, DefaultConfiguration configuration)(Code) | | Saves the ID, name and description of the Manageable to the configuration.
Parameters: manageable - A manageable. Parameters: configuration - A configuration. |
|
|