Package org.daisy.braille.table
Class EmbosserTable<T>
java.lang.Object
org.daisy.factory.AbstractFactory
org.daisy.braille.table.AbstractTable
org.daisy.braille.table.EmbosserTable<T>
- Type Parameters:
T
-
- All Implemented Interfaces:
Serializable
,Comparable<Factory>
,Table
,Factory
Provides an embosser table implementation. This implementation
assumes that each character matches a single braille pattern,
and vice versa.
- Author:
- Joel HÃ¥kansson
- See Also:
-
Constructor Summary
ConstructorDescriptionEmbosserTable
(String name, String desc, T type, ConfigurableTableProvider<T> provider) Creates a new EmbosserTable with the supplied settings -
Method Summary
Modifier and TypeMethodDescriptiongetFeature
(String key) Gets the value of a feature used by this FactorygetProperty
(String key) Gets the value of a read-only property that applies to all objects returned by this Factory.Creates a new BrailleConverter based on the current configuration of this Table.void
setFeature
(String key, Object value) Sets a feature for new Objects returned by this FactoryMethods inherited from class org.daisy.factory.AbstractFactory
compareTo, getDescription, getDisplayName, getIdentifier, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface org.daisy.factory.Factory
getDescription, getDisplayName, getIdentifier
-
Constructor Details
-
EmbosserTable
Creates a new EmbosserTable with the supplied settings- Parameters:
name
- the name for the tabledesc
- the description for the tabletype
- the type of tableprovider
- the provider
-
-
Method Details
-
newBrailleConverter
Description copied from interface:Table
Creates a new BrailleConverter based on the current configuration of this Table.- Returns:
- returns a new BrailleConverter instance
-
setFeature
Description copied from interface:Factory
Sets a feature for new Objects returned by this Factory- Parameters:
key
- the key for the featurevalue
- the value of the feature
-
getProperty
Description copied from interface:Factory
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
Description copied from interface:Factory
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
-