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.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.xenc.EncryptedDataType;
017: import com.sun.xml.security.core.xenc.EncryptedKeyType;
018: import javax.xml.bind.annotation.XmlRootElement;
019:
020: /**
021: * <p>Java class for EncryptedElementType complex type.
022: *
023: * <p>The following schema fragment specifies the expected content contained within this class.
024: *
025: * <pre>
026: * <complexType name="EncryptedElementType">
027: * <complexContent>
028: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
029: * <sequence>
030: * <element ref="{http://www.w3.org/2001/04/xmlenc#}EncryptedData"/>
031: * <element ref="{http://www.w3.org/2001/04/xmlenc#}EncryptedKey" maxOccurs="unbounded" minOccurs="0"/>
032: * </sequence>
033: * </restriction>
034: * </complexContent>
035: * </complexType>
036: * </pre>
037: *
038: *
039: */
040: @XmlRootElement(name="EncryptedElement")
041: @XmlAccessorType(XmlAccessType.FIELD)
042: @XmlType(name="EncryptedElementType",propOrder={"encryptedData","encryptedKey"})
043: public class EncryptedElementType {
044:
045: @XmlElement(name="EncryptedData",namespace="http://www.w3.org/2001/04/xmlenc#",required=true)
046: protected EncryptedDataType encryptedData;
047: @XmlElement(name="EncryptedKey",namespace="http://www.w3.org/2001/04/xmlenc#")
048: protected List<EncryptedKeyType> encryptedKey;
049:
050: /**
051: * Gets the value of the encryptedData property.
052: *
053: * @return
054: * possible object is
055: * {@link EncryptedDataType }
056: *
057: */
058: public EncryptedDataType getEncryptedData() {
059: return encryptedData;
060: }
061:
062: /**
063: * Sets the value of the encryptedData property.
064: *
065: * @param value
066: * allowed object is
067: * {@link EncryptedDataType }
068: *
069: */
070: public void setEncryptedData(EncryptedDataType value) {
071: this .encryptedData = value;
072: }
073:
074: /**
075: * Gets the value of the encryptedKey property.
076: *
077: * <p>
078: * This accessor method returns a reference to the live list,
079: * not a snapshot. Therefore any modification you make to the
080: * returned list will be present inside the JAXB object.
081: * This is why there is not a <CODE>set</CODE> method for the encryptedKey property.
082: *
083: * <p>
084: * For example, to add a new item, do as follows:
085: * <pre>
086: * getEncryptedKey().add(newItem);
087: * </pre>
088: *
089: *
090: * <p>
091: * Objects of the following type(s) are allowed in the list
092: * {@link EncryptedKeyType }
093: *
094: *
095: */
096: public List<EncryptedKeyType> getEncryptedKey() {
097: if (encryptedKey == null) {
098: encryptedKey = new ArrayList<EncryptedKeyType>();
099: }
100: return this.encryptedKey;
101: }
102:
103: }
|