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

xmpp.captcha.CaptchaBuilder Maven / Gradle / Ivy

The newest version!
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.2-146 
// See http://java.sun.com/xml/jaxb 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2010.06.09 at 04:24:25 AM BST 
//


package xmpp.captcha;

import jabber.x.data.XBuilder;
import uk.org.retep.util.builder.BuilderFactory;
import uk.org.retep.util.builder.impl.AbstractLastBuilder;

public class CaptchaBuilder
    extends AbstractLastBuilder
{

    private XBuilder x;

    public CaptchaBuilder() {
    }

    CaptchaBuilder(final Captcha o) {
        if (o.getX()!= null) {
            x = o.getX().cloneBuilder();
        }
    }

    @Override
    public Captcha build() {
        resetLastBuild();
        final Captcha o = new Captcha();
        o.setX(BuilderFactory.buildIfNeeded(x));
        return setLastBuild(o);
    }

    public final CaptchaBuilder setX(final XBuilder x) {
        resetLastBuild();
        this.x = x;
        return this;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy