Main Page | Class Hierarchy | Class List | Class Members

kddml.Operators.OperatorFactory Class Reference

List of all members.

Static Public Member Functions

static boolean isSupported (String name)
static OperatorResolver newResolverInstance (String name)
static OperatorSettings newSettingsInstance (String name)

Detailed Description

A factory class that creates KDDML operators. This class allows to test if a XML tag operator is supported. Checking is by name, comparing the XML tag related to the operator with the class name implementing it. More precisely, a KDDML operator is supported if there are two classes in the packages list. The first one, named "operator name"_SETTINGS (e.g. RDA_MINER_SETTINGS), contains the attributes specification about the operator; this class must extend the abstract class OperatorSettings. The second one, name "operator name"_RESOLVER (e.g. RDA_MINER_RESOLVER), contains the physical implementation of the operator; this class must extend the abstract class OperatorResolver.

Title: KDDML

Description: Knowledge Discovery in Database Environment

Copyright: Copyright (c) 2003-2005

Company: Universita' di Pisa - Dipartimento di Informatica

Author:
Andrea Romei (romei@di.unipi.it)
Version:
2.0.16


Member Function Documentation

static boolean kddml.Operators.OperatorFactory.isSupported String  name  )  [static]
 

Tests if the operator is supported. A KDDML operator is supported if there are two classes in the packages list. The first one, named operator name_SETTINGS, contains the attributes specification about the operator; this class must extend the abstract class OperatorSettings. The second one, name operator name_RESOLVER, contains the concrete implementation of the operator; this class must extend the abstract class OperatorResolver.

Parameters:
name String the XML tag related to the operator.
Returns:
boolean true if both settings and resolver classes exist.

static OperatorResolver kddml.Operators.OperatorFactory.newResolverInstance String  name  )  [static]
 

Creates a resolver instance of the operator. Returns null if the operator is not supported, i.e., the method isSupported(name) returns false.

Parameters:
name String the XML tag related to the operator.
Returns:
OperatorResolver the resolver instance of the operator. Can be null.

static OperatorSettings kddml.Operators.OperatorFactory.newSettingsInstance String  name  )  [static]
 

Creates a settings instance of the operator. Returns null if the operator is not supported, i.e., the method isSupported(name) returns false.

Parameters:
name String the XML tag related to the operator.
Returns:
OperatorSettings the settings instance of the operator. Can be null.


Generated on Thu Feb 23 13:04:47 2006 for kddml by  doxygen 1.4.3