io.legaldocml.akn.element.DocTitle Maven / Gradle / Ivy
package io.legaldocml.akn.element;
import io.legaldocml.akn.group.ANtitleInline;
import io.legaldocml.io.impl.Buffers;
import io.legaldocml.io.XmlWriter;
import java.io.IOException;
/**
* the element docTitle is an inline element within preface to identify the string used by the document for its own
* title.
*
*
* <xsd:element name="docTitle" type="inline"/>
*
*
* @author Jacques Militello
*/
public final class DocTitle extends InlineType implements ANtitleInline {
/**
* XML Tag element name.
*/
public static final String ELEMENT = "docTitle";
/**
* 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