Examples of XmlObject


Examples of org.pac4j.oauth.profile.XmlObject

   
    public XmlObject convert(final Object attribute) {
        if (attribute != null && attribute instanceof String) {
            try {
                final Constructor<? extends XmlObject> constructor = this.clazz.getDeclaredConstructor();
                final XmlObject xmlObject = constructor.newInstance();
                xmlObject.buildFrom((String) attribute);
                return xmlObject;
            } catch (final Exception e) {
                logger.error("Cannot build XmlObject : {}", e, this.clazz);
            }
        }
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.