01: //
02: // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-3509
03: // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
04: // Any modifications to this file will be lost upon recompilation of the source schema.
05: // Generated on: 2006.09.12 at 08:57:41 PM IST
06: //
07:
08: package com.sun.xml.wss.saml.internal.saml20.jaxb20;
09:
10: import java.util.ArrayList;
11: import java.util.List;
12: import javax.xml.bind.JAXBElement;
13: import javax.xml.bind.annotation.XmlAccessType;
14: import javax.xml.bind.annotation.XmlAccessorType;
15: import javax.xml.bind.annotation.XmlAnyElement;
16: import javax.xml.bind.annotation.XmlElementRef;
17: import javax.xml.bind.annotation.XmlElementRefs;
18: import javax.xml.bind.annotation.XmlRootElement;
19: import javax.xml.bind.annotation.XmlType;
20: import org.w3c.dom.Element;
21:
22: /**
23: * <p>Java class for AdviceType complex type.
24: *
25: * <p>The following schema fragment specifies the expected content contained within this class.
26: *
27: * <pre>
28: * <complexType name="AdviceType">
29: * <complexContent>
30: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
31: * <choice maxOccurs="unbounded" minOccurs="0">
32: * <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}AssertionIDRef"/>
33: * <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}AssertionURIRef"/>
34: * <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}Assertion"/>
35: * <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}EncryptedAssertion"/>
36: * <any/>
37: * </choice>
38: * </restriction>
39: * </complexContent>
40: * </complexType>
41: * </pre>
42: *
43: *
44: */
45: @XmlRootElement(name="Advice")
46: @XmlAccessorType(XmlAccessType.FIELD)
47: @XmlType(name="AdviceType",propOrder={"assertionIDRefOrAssertionURIRefOrAssertion"})
48: public class AdviceType {
49:
50: @XmlElementRefs({@XmlElementRef(name="EncryptedAssertion",namespace="urn:oasis:names:tc:SAML:2.0:assertion",type=JAXBElement.class),@XmlElementRef(name="AssertionURIRef",namespace="urn:oasis:names:tc:SAML:2.0:assertion",type=JAXBElement.class),@XmlElementRef(name="Assertion",namespace="urn:oasis:names:tc:SAML:2.0:assertion",type=JAXBElement.class),@XmlElementRef(name="AssertionIDRef",namespace="urn:oasis:names:tc:SAML:2.0:assertion",type=JAXBElement.class)})
51: @XmlAnyElement(lax=true)
52: protected List<Object> assertionIDRefOrAssertionURIRefOrAssertion;
53:
54: /**
55: * Gets the value of the assertionIDRefOrAssertionURIRefOrAssertion property.
56: *
57: * <p>
58: * This accessor method returns a reference to the live list,
59: * not a snapshot. Therefore any modification you make to the
60: * returned list will be present inside the JAXB object.
61: * This is why there is not a <CODE>set</CODE> method for the assertionIDRefOrAssertionURIRefOrAssertion property.
62: *
63: * <p>
64: * For example, to add a new item, do as follows:
65: * <pre>
66: * getAssertionIDRefOrAssertionURIRefOrAssertion().add(newItem);
67: * </pre>
68: *
69: *
70: * <p>
71: * Objects of the following type(s) are allowed in the list
72: * {@link JAXBElement }{@code <}{@link EncryptedElementType }{@code >}
73: * {@link JAXBElement }{@code <}{@link String }{@code >}
74: * {@link Element }
75: * {@link JAXBElement }{@code <}{@link AssertionType }{@code >}
76: * {@link JAXBElement }{@code <}{@link String }{@code >}
77: * {@link Object }
78: *
79: *
80: */
81: public List<Object> getAssertionIDRefOrAssertionURIRefOrAssertion() {
82: if (assertionIDRefOrAssertionURIRefOrAssertion == null) {
83: assertionIDRefOrAssertionURIRefOrAssertion = new ArrayList<Object>();
84: }
85: return this.assertionIDRefOrAssertionURIRefOrAssertion;
86: }
87:
88: }
|