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:53:21 PM IST
006: //
007:
008: package com.sun.xml.wss.saml.internal.saml11.jaxb20;
009:
010: import java.util.ArrayList;
011: import java.util.List;
012: import javax.xml.bind.annotation.XmlAccessType;
013: import javax.xml.bind.annotation.XmlAccessorType;
014: import javax.xml.bind.annotation.XmlElement;
015: import javax.xml.bind.annotation.XmlType;
016: import com.sun.xml.security.core.dsig.KeyInfoType;
017: import javax.xml.bind.annotation.XmlRootElement;
018:
019: /**
020: * <p>Java class for SubjectConfirmationType complex type.
021: *
022: * <p>The following schema fragment specifies the expected content contained within this class.
023: *
024: * <pre>
025: * <complexType name="SubjectConfirmationType">
026: * <complexContent>
027: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
028: * <sequence>
029: * <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}ConfirmationMethod" maxOccurs="unbounded"/>
030: * <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}SubjectConfirmationData" minOccurs="0"/>
031: * <element ref="{http://www.w3.org/2000/09/xmldsig#}KeyInfo" minOccurs="0"/>
032: * </sequence>
033: * </restriction>
034: * </complexContent>
035: * </complexType>
036: * </pre>
037: *
038: *
039: */
040: @XmlRootElement(name="SubjectConfirmation")
041: @XmlAccessorType(XmlAccessType.FIELD)
042: @XmlType(name="SubjectConfirmationType",propOrder={"confirmationMethod","subjectConfirmationData","keyInfo"})
043: public class SubjectConfirmationType {
044:
045: @XmlElement(name="ConfirmationMethod",required=true)
046: protected List<String> confirmationMethod;
047: @XmlElement(name="SubjectConfirmationData")
048: protected Object subjectConfirmationData;
049: @XmlElement(name="KeyInfo",namespace="http://www.w3.org/2000/09/xmldsig#")
050: protected KeyInfoType keyInfo;
051:
052: /**
053: * Gets the value of the confirmationMethod property.
054: *
055: * <p>
056: * This accessor method returns a reference to the live list,
057: * not a snapshot. Therefore any modification you make to the
058: * returned list will be present inside the JAXB object.
059: * This is why there is not a <CODE>set</CODE> method for the confirmationMethod property.
060: *
061: * <p>
062: * For example, to add a new item, do as follows:
063: * <pre>
064: * getConfirmationMethod().add(newItem);
065: * </pre>
066: *
067: *
068: * <p>
069: * Objects of the following type(s) are allowed in the list
070: * {@link String }
071: *
072: *
073: */
074: public List<String> getConfirmationMethod() {
075: if (confirmationMethod == null) {
076: confirmationMethod = new ArrayList<String>();
077: }
078: return this .confirmationMethod;
079: }
080:
081: /**
082: * Gets the value of the subjectConfirmationData property.
083: *
084: * @return
085: * possible object is
086: * {@link Object }
087: *
088: */
089: public Object getSubjectConfirmationData() {
090: return subjectConfirmationData;
091: }
092:
093: /**
094: * Sets the value of the subjectConfirmationData property.
095: *
096: * @param value
097: * allowed object is
098: * {@link Object }
099: *
100: */
101: public void setSubjectConfirmationData(Object value) {
102: this .subjectConfirmationData = value;
103: }
104:
105: /**
106: * Gets the value of the keyInfo property.
107: *
108: * @return
109: * possible object is
110: * {@link KeyInfoType }
111: *
112: */
113: public KeyInfoType getKeyInfo() {
114: return keyInfo;
115: }
116:
117: /**
118: * Sets the value of the keyInfo property.
119: *
120: * @param value
121: * allowed object is
122: * {@link KeyInfoType }
123: *
124: */
125: public void setKeyInfo(KeyInfoType value) {
126: this.keyInfo = value;
127: }
128:
129: }
|