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

com.alphasystem.docbook.builder.impl.block.VariableListBuilder Maven / Gradle / Ivy

The newest version!
package com.alphasystem.docbook.builder.impl.block;

import com.alphasystem.docbook.builder.Builder;
import org.docbook.model.VariableList;

import java.util.ArrayList;
import java.util.List;

public class VariableListBuilder extends ListBuilder {

    public VariableListBuilder(VariableList source, Builder parent) {
        super(source, parent);
    }

    @Override
    protected void setListStyleName() {
        listStyleName = "var-list";
    }

    @Override
    protected List getChildContent() {
        return new ArrayList<>(source.getVariableListEntry());
    }
}