1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package org.opensaml.saml2.core.impl;
22
23 import org.opensaml.saml2.core.Subject;
24 import org.opensaml.saml2.core.SubjectQuery;
25 import org.opensaml.xml.XMLObject;
26 import org.opensaml.xml.io.UnmarshallingException;
27
28
29
30
31 public abstract class SubjectQueryUnmarshaller extends RequestAbstractTypeUnmarshaller {
32
33
34 protected void processChildElement(XMLObject parentSAMLObject, XMLObject childSAMLObject)
35 throws UnmarshallingException {
36 SubjectQuery sq = (SubjectQuery) parentSAMLObject;
37
38 if (childSAMLObject instanceof Subject) {
39 sq.setSubject((Subject) childSAMLObject);
40 } else {
41 super.processChildElement(parentSAMLObject, childSAMLObject);
42 }
43 }
44 }