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