All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.documents4j.api.IAggregatingConverter Maven / Gradle / Ivy

There is a newer version: 1.1.12
Show newest version
package com.documents4j.api;

import java.util.Set;

/**
 * A converter that aggregates several converters.
 */
public interface IAggregatingConverter extends IConverter {

    /**
     * Registers an additional converter.
     *
     * @param converter The converter to register.
     * @return {@code true} if the converter was not already registered.
     */
    boolean register(IConverter converter);

    /**
     * Removes a converter.
     *
     * @param converter The converter to remove.
     * @return {@code true} if the converter was previously registered and is now removed.
     */
    boolean remove(IConverter converter);

    /**
     * Returns a set of the converters that are currently registered by this aggregating converter.
     *
     * @return The currently registered converters.
     */
    Set getConverters();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy