Examples of Advice


Examples of org.opensaml.saml1.core.Advice

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

        Advice advice = (Advice) parentSAMLObject;

        if (childSAMLObject instanceof Assertion) {
            advice.getAssertions().add((Assertion) childSAMLObject);
        } else if (childSAMLObject instanceof AssertionIDReference) {
            advice.getAssertionIDReferences().add((AssertionIDReference) childSAMLObject);
        } else {
            advice.getUnknownXMLObjects().add(childSAMLObject);
        }
    }
View Full Code Here

Examples of org.opensaml.saml1.core.Advice

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

        Advice advice = (Advice) parentSAMLObject;

        if (childSAMLObject instanceof Assertion) {
            advice.getAssertions().add((Assertion) childSAMLObject);
        } else if (childSAMLObject instanceof AssertionIDReference) {
            advice.getAssertionIDReferences().add((AssertionIDReference) childSAMLObject);
        } else {
            advice.getUnknownXMLObjects().add(childSAMLObject);
        }
    }
View Full Code Here

Examples of org.opensaml.saml2.core.Advice

*/
public class AdviceUnmarshaller extends AbstractSAMLObjectUnmarshaller {

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

        // This is an unbounded choice over several unrelated elements, and the <any> wildcard element.
        advice.getChildren().add(childObject);

    }
View Full Code Here

Examples of org.opensaml.saml2.core.Advice

        super(namespaceURI, elementLocalName);
    }

    /** {@inheritDoc} */
    protected void processChildElement(XMLObject parentObject, XMLObject childObject) throws UnmarshallingException {
        Advice advice = (Advice) parentObject;
       
        // This is an unbounded choice over several unrelated elements, and the <any> wildcard element.
        advice.getChildren().add(childObject);
       

    }
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.