com.alphasystem.docx4j.builder.wml.CTTextEffectBuilder 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.CTTextEffect;
import org.docx4j.wml.STTextEffect;
/**
* Fluent API builder for org.docx4j.wml.CTTextEffect
.
*
*/
public class CTTextEffectBuilder
extends OpenXmlBuilder
{
/**
* Initialize the underlying object.
*
*/
public CTTextEffectBuilder() {
this(null);
}
/**
* Initialize the builder with given object.
*
* @param object
* the given object
*/
public CTTextEffectBuilder(CTTextEffect 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 CTTextEffectBuilder(CTTextEffect src, CTTextEffect target) {
this(target);
if (src!= null) {
withVal(src.getVal());
}
}
protected CTTextEffect createObject() {
return WmlBuilderFactory.OBJECT_FACTORY.createCTTextEffect();
}
public CTTextEffectBuilder withVal(STTextEffect value) {
if (value!= null) {
object.setVal(value);
}
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy