com.alphasystem.docbook.builder.impl.block.ListItemBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of docbook-2-docx Show documentation
Show all versions of docbook-2-docx Show documentation
Alpha system commons library
The newest version!
package com.alphasystem.docbook.builder.impl.block;
import com.alphasystem.docbook.builder.Builder;
import com.alphasystem.docbook.builder.impl.AbstractBuilder;
import com.alphasystem.docbook.util.Utils;
import com.alphasystem.xml.UnmarshallerConstants;
import org.docbook.model.ListItem;
import java.util.List;
public class ListItemBuilder extends AbstractBuilder {
/*
* In a list if there are multiple paragraphs, then we only need to set "NumPr" on the first para.
* The id is the id of first such para.
*/
protected String firstParaId = null;
public ListItemBuilder(ListItem source, Builder> parent) {
super(source, parent);
}
public String getFirstParaId() {
return firstParaId;
}
private void setFirstParaId(Object o) {
this.firstParaId = Utils.getId(o);
}
@Override
protected List