001: //
002: // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-3509
003: // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
004: // Any modifications to this file will be lost upon recompilation of the source schema.
005: // Generated on: 2006.09.12 at 08:57:41 PM IST
006: //
007:
008: package com.sun.xml.wss.saml.internal.saml20.jaxb20;
009:
010: import java.util.ArrayList;
011: import java.util.List;
012: import javax.xml.bind.JAXBElement;
013: import javax.xml.bind.annotation.XmlAccessType;
014: import javax.xml.bind.annotation.XmlAccessorType;
015: import javax.xml.bind.annotation.XmlElementRef;
016: import javax.xml.bind.annotation.XmlElementRefs;
017: import javax.xml.bind.annotation.XmlRootElement;
018: import javax.xml.bind.annotation.XmlType;
019:
020: /**
021: * <p>Java class for AuthnContextType complex type.
022: *
023: * <p>The following schema fragment specifies the expected content contained within this class.
024: *
025: * <pre>
026: * <complexType name="AuthnContextType">
027: * <complexContent>
028: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
029: * <sequence>
030: * <choice>
031: * <sequence>
032: * <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}AuthnContextClassRef"/>
033: * <choice minOccurs="0">
034: * <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}AuthnContextDecl"/>
035: * <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}AuthnContextDeclRef"/>
036: * </choice>
037: * </sequence>
038: * <choice>
039: * <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}AuthnContextDecl"/>
040: * <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}AuthnContextDeclRef"/>
041: * </choice>
042: * </choice>
043: * <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}AuthenticatingAuthority" maxOccurs="unbounded" minOccurs="0"/>
044: * </sequence>
045: * </restriction>
046: * </complexContent>
047: * </complexType>
048: * </pre>
049: *
050: *
051: */
052: @XmlRootElement(name="AuthnContext")
053: @XmlAccessorType(XmlAccessType.FIELD)
054: @XmlType(name="AuthnContextType",propOrder={"content"})
055: public class AuthnContextType {
056:
057: @XmlElementRefs({@XmlElementRef(name="AuthnContextClassRef",namespace="urn:oasis:names:tc:SAML:2.0:assertion",type=JAXBElement.class),@XmlElementRef(name="AuthnContextDecl",namespace="urn:oasis:names:tc:SAML:2.0:assertion",type=JAXBElement.class),@XmlElementRef(name="AuthnContextDeclRef",namespace="urn:oasis:names:tc:SAML:2.0:assertion",type=JAXBElement.class),@XmlElementRef(name="AuthenticatingAuthority",namespace="urn:oasis:names:tc:SAML:2.0:assertion",type=JAXBElement.class)})
058: protected List<JAXBElement<?>> content;
059:
060: /**
061: * Gets the rest of the content model.
062: *
063: * <p>
064: * You are getting this "catch-all" property because of the following reason:
065: * The field name "AuthnContextDecl" is used by two different parts of a schema. See:
066: * line 212 of file:/root/xwss3.0/saml20/schemas/saml11/saml-schema-assertion-2.0.xsd
067: * line 207 of file:/root/xwss3.0/saml20/schemas/saml11/saml-schema-assertion-2.0.xsd
068: * <p>
069: * To get rid of this property, apply a property customization to one
070: * of both of the following declarations to change their names:
071: * Gets the value of the content property.
072: *
073: * <p>
074: * This accessor method returns a reference to the live list,
075: * not a snapshot. Therefore any modification you make to the
076: * returned list will be present inside the JAXB object.
077: * This is why there is not a <CODE>set</CODE> method for the content property.
078: *
079: * <p>
080: * For example, to add a new item, do as follows:
081: * <pre>
082: * getContent().add(newItem);
083: * </pre>
084: *
085: *
086: * <p>
087: * Objects of the following type(s) are allowed in the list
088: * {@link JAXBElement }{@code <}{@link Object }{@code >}
089: * {@link JAXBElement }{@code <}{@link String }{@code >}
090: * {@link JAXBElement }{@code <}{@link String }{@code >}
091: * {@link JAXBElement }{@code <}{@link String }{@code >}
092: *
093: *
094: */
095: public List<JAXBElement<?>> getContent() {
096: if (content == null) {
097: content = new ArrayList<JAXBElement<?>>();
098: }
099: return this.content;
100: }
101:
102: }
|