com.alphasystem.docx4j.builder.wml.CTSdtRowBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of open-xml-builder Show documentation
Show all versions of open-xml-builder Show documentation
Alpha system commons library
package com.alphasystem.docx4j.builder.wml;
import com.alphasystem.docx4j.builder.OpenXmlBuilder;
import org.docx4j.wml.CTSdtContentRow;
import org.docx4j.wml.CTSdtEndPr;
import org.docx4j.wml.CTSdtRow;
import org.docx4j.wml.SdtPr;
/**
* Fluent API builder for org.docx4j.wml.CTSdtRow
.
*
*/
public class CTSdtRowBuilder
extends OpenXmlBuilder
{
/**
* Initialize the underlying object.
*
*/
public CTSdtRowBuilder() {
this(null);
}
/**
* Initialize the builder with given object.
*
* @param object
* the given object
*/
public CTSdtRowBuilder(CTSdtRow object) {
super(object);
}
protected CTSdtRow createObject() {
return WmlBuilderFactory.OBJECT_FACTORY.createCTSdtRow();
}
public CTSdtRowBuilder withSdtPr(SdtPr value) {
if (value!= null) {
object.setSdtPr(value);
}
return this;
}
public CTSdtRowBuilder withSdtEndPr(CTSdtEndPr value) {
if (value!= null) {
object.setSdtEndPr(value);
}
return this;
}
public CTSdtRowBuilder withSdtContent(CTSdtContentRow value) {
if (value!= null) {
object.setSdtContent(value);
}
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy