Class FontFactoryReaderSettings
- java.lang.Object
-
- com.levigo.jadice.document.font.factory.FontFactoryProcessingSettings
-
- com.levigo.jadice.document.font.factory.FontFactoryReaderSettings
-
- All Implemented Interfaces:
ProcessingSettings,SerializableProcessingSettings,ReaderSettings,Serializable
public class FontFactoryReaderSettings extends FontFactoryProcessingSettings implements ReaderSettings
Specialization ofFontFactoryProcessingSettingswhich defines the kind of processing to be reading document data.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FontFactoryReaderSettings()Create a new instance which will use default settings.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SerializableProcessingSettingscreateSnapshot()Create a snapshot copy of this instance.FontFactorygetFontFactory()Retrieve theFontFactoryinstance to be used for reading documents.voidsetFontFactory(FontFactory fontFactory)Define the instance ofFontFactorythat shall be used for reading document content where this instance ofFontFactoryReaderSettingsis applicable.-
Methods inherited from class com.levigo.jadice.document.font.factory.FontFactoryProcessingSettings
equals, hashCode
-
-
-
-
Method Detail
-
createSnapshot
public SerializableProcessingSettings createSnapshot()
Description copied from interface:ProcessingSettingsCreate a snapshot copy of this instance. The snapshot must constitute a deep copy, so that changes to the copied object don't affect snapshots.- Specified by:
createSnapshotin interfaceProcessingSettings- Specified by:
createSnapshotin interfaceSerializableProcessingSettings- Returns:
- a snapshot copy.
-
getFontFactory
public FontFactory getFontFactory()
Retrieve theFontFactoryinstance to be used for reading documents. Note that the instance set here must always return a validFontfor every request!- Overrides:
getFontFactoryin classFontFactoryProcessingSettings- Returns:
- the
FontFactoryto be used for reading documents where this instance ofFontFactoryReaderSettingsis applicable.
-
setFontFactory
public void setFontFactory(FontFactory fontFactory)
Define the instance ofFontFactorythat shall be used for reading document content where this instance ofFontFactoryReaderSettingsis applicable.- Overrides:
setFontFactoryin classFontFactoryProcessingSettings- Parameters:
fontFactory- the instance to be set, must not benull. Note that theFontFactoryused here must always return a validFontfor every request!
-
-