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

io.legaldocml.module.Module Maven / Gradle / Ivy

The newest version!
package io.legaldocml.module;

import io.legaldocml.akn.AknObject;
import io.legaldocml.io.Attribute;
import io.legaldocml.util.CharArray;
import io.legaldocml.io.XmlWriter;

import java.io.IOException;
import java.util.function.Supplier;

/**
 * @author Jacques Militello
 */
public interface Module {

    CharArray namespace();

    void writeNamespace(XmlWriter writer) throws IOException;

    Supplier attributes(String name);

    default  Supplier element(String localName, Class clazz) {
        throw new UnsupportedOperationException();
    }

    Class getAknClass(String localName);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy