Package org.daisy.dotify.api.factory
Interface Factory
-
- All Superinterfaces:
FactoryProperties
- All Known Subinterfaces:
Embosser,FileFormat,Table
- All Known Implementing Classes:
AbstractBraillo200Embosser,AbstractBraillo440Embosser,AbstractEmbosser,AbstractFactory,AbstractTable,BlueBarEmbosser,BrailleEditorsFileFormat,Braillo200Embosser,Braillo200x270x400v12x16Embosser,Braillo200x270x400v1x11Embosser,Braillo300Embosser,Braillo400SEmbosser,Braillo400SREmbosser,Braillo440SFEmbosser,Braillo440SWEmbosser,Braillo600Embosser,Braillo600SREmbosser,Braillo650SFEmbosser,Braillo650SWEmbosser,BrailloEmbosser,CidatEmbosser,EmbosserTable,EnablingTechnologiesDoubleSidedEmbosser,EnablingTechnologiesEmbosser,EnablingTechnologiesSingleSidedEmbosser,GenericEmbosser,ImpactoEmbosser,IndexEmbosser,IndexV2Embosser,IndexV3Embosser,IndexV4Embosser,Interpoint55Embosser,MountbattenEmbosser,PortathielBlueEmbosser,TigerEmbosser
public interface Factory extends FactoryProperties
Provides an interface for common properties of a Factory.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.daisy.dotify.api.factory.FactoryProperties
FactoryProperties.ComparatorBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ObjectgetFeature(String key)Gets the value of a feature used by this Factory.ObjectgetProperty(String key)Gets the value of a read-only property that applies to all objects returned by this Factory.voidsetFeature(String key, Object value)Sets a feature for new Objects returned by this Factory.-
Methods inherited from interface org.daisy.dotify.api.factory.FactoryProperties
getDescription, getDisplayName, getIdentifier
-
-
-
-
Method Detail
-
getProperty
Object getProperty(String key)
Gets the value of a read-only property that applies to all objects returned by this Factory.- Parameters:
key- the name of the property to get- Returns:
- returns the value associated with this property or null if none is found
-
getFeature
Object getFeature(String key)
Gets the value of a feature used by this Factory.- Parameters:
key- the key for the feature- Returns:
- returns the current value of the feature
- Throws:
IllegalArgumentException- if the underlying implementation does not recognize the feature
-
setFeature
void setFeature(String key, Object value)
Sets a feature for new Objects returned by this Factory.- Parameters:
key- the key for the featurevalue- the value of the feature- Throws:
IllegalArgumentException- if the underlying implementation does not recognize the feature
-
-