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 extends AknObject> getAknClass(String localName);
}