Class AbstractAttributeValueSyntaxFactory<T>
- java.lang.Object
-
- pl.edu.icm.unity.engine.api.attributes.AbstractAttributeValueSyntaxFactory<T>
-
- Type Parameters:
T
-
- All Implemented Interfaces:
AttributeValueSyntaxFactory<T>
public abstract class AbstractAttributeValueSyntaxFactory<T> extends Object implements AttributeValueSyntaxFactory<T>
GenericAttributeValueSyntax
factory simplifying its creation.- Author:
- K. Benedyczak
-
-
Constructor Summary
Constructors Constructor Description AbstractAttributeValueSyntaxFactory(String id, Supplier<AttributeValueSyntax<T>> instanceSupplier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttributeValueSyntax<T>
createInstance()
String
getId()
-
-
-
Constructor Detail
-
AbstractAttributeValueSyntaxFactory
public AbstractAttributeValueSyntaxFactory(String id, Supplier<AttributeValueSyntax<T>> instanceSupplier)
-
-
Method Detail
-
getId
public String getId()
- Specified by:
getId
in interfaceAttributeValueSyntaxFactory<T>
-
createInstance
public AttributeValueSyntax<T> createInstance()
- Specified by:
createInstance
in interfaceAttributeValueSyntaxFactory<T>
-
-