com.sun.xml.wss.saml.internal.saml11.jaxb20.SubjectType Maven / Gradle / Ivy
/*
* Copyright (c) 2010, 2022 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-3509
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2006.09.12 at 08:53:21 PM IST
//
package com.sun.xml.wss.saml.internal.saml11.jaxb20;
import java.util.ArrayList;
import java.util.List;
import jakarta.xml.bind.JAXBElement;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElementRef;
import jakarta.xml.bind.annotation.XmlElementRefs;
import jakarta.xml.bind.annotation.XmlRootElement;
import jakarta.xml.bind.annotation.XmlType;
/**
* Java class for SubjectType complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="SubjectType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <choice>
* <sequence>
* <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}NameIdentifier"/>
* <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}SubjectConfirmation" minOccurs="0"/>
* </sequence>
* <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}SubjectConfirmation"/>
* </choice>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlRootElement(name="Subject")
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SubjectType", propOrder = {
"content"
})
public class SubjectType {
@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)
})
protected List> content;
/**
* Gets the rest of the content model.
*
*
* You are getting this "catch-all" property because of the following reason:
* The field name "SubjectConfirmation" is used by two different parts of a schema. See:
* line 101 of file:/root/xwss3.0/saml20/schemas/saml11/oasis-sstc-saml-schema-assertion-1.1.xsd
* line 99 of file:/root/xwss3.0/saml20/schemas/saml11/oasis-sstc-saml-schema-assertion-1.1.xsd
*
* To get rid of this property, apply a property customization to one
* of both of the following declarations to change their names:
* Gets the value of the content property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the content property.
*
*
* For example, to add a new item, do as follows:
*
* getContent().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link JAXBElement }{@code <}{@link NameIdentifierType }{@code >}
* {@link JAXBElement }{@code <}{@link SubjectConfirmationType }{@code >}
*
*
*/
public List> getContent() {
if (content == null) {
content = new ArrayList<>();
}
return this.content;
}
}