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

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

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

import io.legaldocml.akn.group.ANsemanticInline;
import io.legaldocml.io.impl.Buffers;
import io.legaldocml.io.XmlWriter;

import java.io.IOException;

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

/**
 * The element object is is an inline element to identify a text fragment introducing or referring to an object in the
 * ontology.
 *
 * 
 *   
 * 
* * @author Jacques Militello */ public final class Object extends InlineReqReqType implements ANsemanticInline { /** * Memory address. */ private static final long ADDRESS_OBJECT = Buffers.address(OBJECT); /** * {@inheritDoc} */ @Override public void write(XmlWriter writer) throws IOException { writer.writeStart(ADDRESS_OBJECT, 6); super.write(writer); writer.writeEnd(ADDRESS_OBJECT, 6); } /** * {@inheritDoc} */ @Override public String name() { return OBJECT; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy