1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.opensaml.saml2.core.impl;
18
19 import java.util.Collections;
20 import java.util.List;
21
22 import javax.xml.namespace.QName;
23
24 import org.opensaml.common.impl.AbstractSAMLObject;
25 import org.opensaml.saml2.core.StatusDetail;
26 import org.opensaml.xml.XMLObject;
27 import org.opensaml.xml.util.IndexedXMLObjectChildrenList;
28
29
30
31
32 public class StatusDetailImpl extends AbstractSAMLObject implements StatusDetail {
33
34
35 private final IndexedXMLObjectChildrenList<XMLObject> unknownChildren;
36
37
38
39
40
41
42
43
44 protected StatusDetailImpl(String namespaceURI, String elementLocalName, String namespacePrefix) {
45 super(namespaceURI, elementLocalName, namespacePrefix);
46 unknownChildren = new IndexedXMLObjectChildrenList<XMLObject>(this);
47 }
48
49
50
51
52 public List<XMLObject> getUnknownXMLObjects() {
53 return unknownChildren;
54 }
55
56
57 public List<XMLObject> getUnknownXMLObjects(QName typeOrName) {
58 return (List<XMLObject>) unknownChildren.subList(typeOrName);
59 }
60
61
62
63
64 public List<XMLObject> getOrderedChildren() {
65 return Collections.unmodifiableList(unknownChildren);
66 }
67 }