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

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

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

import io.legaldocml.io.impl.Buffers;
import io.legaldocml.io.XmlWriter;

import java.io.IOException;

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

/**
 * The element num is a heading element in a hierarchy that contains a number or any other ordered mechanism to identify
 * the structure.
 *
 * 
 *   
 * 
* * @author Jacques Militello */ public final class Num extends InlineType implements PopupStructureElement, SubFlowStructureElement { /** * Memory address. */ private static final long ADDRESS_NUM = Buffers.address(NUM); /** * {@inheritDoc} */ @Override public void write(XmlWriter writer) throws IOException { writer.writeStart(ADDRESS_NUM, 3); super.write(writer); writer.writeEnd(ADDRESS_NUM, 3); } /** * {@inheritDoc} */ @Override public String name() { return NUM; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy