Package com.jamesmurty.utils

Examples of com.jamesmurty.utils.XMLBuilder.element()


        XMLBuilder builder =
            XMLBuilder.create("Scope")
                .attr("type", "UserByEmail")
                .element("EmailAddress").text(getIdentifier()).up();
        if (getName() != null) {
            builder.element("Name").text(getName());
        }
        return builder;
    }

    @Override
View Full Code Here


        XMLBuilder builder =
            XMLBuilder.create("Scope")
                .attr("type", "GroupById")
                .element("ID").text(getIdentifier()).up();
        if (getName() != null) {
            builder.element("Name").text(getName());
        }
        return builder;
    }

    @Override
View Full Code Here

        XMLBuilder builder =
            XMLBuilder.create("Scope")
                .attr("type", "GroupByEmail")
                .element("EmailAddress").text(getIdentifier()).up();
        if (getName() != null) {
            builder.element("Name").text(getName());
        }
        return builder;
    }

    @Override
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.