public class IDPListUnmarshaller extends AbstractSAMLObjectUnmarshaller {
/** {@inheritDoc} */
protected void processChildElement(XMLObject parentSAMLObject, XMLObject childSAMLObject)
throws UnmarshallingException {
IDPList list = (IDPList) parentSAMLObject;
if (childSAMLObject instanceof IDPEntry) {
list.getIDPEntrys().add((IDPEntry) childSAMLObject);
} else if (childSAMLObject instanceof GetComplete) {
list.setGetComplete((GetComplete) childSAMLObject);
} else {
super.processChildElement(parentSAMLObject, childSAMLObject);
}
}