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
ConstructorDescriptionAbstractFactory
(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 TypeMethodDescriptionint
Gets 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, wait
Methods 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:Factory
Gets the description for this Factory- Specified by:
getDescription
in interfaceFactory
- Returns:
- returns the description for this Factory
-
getDisplayName
Description copied from interface:Factory
Gets the display name for this Factory- Specified by:
getDisplayName
in interfaceFactory
- Returns:
- returns the display name for this Factory
-
getIdentifier
Description copied from interface:Factory
Gets the identifier for this Factory- Specified by:
getIdentifier
in interfaceFactory
- Returns:
- returns the identifier for this Factory
-
compareTo
- Specified by:
compareTo
in interfaceComparable<Factory>
-
toString
-