All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.legaldocml.akn.attribute.IdOpt Maven / Gradle / Ivy

The newest version!
package io.legaldocml.akn.attribute;

import io.legaldocml.io.XmlWriter;

import java.io.IOException;

import static io.legaldocml.akn.util.XmlWriterHelper.writeIdOpt;

/**
 * These attributes identify the element in an absolute manner. In elements using this attribute definition the eId
 * attribute is optional. The wId is used to mark the identifier that the structure used to have in the original
 * version, and is only needed when a renumbering occurred.
 *
 * ```xml
 * 
 *   
 *   
 *   
 * 
 * ```
 */
public interface IdOpt extends Id {

    @Override
    default void write(XmlWriter writer) throws IOException {
        writeIdOpt(writer, this);
    }
}







© 2015 - 2024 Weber Informatics LLC | Privacy Policy