Package org.daisy.factory
Class AbstractFactory
java.lang.Object
org.daisy.factory.AbstractFactory
- All Implemented Interfaces:
Serializable,Comparable<Factory>,Factory
- Direct Known Subclasses:
AbstractEmbosser,AbstractPaper,AbstractTable,PEFValidator
Provides an abstract class for Factories.
- Author:
- Joel HÃ¥kansson
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractFactory(String name, String desc, Enum<? extends Enum<?>> identifier) Creates a new AbstractFactory with the supplied valuesAbstractFactory(String name, String desc, String identifier) Creates a new AbstractFactory with the supplied values -
Method Summary
Modifier and TypeMethodDescriptionintGets the description for this FactoryGets the display name for this FactoryGets the identifier for this FactorytoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.daisy.factory.Factory
getFeature, getProperty, setFeature
-
Constructor Details
-
AbstractFactory
Creates a new AbstractFactory with the supplied values- Parameters:
name- the factory namedesc- the factory descriptionidentifier- the factory identifier
-
AbstractFactory
Creates a new AbstractFactory with the supplied values- Parameters:
name- the factory namedesc- the factory descriptionidentifier- the factory identifier
-
-
Method Details
-
getDescription
Description copied from interface:FactoryGets the description for this Factory- Specified by:
getDescriptionin interfaceFactory- Returns:
- returns the description for this Factory
-
getDisplayName
Description copied from interface:FactoryGets the display name for this Factory- Specified by:
getDisplayNamein interfaceFactory- Returns:
- returns the display name for this Factory
-
getIdentifier
Description copied from interface:FactoryGets the identifier for this Factory- Specified by:
getIdentifierin interfaceFactory- Returns:
- returns the identifier for this Factory
-
compareTo
- Specified by:
compareToin interfaceComparable<Factory>
-
toString
-