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

io.legaldocml.akn.AknObject Maven / Gradle / Ivy

package io.legaldocml.akn;

import com.google.common.collect.ImmutableMap;
import io.legaldocml.akn.visitor.Visitable;
import io.legaldocml.io.CharArray;
import io.legaldocml.io.Externalizable;

import java.util.function.BiConsumer;

/**
 * @author Jacques Militello
 */
public interface AknObject extends Externalizable, Visitable {

    /**
     * Name of this object (the name of the xml element)
     */
    String name();

    /**
     * To read attributes.
     */
    default ImmutableMap> attributes() {
        throw new UnsupportedOperationException(getClass() + " must implements");
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy