io.legaldocml.akn.element.Eop Maven / Gradle / Ivy
package io.legaldocml.akn.element;
import io.legaldocml.akn.group.ANmarker;
import io.legaldocml.io.impl.Buffers;
import io.legaldocml.io.XmlWriter;
import java.io.IOException;
/**
* The element eop (end of page) is a marker for where in the original text the page breaks. Do NOT use a eol element,
* too. If the page breaks within a word, place the element BEFORE the word and place the number of characters before
* the break in the attribute breakAt. One can also specify, if relevant, the hyphen or other character used to signal
* the break of a word at the end of the page with the attribute breakWith.
*
*
* <xsd:element name="eop" type="eolType"/>
*
*
* @author Jacques Militello
*/
public final class Eop extends EolType implements ANmarker {
/**
* XML Element Name.
*/
public static final String ELEMENT = "eop";
/**
* Memory address.
*/
private static final long ADDRESS = Buffers.address(ELEMENT);
/**
* {@inheritDoc}
*/
@Override
public void write(XmlWriter writer) throws IOException {
writer.writeStart(ADDRESS, 3);
super.write(writer);
writer.writeEnd(ADDRESS, 3);
}
/**
* {@inheritDoc}
*/
@Override
public String name() {
return ELEMENT;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy