io.legaldocml.akn.element.CoreReqReqImpl Maven / Gradle / Ivy
package io.legaldocml.akn.element;
import io.legaldocml.akn.attribute.CoreReqReq;
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 id attribute are required
*
*
*
*
*
*
*
*
*
*
*
*
* @author Jacques Militello
*/
public abstract class CoreReqReqImpl extends AbstractCore implements CoreReqReq {
/**
* {@inheritDoc}
*/
@Override
public void write(XmlWriter writer) throws IOException {
super.write(writer);
writeIdReq(writer, this);
writeRefersReq(writer, this);
writeEnactment(writer, this);
writeHTMLattrs(writer, this);
writeAlt(writer, this);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy