1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.opensaml.saml2.ecp.impl;
18
19 import java.util.List;
20
21 import org.opensaml.saml2.ecp.RelayState;
22 import org.opensaml.xml.XMLObject;
23 import org.opensaml.xml.schema.XSBooleanValue;
24 import org.opensaml.xml.schema.impl.XSStringImpl;
25
26
27
28
29 public class RelayStateImpl extends XSStringImpl implements RelayState {
30
31
32 private String soap11Actor;
33
34
35 private XSBooleanValue soap11MustUnderstand;
36
37
38
39
40
41
42
43
44 protected RelayStateImpl(String namespaceURI, String elementLocalName, String namespacePrefix) {
45 super(namespaceURI, elementLocalName, namespacePrefix);
46 }
47
48
49 public Boolean isSOAP11MustUnderstand() {
50 if (soap11MustUnderstand != null) {
51 return soap11MustUnderstand.getValue();
52 }
53 return Boolean.FALSE;
54 }
55
56
57 public XSBooleanValue isSOAP11MustUnderstandXSBoolean() {
58 return soap11MustUnderstand;
59 }
60
61
62 public void setSOAP11MustUnderstand(Boolean newMustUnderstand) {
63 if (newMustUnderstand != null) {
64 soap11MustUnderstand = prepareForAssignment(soap11MustUnderstand,
65 new XSBooleanValue(newMustUnderstand, true));
66 } else {
67 soap11MustUnderstand = prepareForAssignment(soap11MustUnderstand, null);
68 }
69 }
70
71
72 public void setSOAP11MustUnderstand(XSBooleanValue newMustUnderstand) {
73 soap11MustUnderstand = prepareForAssignment(soap11MustUnderstand, newMustUnderstand);
74 }
75
76
77 public String getSOAP11Actor() {
78 return soap11Actor;
79 }
80
81
82 public void setSOAP11Actor(String newActor) {
83 soap11Actor = prepareForAssignment(soap11Actor, newActor);
84 }
85
86
87 public List<XMLObject> getOrderedChildren() {
88 return null;
89 }
90
91 }