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

io.legaldocml.akn.element.Interstitial Maven / Gradle / Ivy

The newest version!
package io.legaldocml.akn.element;

import io.legaldocml.akn.CollectionBodyElement;
import io.legaldocml.akn.DocContainerTypeElement;
import io.legaldocml.io.impl.Buffers;
import io.legaldocml.io.XmlWriter;

import java.io.IOException;

import static io.legaldocml.akn.AknElements.INTERSTITIAL;

/**
 * The element interstitial is used as a container of text elements and blocks that are placed for any reason between
 * individual documents in a collection of documents.
 *
 * 
 *   
 * 
* * @author Jacques Militello */ public final class Interstitial extends Blocksreq implements CollectionBodyElement, DocContainerTypeElement { /** * Memory address. */ private static final long ADDRESS_INTERSTITIAL = Buffers.address(INTERSTITIAL); /** * {@inheritDoc} */ @Override public void write(XmlWriter writer) throws IOException { writer.writeStart(ADDRESS_INTERSTITIAL, 12); super.write(writer); writer.writeEnd(ADDRESS_INTERSTITIAL, 12); } /** * {@inheritDoc} */ @Override public String name() { return INTERSTITIAL; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy