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 java.util.ArrayList;
20 import java.util.Collections;
21 import java.util.List;
22
23 import javax.xml.namespace.QName;
24
25 import org.opensaml.saml2.metadata.Endpoint;
26 import org.opensaml.samlext.saml2mdquery.ActionNamespace;
27 import org.opensaml.samlext.saml2mdquery.AuthzDecisionQueryDescriptorType;
28 import org.opensaml.xml.XMLObject;
29 import org.opensaml.xml.util.XMLObjectChildrenList;
30
31
32
33
34 public class AuthzDecisionQueryDescriptorTypeImpl extends QueryDescriptorTypeImpl implements AuthzDecisionQueryDescriptorType{
35
36
37 private XMLObjectChildrenList<ActionNamespace> actionNamespaces;
38
39
40
41
42
43
44
45
46 protected AuthzDecisionQueryDescriptorTypeImpl(String namespaceURI, String elementLocalName, String namespacePrefix) {
47 super(namespaceURI, elementLocalName, namespacePrefix);
48
49 actionNamespaces = new XMLObjectChildrenList<ActionNamespace>(this);
50 }
51
52
53 public List<ActionNamespace> getActionNamespaces() {
54 return actionNamespaces;
55 }
56
57
58 public List<Endpoint> getEndpoints() {
59 return new ArrayList<Endpoint>();
60 }
61
62
63 public List<Endpoint> getEndpoints(QName type) {
64 return null;
65 }
66
67
68 public List<XMLObject> getOrderedChildren() {
69 ArrayList<XMLObject> children = new ArrayList<XMLObject>();
70
71 children.addAll(super.getOrderedChildren());
72 children.addAll(actionNamespaces);
73
74 return Collections.unmodifiableList(children);
75 }
76 }