Package org.daisy.dotify.api.factory
Class AbstractFactory
- java.lang.Object
-
- org.daisy.dotify.api.factory.AbstractFactory
-
- All Implemented Interfaces:
Serializable,Factory,FactoryProperties
public abstract class AbstractFactory extends Object implements Factory, Serializable
Provides an abstract class for Factories.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.daisy.dotify.api.factory.FactoryProperties
FactoryProperties.ComparatorBuilder
-
-
Constructor Summary
Constructors Constructor Description AbstractFactory(String name, String desc, String identifier)Creates a new AbstractFactory with the supplied values.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()Gets the description for this FactoryStringgetDisplayName()Gets the display name for this FactoryStringgetIdentifier()Gets the identifier for this FactoryStringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.daisy.dotify.api.factory.Factory
getFeature, getProperty, setFeature
-
-
-
-
Constructor Detail
-
AbstractFactory
public AbstractFactory(String name, String desc, String identifier)
Creates a new AbstractFactory with the supplied values. It is currently possible to supply a null identifier, however this will throw a null pointer exception in future versions.- Parameters:
name- the factory namedesc- the factory descriptionidentifier- the factory identifier
-
-
Method Detail
-
getDescription
public String getDescription()
Description copied from interface:FactoryPropertiesGets the description for this Factory- Specified by:
getDescriptionin interfaceFactoryProperties- Returns:
- returns the description for this Factory
-
getDisplayName
public String getDisplayName()
Description copied from interface:FactoryPropertiesGets the display name for this Factory- Specified by:
getDisplayNamein interfaceFactoryProperties- Returns:
- returns the display name for this Factory
-
getIdentifier
public String getIdentifier()
Description copied from interface:FactoryPropertiesGets the identifier for this Factory- Specified by:
getIdentifierin interfaceFactoryProperties- Returns:
- returns the identifier for this Factory
-
-