io.legaldocml.akn.element.Citation Maven / Gradle / Ivy
package io.legaldocml.akn.element;
import io.legaldocml.io.impl.Buffers;
import io.legaldocml.io.XmlWriter;
import java.io.IOException;
/**
* The element citation is the individual element of the preface that is called citation.
*
*
* <xsd:element name="citation" type="itemType"/>
*
*
* @author Jacques Militello
*/
public final class Citation extends ItemType implements PopupStructureElement, SubFlowStructureElement, PortionBodyTypeElement, CitationHierarchyElement {
/**
* XML tag element name.
*/
public static final String ELEMENT = "citation";
/**
* Memory address.
*/
private static final long ADDRESS = Buffers.address(ELEMENT);
/**
* {@inheritDoc}
*/
@Override
public void write(XmlWriter writer) throws IOException {
writer.writeStart(ADDRESS, 8);
super.write(writer);
writer.writeEnd(ADDRESS, 8);
}
/**
* {@inheritDoc}
*/
@Override
public String name() {
return ELEMENT;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy