io.legaldocml.akn.element.Preservation Maven / Gradle / Ivy
package io.legaldocml.akn.element;
import io.legaldocml.io.impl.Buffers;
import io.legaldocml.io.XmlWriter;
import java.io.IOException;
/**
* The element preservation is the metadata property containing an arbitrary list of elements detailing the preservation
* actions taken for the document is the respective level of the FRBR hierarchy.
*
*
* <xsd:element name="preservation" type="anyOtherType"/>
*
*
* @author Jacques Militello
*/
public final class Preservation extends AnyOtherType {
/**
* XML tag element name.
*/
public static final String ELEMENT = "preservation";
/**
* Memory address.
*/
private static final long ADDRESS = Buffers.address(ELEMENT);
/**
* {@inheritDoc}
*/
@Override
public void write(XmlWriter writer) throws IOException {
writer.writeStart(ADDRESS, 12);
super.write(writer);
writer.writeEnd(ADDRESS, 12);
}
/**
* {@inheritDoc}
*/
@Override
public String name() {
return ELEMENT;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy