com.levigo.jadice.document.read.fluent
Interface LayerMappingBuilder<T>


public interface LayerMappingBuilder<T>

IMPORTANT: This interface is used as a public part of the fluent read API. It is not designed to be implemented and must not be implemented by clients.


Method Summary
 T to(DocumentLayer to)
          Specifies the target layer to which should be mapped.
 T to(String to)
          Specifying a DocumentLayer as the mapping target.
 T toAnnotationsLayer()
          Specifying DocumentLayer.ANNOTATIONS as the mapping target.
 T toBackgroundLayer()
          Specifying DocumentLayer.BACKGROUND as the mapping target.
 T toDefaultLayer()
          Specifying DocumentLayer.DEFAULT as the mapping target.
 T toFormLayer()
          Specifying DocumentLayer.FORM as the mapping target.
 

Method Detail

to

T to(DocumentLayer to)
Specifies the target layer to which should be mapped.

Parameters:
to -
Returns:
returns an instance of the class initiating the mapping to allow fluent API use. For details please see Read

toDefaultLayer

T toDefaultLayer()
Specifying DocumentLayer.DEFAULT as the mapping target. This method is a simple delegate of the form:

to(DocumentLayer.DEFAULT);

Returns:
returns an instance of the class initiating the mapping to allow fluent API use. For details please see Read

toAnnotationsLayer

T toAnnotationsLayer()
Specifying DocumentLayer.ANNOTATIONS as the mapping target. This method is a simple delegate of the form:

to(DocumentLayer.ANNOTATIONS);

Returns:
returns an instance of the class initiating the mapping to allow fluent API use. For details please see Read

toFormLayer

T toFormLayer()
Specifying DocumentLayer.FORM as the mapping target. This method is a simple delegate of the form:

to(DocumentLayer.FORM);

Returns:
returns an instance of the class initiating the mapping to allow fluent API use. For details please see Read

toBackgroundLayer

T toBackgroundLayer()
Specifying DocumentLayer.BACKGROUND as the mapping target. This method is a simple delegate of the form:

to(DocumentLayer.BACKGROUND);

Returns:
returns an instance of the class initiating the mapping to allow fluent API use. For details please see Read

to

T to(String to)
Specifying a DocumentLayer as the mapping target. This method is a simple delegate of the form:

to(DocumentLayer.get(to));

Returns:
returns an instance of the class initiating the mapping to allow fluent API use. For details please see Read


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