Skip to content

fix: add a SerializerFactory function that allows to create serializer without specifying the config (taking the default config) #247

@MaillPierre

Description

@MaillPierre

Adds to the SerializerFactory interface:

    /**
     * Creates a new RDF serializer for the specified format and model.
     *
     * @param format The {@link RDFFormat} to use for serialization.
     * @param model  The {@link Model} to be serialized.
     * @return A new instance of an RDF serializer for the specified format and
     *         model.
     */
    RDFSerializer createSerializer(RDFFormat format, Model model);

adds to the SerializerFactory class a function that will call the constructor of each serializer either through its constructor without config, or if it is not available, by generating a default config.

Metadata

Metadata

Labels

RefactoringIssue created during the 2025 refactoring effort

Type

No fields configured for Task.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions