Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.lenya.ac.impl
Class ItemConfiguration  view ItemConfiguration download ItemConfiguration.java

java.lang.Object
  extended byorg.apache.lenya.ac.impl.ItemConfiguration

public class ItemConfiguration
extends java.lang.Object

Use this class to create configurations from AbstractItems or to build AbstractItems from configurations.


Field Summary
static java.lang.String CLASS_ATTRIBUTE
           
static java.lang.String DESCRIPTION
           
static java.lang.String ID_ATTRIBUTE
           
static java.lang.String NAME
           
 
Constructor Summary
ItemConfiguration()
          Ctor.
 
Method Summary
 void configure(AbstractItem manageable, Configuration configuration)
          Configures a Manageable.
 void save(AbstractItem manageable, 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
 

Field Detail

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
Constructor Detail

ItemConfiguration

public ItemConfiguration()
Ctor.

Method Detail

save

public void save(AbstractItem manageable,
                 DefaultConfiguration configuration)
Saves the ID, name and description of the Manageable to the configuration.


configure

public void configure(AbstractItem manageable,
                      Configuration configuration)
               throws ConfigurationException
Configures a Manageable.