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);
}
}