1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package edu.internet2.middleware.shibboleth.wayf.idpdisco;
18
19 import java.util.ArrayList;
20 import java.util.List;
21
22 import org.opensaml.common.impl.AbstractSAMLObject;
23 import org.opensaml.xml.XMLObject;
24 import org.opensaml.xml.util.XMLObjectChildrenList;
25
26
27
28
29
30 public class UIInfoImpl extends AbstractSAMLObject implements UIInfo {
31
32
33 private final XMLObjectChildrenList<Description> descriptions;
34
35
36 private final XMLObjectChildrenList<DisplayName> displayNames;
37
38
39 private final XMLObjectChildrenList<Logo> logos;
40
41
42 private final XMLObjectChildrenList<InformationURL> urls;
43
44
45 private final XMLObjectChildrenList<PrivacyStatementURL> privacyStatementURLs;
46
47
48
49
50
51
52
53 protected UIInfoImpl(String namespaceURI, String elementLocalName, String namespacePrefix) {
54 super(namespaceURI, elementLocalName, namespacePrefix);
55
56 descriptions = new XMLObjectChildrenList<Description>(this);
57 displayNames = new XMLObjectChildrenList<DisplayName>(this);
58 logos = new XMLObjectChildrenList<Logo>(this);
59 urls = new XMLObjectChildrenList<InformationURL>(this);
60 privacyStatementURLs = new XMLObjectChildrenList<PrivacyStatementURL>(this);
61 }
62
63
64
65 public List<Description> getDescriptions() {
66 return descriptions;
67 }
68
69
70 public List<DisplayName> getDisplayNames() {
71 return displayNames;
72 }
73
74
75 public List<InformationURL> getInformationURLs() {
76 return urls;
77 }
78
79
80 public List<Logo> getLogos() {
81 return logos;
82 }
83
84
85 public List<PrivacyStatementURL> getPrivacyStatementURLs() {
86 return privacyStatementURLs;
87 }
88
89
90 public List<XMLObject> getOrderedChildren() {
91 ArrayList<XMLObject> children = new ArrayList<XMLObject>();
92
93 children.addAll(descriptions);
94 children.addAll(displayNames);
95 children.addAll(urls);
96 children.addAll(logos);
97 children.addAll(privacyStatementURLs);
98 return children;
99 }
100
101 }