io.legaldocml.akn.element.ExtractText Maven / Gradle / Ivy
package io.legaldocml.akn.element;
import io.legaldocml.akn.group.ANinline;
import io.legaldocml.io.XmlWriter;
import io.legaldocml.io.impl.Buffers;
import java.io.IOException;
/**
* The element extractText is an inline element containing a string used as an extract from another document.
*
*
* <xsd:element name="extractText" type="inline"/>
*
*
* @author Jacques Militello
*/
@Deprecated
public final class ExtractText extends InlineType implements ANinline {
/**
* XML tag element name.
*/
public static final String ELEMENT = "extractText";
/**
* Memory address.
*/
private static final long ADDRESS = Buffers.address(ELEMENT);
/**
* {@inheritDoc}
*/
@Override
public void write(XmlWriter writer) throws IOException {
writer.writeStart(ADDRESS, 11);
super.write(writer);
writer.writeEnd(ADDRESS, 11);
}
/**
* {@inheritDoc}
*/
@Override
public String name() {
return ELEMENT;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy