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.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: * <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}NameIdentifier"/>
32: * <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}SubjectConfirmation" minOccurs="0"/>
33: * </sequence>
34: * <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}SubjectConfirmation"/>
35: * </choice>
36: * </restriction>
37: * </complexContent>
38: * </complexType>
39: * </pre>
40: *
41: *
42: */
43: @XmlRootElement(name="Subject")
44: @XmlAccessorType(XmlAccessType.FIELD)
45: @XmlType(name="SubjectType",propOrder={"content"})
46: public class SubjectType {
47:
48: @XmlElementRefs({@XmlElementRef(name="SubjectConfirmation",namespace="urn:oasis:names:tc:SAML:1.0:assertion",type=JAXBElement.class),@XmlElementRef(name="NameIdentifier",namespace="urn:oasis:names:tc:SAML:1.0:assertion",type=JAXBElement.class)})
49: protected List<JAXBElement<?>> content;
50:
51: /**
52: * Gets the rest of the content model.
53: *
54: * <p>
55: * You are getting this "catch-all" property because of the following reason:
56: * The field name "SubjectConfirmation" is used by two different parts of a schema. See:
57: * line 101 of file:/root/xwss3.0/saml20/schemas/saml11/oasis-sstc-saml-schema-assertion-1.1.xsd
58: * line 99 of file:/root/xwss3.0/saml20/schemas/saml11/oasis-sstc-saml-schema-assertion-1.1.xsd
59: * <p>
60: * To get rid of this property, apply a property customization to one
61: * of both of the following declarations to change their names:
62: * Gets the value of the content property.
63: *
64: * <p>
65: * This accessor method returns a reference to the live list,
66: * not a snapshot. Therefore any modification you make to the
67: * returned list will be present inside the JAXB object.
68: * This is why there is not a <CODE>set</CODE> method for the content property.
69: *
70: * <p>
71: * For example, to add a new item, do as follows:
72: * <pre>
73: * getContent().add(newItem);
74: * </pre>
75: *
76: *
77: * <p>
78: * Objects of the following type(s) are allowed in the list
79: * {@link JAXBElement }{@code <}{@link NameIdentifierType }{@code >}
80: * {@link JAXBElement }{@code <}{@link SubjectConfirmationType }{@code >}
81: *
82: *
83: */
84: public List<JAXBElement<?>> getContent() {
85: if (content == null) {
86: content = new ArrayList<JAXBElement<?>>();
87: }
88: return this.content;
89: }
90:
91: }
|