com.g2forge.enigma.document.Block Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of en-document Show documentation
Show all versions of en-document Show documentation
Models, parsers and renderers for common documentation formats. This library is helpful for generating documentation and translating formats like MD, wikitext and office documents.
package com.g2forge.enigma.document;
import java.util.List;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.Singular;
@Data
@Builder
@AllArgsConstructor
public class Block implements IBlock {
public enum Type {
Document,
Paragraph,
ListItem;
}
protected final Type type;
@Singular
protected final List contents;
}