Object GenericDocumentLibrary
-
- All Implemented Interfaces:
public class GenericDocumentLibrary
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 GenericDocumentLibrary
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
-
-
-
-