io.legaldocml.akn.attribute.CoreReqReq Maven / Gradle / Ivy
The newest version!
package io.legaldocml.akn.attribute;
import io.legaldocml.io.XmlWriter;
import java.io.IOException;
import static io.legaldocml.akn.util.XmlWriterHelper.writeAlt;
import static io.legaldocml.akn.util.XmlWriterHelper.writeEnactment;
import static io.legaldocml.akn.util.XmlWriterHelper.writeHTMLattrs;
import static io.legaldocml.akn.util.XmlWriterHelper.writeIdReq;
import static io.legaldocml.akn.util.XmlWriterHelper.writeRefersReq;
/**
* This is the list of the core attributes that all elements in the content part of the document must have. In elements
* using this attribute definition both the refersTo attribute and the eId attribute are required.
*
* ```xml
*
*
*
*
*
*
*
*
*
* ```
*
* @author Jacques Militello
*/
public interface CoreReqReq extends Core, HTMLattrs, Enactment, IdReq, RefersReq, Alt {
/**
* {@inheritDoc}
*/
@Override
default void write(XmlWriter writer) throws IOException {
Core.super.write(writer);
writeIdReq(writer, this);
writeRefersReq(writer, this);
writeEnactment(writer, this);
writeHTMLattrs(writer, this);
writeAlt(writer, this);
}
}