com.levigo.jadice.document
Interface ProcessingControls<T extends ProcessingSettings>

All Known Subinterfaces:
ReaderControls, RenderControls, WriterControls
All Known Implementing Classes:
AbstractProcessingControls, DefaultReaderControls, DefaultRenderControls, DefaultWriterControls

public interface ProcessingControls<T extends ProcessingSettings>

ProcessingControls bundle a set of ProcessingSettings. While each instance of ProcessingSettings controls an aspect of the processing, ProcessingControls allows several aspects to be controlled using just one object.

ProcessingControls provide access to individual ProcessingSettings based on the class of settings.


Method Summary
 void clearSettings(Class<? extends T> c)
          Clear the settings of the given class.
 ProcessingControls<T> createSnapshot()
          Creates a snapshot copy of this render control object.
<S extends T>
S
getSettings(Class<S> c)
          Return a particular instance of ProcessingSettings selected 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 of ProcessingSettings selected by its class.

Parameters:
c - the class of settings to get.
Returns:
an instance of ProcessingSettings of the given class.

createSnapshot

ProcessingControls<T> createSnapshot()
Creates a snapshot copy of this render control object. The snapshot must constitute a deep copy, so that changes to the copied object don't affect snapshots.

Returns:
a snapshot copy of this render control instance


Copyright © 1995-2020 levigo holding gmbh. All Rights Reserved.