| org.archive.crawler.settings.DataContainer
DataContainer | public class DataContainer extends HashMap (Code) | | This class holds the data for a ComplexType for a settings object.
author: John Erik Halse |
DataContainer | public DataContainer(CrawlerSettings settings, ComplexType module)(Code) | | Create a data container for a module.
Parameters: settings - Settings to use. Parameters: module - the module to create the data container for. |
getComplexType | protected ComplexType getComplexType()(Code) | | Get the ComplexType for which this DataContainer keeps data.
the ComplexType for which this DataContainer keeps data. |
getSettings | protected CrawlerSettings getSettings()(Code) | | Get the settings object for which this DataContainers data are valid.
the settings object for which this DataContainers data are valid. |
hasAttributes | protected boolean hasAttributes()(Code) | | |
moveElementDown | protected boolean moveElementDown(String key) throws AttributeNotFoundException(Code) | | Move an attribute down one place in the list.
Parameters: key - name of attribute to move. true if attribute was moved, false if attribute was alreadyat bottom. throws: AttributeNotFoundException - is thrown if there is no attributewith the submitted key. |
moveElementUp | protected boolean moveElementUp(String key) throws AttributeNotFoundException(Code) | | Move an attribute up one place in the list.
Parameters: key - name of attribute to move. true if attribute was moved, false if attribute was alreadyat the top. throws: AttributeNotFoundException - is thrown if there is no attributewith the submitted key. |
|
|