super(namespaceURI, elementLocalName);
}
/** {@inheritDoc} */
protected void processChildElement(XMLObject parentObject, XMLObject childObject) throws UnmarshallingException {
AuthnContext authnContext = (AuthnContext) parentObject;
if (childObject instanceof AuthnContextClassRef) {
authnContext.setAuthnContextClassRef((AuthnContextClassRef) childObject);
} else if (childObject instanceof AuthnContextDecl) {
authnContext.setAuthnContextDecl((AuthnContextDecl) childObject);
} else if (childObject instanceof AuthnContextDeclRef) {
authnContext.setAuthnContextDeclRef((AuthnContextDeclRef) childObject);
} else if (childObject instanceof AuthenticatingAuthority) {
authnContext.getAuthenticatingAuthorities().add((AuthenticatingAuthority) childObject);
} else {
super.processChildElement(parentObject, childObject);
}
}