Interface ProcessingControls<T extends ProcessingSettings>
-
- Type Parameters:
T- the type ofSerializableProcessingSettingshandled by this controls instance
- All Known Subinterfaces:
MarshallingControls,ReaderControls,RenderControls,SerializableProcessingControls<T>,WriterControls
- All Known Implementing Classes:
AbstractProcessingControls,ContentsCreatorControls,DefaultMarshallingControls,DefaultReaderControls,DefaultRenderControls,DefaultWriterControls
public interface ProcessingControls<T extends ProcessingSettings>- See Also:
SerializableProcessingControls
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclearSettings(Class<? extends T> c)Clear the settings of the given class.ProcessingControls<T>createSnapshot()Creates a snapshot copy of this instance.<S extends T>
SgetSettings(Class<S> c)Return a particular instance ofSerializableProcessingSettingsselected by its class.
-
-
-
Method Detail
-
clearSettings
void clearSettings(Class<? extends T> c)
Clear the settings of the given class.- Parameters:
c- the class of settings to clear.
-
getSettings
<S extends T> S getSettings(Class<S> c)
Return a particular instance ofSerializableProcessingSettingsselected by its class.- Type Parameters:
S- the specific type ofSerializableProcessingSettingsto retrieve- Parameters:
c- the class of settings to get.- Returns:
- an instance of
SerializableProcessingSettingsof the given class.
-
createSnapshot
ProcessingControls<T> createSnapshot()
Creates a snapshot copy of this instance. The snapshot must constitute a deep copy, so that changes to the copied object don't affect snapshots.- Returns:
- a duplicate of this instance
-
-