Package org.openjump.core.feature
Class AttributeOperationFactory
- java.lang.Object
-
- org.openjump.core.feature.AttributeOperationFactory
-
- Direct Known Subclasses:
BeanshellAttributeOperationFactory
public abstract class AttributeOperationFactory extends Object
An AttributeOperationFactory can create an Operation returning values of a certain AttributeType.- Version:
- 0.1 (2012-11-17)
- Author:
- Michaël Michaud
-
-
Field Summary
Fields Modifier and Type Field Description PlugInContext
context
-
Constructor Summary
Constructors Constructor Description AttributeOperationFactory(PlugInContext context)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract Operation
createOperation(AttributeType type, String expression)
static AttributeOperationFactory
getFactory(String operationClass)
Get an OperationFactory from the Registryabstract Class<?>
getOperationClass()
-
-
-
Field Detail
-
context
public PlugInContext context
-
-
Constructor Detail
-
AttributeOperationFactory
public AttributeOperationFactory(PlugInContext context)
-
-
Method Detail
-
getFactory
public static AttributeOperationFactory getFactory(String operationClass)
Get an OperationFactory from the Registry
-
createOperation
public abstract Operation createOperation(AttributeType type, String expression) throws Error
- Throws:
Error
-
getOperationClass
public abstract Class<?> getOperationClass()
-
-