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.XmlElementRef;
16: import javax.xml.bind.annotation.XmlElementRefs;
17: import javax.xml.bind.annotation.XmlRootElement;
18: import javax.xml.bind.annotation.XmlType;
19:
20: /**
21: * <p>Java class for SubjectType complex type.
22: *
23: * <p>The following schema fragment specifies the expected content contained within this class.
24: *
25: * <pre>
26: * <complexType name="SubjectType">
27: * <complexContent>
28: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
29: * <choice>
30: * <sequence>
31: * <choice>
32: * <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}BaseID"/>
33: * <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}NameID"/>
34: * <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}EncryptedID"/>
35: * </choice>
36: * <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}SubjectConfirmation" maxOccurs="unbounded" minOccurs="0"/>
37: * </sequence>
38: * <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}SubjectConfirmation" maxOccurs="unbounded"/>
39: * </choice>
40: * </restriction>
41: * </complexContent>
42: * </complexType>
43: * </pre>
44: *
45: *
46: */
47: @XmlRootElement(name="Subject")
48: @XmlAccessorType(XmlAccessType.FIELD)
49: @XmlType(name="SubjectType",propOrder={"content"})
50: public class SubjectType {
51:
52: @XmlElementRefs({@XmlElementRef(name="EncryptedID",namespace="urn:oasis:names:tc:SAML:2.0:assertion",type=JAXBElement.class),@XmlElementRef(name="SubjectConfirmation",namespace="urn:oasis:names:tc:SAML:2.0:assertion",type=JAXBElement.class),@XmlElementRef(name="BaseID",namespace="urn:oasis:names:tc:SAML:2.0:assertion",type=JAXBElement.class),@XmlElementRef(name="NameID",namespace="urn:oasis:names:tc:SAML:2.0:assertion",type=JAXBElement.class)})
53: protected List<JAXBElement<?>> content;
54:
55: /**
56: * Gets the rest of the content model.
57: *
58: * <p>
59: * You are getting this "catch-all" property because of the following reason:
60: * The field name "SubjectConfirmation" is used by two different parts of a schema. See:
61: * line 87 of file:/root/xwss3.0/saml20/schemas/saml11/saml-schema-assertion-2.0.xsd
62: * line 85 of file:/root/xwss3.0/saml20/schemas/saml11/saml-schema-assertion-2.0.xsd
63: * <p>
64: * To get rid of this property, apply a property customization to one
65: * of both of the following declarations to change their names:
66: * Gets the value of the content property.
67: *
68: * <p>
69: * This accessor method returns a reference to the live list,
70: * not a snapshot. Therefore any modification you make to the
71: * returned list will be present inside the JAXB object.
72: * This is why there is not a <CODE>set</CODE> method for the content property.
73: *
74: * <p>
75: * For example, to add a new item, do as follows:
76: * <pre>
77: * getContent().add(newItem);
78: * </pre>
79: *
80: *
81: * <p>
82: * Objects of the following type(s) are allowed in the list
83: * {@link JAXBElement }{@code <}{@link BaseIDAbstractType }{@code >}
84: * {@link JAXBElement }{@code <}{@link EncryptedElementType }{@code >}
85: * {@link JAXBElement }{@code <}{@link SubjectConfirmationType }{@code >}
86: * {@link JAXBElement }{@code <}{@link NameIDType }{@code >}
87: *
88: *
89: */
90: public List<JAXBElement<?>> getContent() {
91: if (content == null) {
92: content = new ArrayList<JAXBElement<?>>();
93: }
94: return this.content;
95: }
96:
97: }
|