com.alphasystem.docx4j.builder.wml.BooleanDefaultTrueBuilder Maven / Gradle / Ivy
package com.alphasystem.docx4j.builder.wml;
import com.alphasystem.docx4j.builder.OpenXmlBuilder;
import org.docx4j.wml.BooleanDefaultTrue;
/**
* Fluent API builder for org.docx4j.wml.BooleanDefaultTrue
.
*
*/
public class BooleanDefaultTrueBuilder
extends OpenXmlBuilder
{
/**
* Initialize the underlying object.
*
*/
public BooleanDefaultTrueBuilder() {
this(null);
}
/**
* Initialize the builder with given object.
*
* @param object
* the given object
*/
public BooleanDefaultTrueBuilder(BooleanDefaultTrue object) {
super(object);
}
/**
* Copies values fom src
into target
. Values of target
will be overridden by the values from src
.
*
* @param src
* source object
* @param target
* target object
*/
public BooleanDefaultTrueBuilder(BooleanDefaultTrue src, BooleanDefaultTrue target) {
this(target);
if (src!= null) {
withVal(WmlBuilderFactory.cloneBoolean(src, "val"));
}
}
protected BooleanDefaultTrue createObject() {
return WmlBuilderFactory.OBJECT_FACTORY.createBooleanDefaultTrue();
}
public BooleanDefaultTrueBuilder withVal(Boolean value) {
if (value!= null) {
object.setVal(value);
}
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy