Uses of Interface
eu.cloudnetservice.driver.document.DocumentFactory
Packages that use DocumentFactory
Package
Description
-
Uses of DocumentFactory in eu.cloudnetservice.driver.document
Methods in eu.cloudnetservice.driver.document that return DocumentFactoryModifier and TypeMethodDescriptionDocumentFactoryRegistry.documentFactory(@NonNull String formatName) Get the document factory with the given format name.DocumentFactoryRegistry.findDocumentFactory(@NonNull String formatName) Tries to find the document factory with the given format name.static @NonNull DocumentFactoryDocumentFactory.json()Gets the jvm static document factory for json documents.DocumentFactoryRegistry.replaceDocumentFactory(@NonNull DocumentFactory factory) Associates the format name of the given document factory with the given factory.DocumentFactoryRegistry.unregisterDocumentFactory(@NonNull String formatName) Unregisters the document factory that is associated with the given format name, returning the associated factory.Methods in eu.cloudnetservice.driver.document that return types with arguments of type DocumentFactoryModifier and TypeMethodDescriptionDocumentFactoryRegistry.documentFactories()Get an unmodifiable view of all registered document factories.Methods in eu.cloudnetservice.driver.document with parameters of type DocumentFactoryModifier and TypeMethodDescriptionstatic Document.MutableDocument.newDocument(@NonNull DocumentFactory factory) Constructs a new document instance using the given document factory.voidDocumentFactoryRegistry.registerDocumentFactory(@NonNull DocumentFactory factory) Associates the format name of the given document factory if no factory is already associated with the given factory.DocumentFactoryRegistry.replaceDocumentFactory(@NonNull DocumentFactory factory) Associates the format name of the given document factory with the given factory. -
Uses of DocumentFactory in eu.cloudnetservice.driver.document.defaults
Fields in eu.cloudnetservice.driver.document.defaults with type parameters of type DocumentFactoryModifier and TypeFieldDescriptionprivate final Map<String, DocumentFactory> DefaultDocumentFactoryRegistry.registeredFactoriesMethods in eu.cloudnetservice.driver.document.defaults that return DocumentFactoryModifier and TypeMethodDescriptionDefaultDocumentFactoryRegistry.documentFactory(@NonNull String formatName) Get the document factory with the given format name.DefaultDocumentFactoryRegistry.findDocumentFactory(@NonNull String formatName) Tries to find the document factory with the given format name.DefaultDocumentFactoryRegistry.replaceDocumentFactory(@NonNull DocumentFactory factory) Associates the format name of the given document factory with the given factory.DefaultDocumentFactoryRegistry.unregisterDocumentFactory(@NonNull String formatName) Unregisters the document factory that is associated with the given format name, returning the associated factory.Methods in eu.cloudnetservice.driver.document.defaults that return types with arguments of type DocumentFactoryModifier and TypeMethodDescriptionDefaultDocumentFactoryRegistry.documentFactories()Get an unmodifiable view of all registered document factories.Methods in eu.cloudnetservice.driver.document.defaults with parameters of type DocumentFactoryModifier and TypeMethodDescriptionvoidDefaultDocumentFactoryRegistry.registerDocumentFactory(@NonNull DocumentFactory factory) Associates the format name of the given document factory if no factory is already associated with the given factory.DefaultDocumentFactoryRegistry.replaceDocumentFactory(@NonNull DocumentFactory factory) Associates the format name of the given document factory with the given factory. -
Uses of DocumentFactory in eu.cloudnetservice.driver.document.empty
Classes in eu.cloudnetservice.driver.document.empty that implement DocumentFactoryModifier and TypeClassDescriptionfinal classA document factory that only returns the singleton empty document instance.Fields in eu.cloudnetservice.driver.document.empty declared as DocumentFactoryModifier and TypeFieldDescriptionstatic final DocumentFactoryEmptyDocumentFactory.INSTANCEThe singleton document empty document factory instance.Methods in eu.cloudnetservice.driver.document.empty with parameters of type DocumentFactoryModifier and TypeMethodDescriptionEmptyDocumentSend.into(@NonNull DocumentFactory factory) Receives this document into the given document factory. -
Uses of DocumentFactory in eu.cloudnetservice.driver.document.gson
Classes in eu.cloudnetservice.driver.document.gson that implement DocumentFactoryModifier and TypeClassDescriptionfinal classA document factory for json documents based on gson.Fields in eu.cloudnetservice.driver.document.gson declared as DocumentFactoryModifier and TypeFieldDescriptionstatic final DocumentFactoryGsonDocumentFactory.INSTANCEThe singleton instance of this document factory. -
Uses of DocumentFactory in eu.cloudnetservice.driver.document.gson.send
Methods in eu.cloudnetservice.driver.document.gson.send with parameters of type DocumentFactoryModifier and TypeMethodDescriptionGsonDocumentSend.into(@NonNull DocumentFactory factory) Receives this document into the given document factory. -
Uses of DocumentFactory in eu.cloudnetservice.driver.document.send
Methods in eu.cloudnetservice.driver.document.send with parameters of type DocumentFactoryModifier and TypeMethodDescriptionDocumentSend.into(@NonNull DocumentFactory factory) Receives this document into the given document factory. -
Uses of DocumentFactory in eu.cloudnetservice.driver.module.driver
Methods in eu.cloudnetservice.driver.module.driver with parameters of type DocumentFactoryModifier and TypeMethodDescriptionDriverModule.readConfig(@NonNull DocumentFactory factory) Reads the configuration file of this module from the default or overridden configuration path (via module.json) into a json document, throwing an exception when the document is invalid.<T> TDriverModule.readConfig(@NonNull Class<T> configModelType, @NonNull Supplier<T> defaultConfigFactory, @NonNull DocumentFactory documentFactory) Reads the config of this module to the given model type, creating a new configuration if necessary.<C,T> T DriverModule.readConfigAndInstantiate(@NonNull InjectionLayer<?> injectionLayer, @NonNull Class<C> configModelType, @NonNull Supplier<C> defaultConfigFactory, @NonNull Class<T> classToInstantiate, @NonNull DocumentFactory documentFactory) Reads the module configuration file and converts the type of the configuration to the given model type, creating the configuration if necessary.<C,T> T DriverModule.readConfigAndInstantiate(@NonNull InjectionLayer<?> injectionLayer, @NonNull Class<C> configModelType, @NonNull Supplier<C> defaultConfigFactory, @NonNull Class<T> classToInstantiate, @NonNull Consumer<dev.derklaro.aerogel.InjectionContext.Builder> builderDecorator, @NonNull DocumentFactory documentFactory) Reads the module configuration file and converts the type of the configuration to the given model type, creating the configuration if necessary.