io.legaldocml.akn.element.AmendmentHeading Maven / Gradle / Ivy
The newest version!
package io.legaldocml.akn.element;
import io.legaldocml.akn.AknElements;
import io.legaldocml.akn.group.AmendmentBlock;
import io.legaldocml.io.XmlWriter;
import io.legaldocml.io.impl.Buffers;
import java.io.IOException;
/**
* This element is a structural container for the section of an amendment containing the heading.
*
*
*
*
*
* @author Jacques Militello
*/
public final class AmendmentHeading extends Blocksopt implements AmendmentBlock {
/**
* Memory address.
*/
private static final long ADDRESS = Buffers.address(AknElements.AMENDMENT_HEADING);
/**
* {@inheritDoc}
*/
@Override
public void write(XmlWriter writer) throws IOException {
writer.writeStart(ADDRESS, 16);
super.write(writer);
writer.writeEnd(ADDRESS, 16);
}
/**
* {@inheritDoc}
*/
@Override
public String name() {
return AknElements.AMENDMENT_HEADING;
}
}