| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| SPKIDataType |
|
| 2.0;2 |
| 1 | ||
| 2 | package org.kuali.student.security.xmldsig.dto; | |
| 3 | ||
| 4 | import java.util.ArrayList; | |
| 5 | import java.util.List; | |
| 6 | import javax.xml.bind.JAXBElement; | |
| 7 | import javax.xml.bind.annotation.XmlAccessType; | |
| 8 | import javax.xml.bind.annotation.XmlAccessorType; | |
| 9 | import javax.xml.bind.annotation.XmlAnyElement; | |
| 10 | import javax.xml.bind.annotation.XmlElementRef; | |
| 11 | import javax.xml.bind.annotation.XmlType; | |
| 12 | import org.w3c.dom.Element; | |
| 13 | ||
| 14 | ||
| 15 | /** | |
| 16 | * <p>Java class for SPKIDataType complex type. | |
| 17 | * | |
| 18 | * <p>The following schema fragment specifies the expected content contained within this class. | |
| 19 | * | |
| 20 | * <pre> | |
| 21 | * <complexType name="SPKIDataType"> | |
| 22 | * <complexContent> | |
| 23 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> | |
| 24 | * <sequence maxOccurs="unbounded"> | |
| 25 | * <element name="SPKISexp" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/> | |
| 26 | * <any processContents='lax' namespace='##other' minOccurs="0"/> | |
| 27 | * </sequence> | |
| 28 | * </restriction> | |
| 29 | * </complexContent> | |
| 30 | * </complexType> | |
| 31 | * </pre> | |
| 32 | * | |
| 33 | * | |
| 34 | */ | |
| 35 | @XmlAccessorType(XmlAccessType.FIELD) | |
| 36 | @XmlType(name = "SPKIDataType", propOrder = { | |
| 37 | "spkiSexpAndAny" | |
| 38 | }) | |
| 39 | 0 | public class SPKIDataType { |
| 40 | ||
| 41 | @XmlElementRef(name = "SPKISexp", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class) | |
| 42 | @XmlAnyElement(lax = true) | |
| 43 | protected List<Object> spkiSexpAndAny; | |
| 44 | ||
| 45 | /** | |
| 46 | * Gets the value of the spkiSexpAndAny property. | |
| 47 | * | |
| 48 | * <p> | |
| 49 | * This accessor method returns a reference to the live list, | |
| 50 | * not a snapshot. Therefore any modification you make to the | |
| 51 | * returned list will be present inside the JAXB object. | |
| 52 | * This is why there is not a <CODE>set</CODE> method for the spkiSexpAndAny property. | |
| 53 | * | |
| 54 | * <p> | |
| 55 | * For example, to add a new item, do as follows: | |
| 56 | * <pre> | |
| 57 | * getSPKISexpAndAny().add(newItem); | |
| 58 | * </pre> | |
| 59 | * | |
| 60 | * | |
| 61 | * <p> | |
| 62 | * Objects of the following type(s) are allowed in the list | |
| 63 | * {@link Object } | |
| 64 | * {@link JAXBElement }{@code <}{@link byte[]}{@code >} | |
| 65 | * {@link Element } | |
| 66 | * | |
| 67 | * | |
| 68 | */ | |
| 69 | public List<Object> getSPKISexpAndAny() { | |
| 70 | 0 | if (spkiSexpAndAny == null) { |
| 71 | 0 | spkiSexpAndAny = new ArrayList<Object>(); |
| 72 | } | |
| 73 | 0 | return this.spkiSexpAndAny; |
| 74 | } | |
| 75 | ||
| 76 | } |