io.legaldocml.akn.element.Item Maven / Gradle / Ivy
The newest version!
package io.legaldocml.akn.element;
import io.legaldocml.io.impl.Buffers;
import io.legaldocml.io.XmlWriter;
import java.io.IOException;
import static io.legaldocml.akn.AknElements.ITEM;
/**
* The element item is a container belonging to a blockList.
*
*
*
*
* @author Jacques Militello
*/
public final class Item extends ItemType {
/**
* Memory address.
*/
private static final long ADDRESS_ITEM = Buffers.address(ITEM);
/**
* {@inheritDoc}
*/
@Override
public void write(XmlWriter writer) throws IOException {
writer.writeStart(ADDRESS_ITEM, 4);
super.write(writer);
writer.writeEnd(ADDRESS_ITEM, 4);
}
/**
* {@inheritDoc}
*/
@Override
public String name() {
return ITEM;
}
}