1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.opensaml.samlext.saml2mdquery.impl;
18
19 import org.opensaml.samlext.saml2mdquery.ActionNamespace;
20 import org.opensaml.samlext.saml2mdquery.AuthzDecisionQueryDescriptorType;
21 import org.opensaml.xml.XMLObject;
22 import org.opensaml.xml.io.UnmarshallingException;
23
24
25 public class AuthzDecisionQueryDescriptorTypeUnmarshaller extends QueryDescriptorTypeUnmarshaller {
26
27
28 protected void processChildElement(XMLObject parentSAMLObject, XMLObject childSAMLObject)
29 throws UnmarshallingException {
30 AuthzDecisionQueryDescriptorType descriptor = (AuthzDecisionQueryDescriptorType) parentSAMLObject;
31
32 if (childSAMLObject instanceof ActionNamespace) {
33 descriptor.getActionNamespaces().add((ActionNamespace) childSAMLObject);
34 } else {
35 super.processChildElement(parentSAMLObject, childSAMLObject);
36 }
37 }
38 }