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:53:21 PM IST
06: //
07:
08: package com.sun.xml.wss.saml.internal.saml11.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:1.0:assertion}AssertionIDReference"/>
33: * <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}Assertion"/>
34: * <any/>
35: * </choice>
36: * </restriction>
37: * </complexContent>
38: * </complexType>
39: * </pre>
40: *
41: *
42: */
43: @XmlRootElement(name="Advice")
44: @XmlAccessorType(XmlAccessType.FIELD)
45: @XmlType(name="AdviceType",propOrder={"assertionIDReferenceOrAssertionOrAny"})
46: public class AdviceType {
47:
48: @XmlElementRefs({@XmlElementRef(name="AssertionIDReference",namespace="urn:oasis:names:tc:SAML:1.0:assertion",type=JAXBElement.class),@XmlElementRef(name="Assertion",namespace="urn:oasis:names:tc:SAML:1.0:assertion",type=JAXBElement.class)})
49: @XmlAnyElement(lax=true)
50: protected List<Object> assertionIDReferenceOrAssertionOrAny;
51:
52: /**
53: * Gets the value of the assertionIDReferenceOrAssertionOrAny property.
54: *
55: * <p>
56: * This accessor method returns a reference to the live list,
57: * not a snapshot. Therefore any modification you make to the
58: * returned list will be present inside the JAXB object.
59: * This is why there is not a <CODE>set</CODE> method for the assertionIDReferenceOrAssertionOrAny property.
60: *
61: * <p>
62: * For example, to add a new item, do as follows:
63: * <pre>
64: * getAssertionIDReferenceOrAssertionOrAny().add(newItem);
65: * </pre>
66: *
67: *
68: * <p>
69: * Objects of the following type(s) are allowed in the list
70: * {@link JAXBElement }{@code <}{@link AssertionType }{@code >}
71: * {@link JAXBElement }{@code <}{@link String }{@code >}
72: * {@link Element }
73: * {@link Object }
74: *
75: *
76: */
77: public List<Object> getAssertionIDReferenceOrAssertionOrAny() {
78: if (assertionIDReferenceOrAssertionOrAny == null) {
79: assertionIDReferenceOrAssertionOrAny = new ArrayList<Object>();
80: }
81: return this.assertionIDReferenceOrAssertionOrAny;
82: }
83:
84: }
|