Package org.opensaml.samlext.saml2mdattr

Examples of org.opensaml.samlext.saml2mdattr.EntityAttributes


/** A thread-safe Unmarshaller for {@link org.opensaml.samlext.saml2mdattr.EntityAttributes}. */
public class EntityAttributesUnmarshaller extends AbstractSAMLObjectUnmarshaller {

    /** {@inheritDoc} */
    protected void processChildElement(XMLObject parentObject, XMLObject childObject) throws UnmarshallingException {
        EntityAttributes entityAttrs = (EntityAttributes) parentObject;

        if (childObject instanceof Attribute) {
            entityAttrs.getAttributes().add((Attribute) childObject);
        } else if (childObject instanceof Assertion) {
            entityAttrs.getAssertions().add((Assertion) childObject);
        } else {
            super.processChildElement(parentObject, childObject);
        }
    }
View Full Code Here

TOP

Related Classes of org.opensaml.samlext.saml2mdattr.EntityAttributes

Copyright © 2018 www.massapicom. 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.