io.legaldocml.akn.element.Summary Maven / Gradle / Ivy
package io.legaldocml.akn.element;
import io.legaldocml.akn.group.ANcontainers;
import io.legaldocml.io.impl.Buffers;
import io.legaldocml.io.XmlWriter;
import java.io.IOException;
/**
* The element summary is a block element in a debate to mark summaries of speeches that are individually not
* interesting (e.g.: "Question put and agreed to").
*
*
* <xsd:element name="summary" type="inline"/>
*
*
* @author Jacques Militello
*/
public final class Summary extends InlineType implements ANcontainers {
/**
* XML tag element name.
*/
public static final String ELEMENT = "summary";
/**
* Memory address.
*/
private static final long ADDRESS = Buffers.address(ELEMENT);
/**
* {@inheritDoc}
*/
@Override
public void write(XmlWriter writer) throws IOException {
writer.writeStart(ADDRESS, 7);
super.write(writer);
writer.writeEnd(ADDRESS, 7);
}
/**
* {@inheritDoc}
*/
@Override
public String name() {
return ELEMENT;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy