Package io.scanbot.barcodescanner.entity
Object BarcodeDocumentLibrary
-
- All Implemented Interfaces:
public class BarcodeDocumentLibrary
Provides an ability to convert the GenericDocument object to a strongly typed successor of the GenericDocumentWrapper class.
-
-
Field Summary
Fields Modifier and Type Field Description public final static BarcodeDocumentLibrary
INSTANCE
-
Method Summary
Modifier and Type Method Description final GenericDocumentWrapper
wrap(GenericDocument $self)
An extension function for GenericDocument class final GenericDocumentWrapper
wrapperFromGenericDocument(GenericDocument genericDocument)
Converts the given generic document to a strongly typed wrapper -
-
Method Detail
-
wrap
final GenericDocumentWrapper wrap(GenericDocument $self)
An extension function for GenericDocument class
-
wrapperFromGenericDocument
final GenericDocumentWrapper wrapperFromGenericDocument(GenericDocument genericDocument)
Converts the given generic document to a strongly typed wrapper
- Parameters:
genericDocument
- document to convert
-
-
-
-