Examples of UIInfo


Examples of org.opensaml.samlext.saml2mdui.UIInfo

public class UIInfoUnmarshaller extends AbstractSAMLObjectUnmarshaller {

    /** {@inheritDoc} */
    protected void processChildElement(XMLObject parentSAMLObject, XMLObject childSAMLObject)
            throws UnmarshallingException {
        UIInfo info = (UIInfo) parentSAMLObject;

        if (childSAMLObject instanceof Description) {
            info.getDescriptions().add((Description) childSAMLObject);
        } else if (childSAMLObject instanceof DisplayName) {
            info.getDisplayNames().add((DisplayName) childSAMLObject);
        } else if (childSAMLObject instanceof Keywords) {
            info.getKeywords().add((Keywords) childSAMLObject);
        } else if (childSAMLObject instanceof InformationURL) {
            info.getInformationURLs().add((InformationURL) childSAMLObject);
        } else if (childSAMLObject instanceof Logo) {
            info.getLogos().add((Logo) childSAMLObject);
        } else if (childSAMLObject instanceof PrivacyStatementURL) {
            info.getPrivacyStatementURLs().add((PrivacyStatementURL) childSAMLObject);
        } else {
            super.processChildElement(parentSAMLObject, childSAMLObject);
        }
    }
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.