Coverage Report - org.kuali.student.security.xmldsig.dto.DigestMethodType
 
Classes in this File Line Coverage Branch Coverage Complexity
DigestMethodType
0%
0/7
0%
0/2
1.333
 
 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.annotation.XmlAccessType;
 7  
 import javax.xml.bind.annotation.XmlAccessorType;
 8  
 import javax.xml.bind.annotation.XmlAnyElement;
 9  
 import javax.xml.bind.annotation.XmlAttribute;
 10  
 import javax.xml.bind.annotation.XmlMixed;
 11  
 import javax.xml.bind.annotation.XmlSchemaType;
 12  
 import javax.xml.bind.annotation.XmlType;
 13  
 import org.w3c.dom.Element;
 14  
 
 15  
 
 16  
 /**
 17  
  * <p>Java class for DigestMethodType complex type.
 18  
  * 
 19  
  * <p>The following schema fragment specifies the expected content contained within this class.
 20  
  * 
 21  
  * <pre>
 22  
  * &lt;complexType name="DigestMethodType">
 23  
  *   &lt;complexContent>
 24  
  *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 25  
  *       &lt;sequence>
 26  
  *         &lt;any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
 27  
  *       &lt;/sequence>
 28  
  *       &lt;attribute name="Algorithm" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
 29  
  *     &lt;/restriction>
 30  
  *   &lt;/complexContent>
 31  
  * &lt;/complexType>
 32  
  * </pre>
 33  
  * 
 34  
  * 
 35  
  */
 36  
 @XmlAccessorType(XmlAccessType.FIELD)
 37  
 @XmlType(name = "DigestMethodType", propOrder = {
 38  
     "content"
 39  
 })
 40  0
 public class DigestMethodType {
 41  
 
 42  
     @XmlMixed
 43  
     @XmlAnyElement(lax = true)
 44  
     protected List<Object> content;
 45  
     @XmlAttribute(name = "Algorithm", required = true)
 46  
     @XmlSchemaType(name = "anyURI")
 47  
     protected String algorithm;
 48  
 
 49  
     /**
 50  
      * Gets the value of the content property.
 51  
      * 
 52  
      * <p>
 53  
      * This accessor method returns a reference to the live list,
 54  
      * not a snapshot. Therefore any modification you make to the
 55  
      * returned list will be present inside the JAXB object.
 56  
      * This is why there is not a <CODE>set</CODE> method for the content property.
 57  
      * 
 58  
      * <p>
 59  
      * For example, to add a new item, do as follows:
 60  
      * <pre>
 61  
      *    getContent().add(newItem);
 62  
      * </pre>
 63  
      * 
 64  
      * 
 65  
      * <p>
 66  
      * Objects of the following type(s) are allowed in the list
 67  
      * {@link Object }
 68  
      * {@link String }
 69  
      * {@link Element }
 70  
      * 
 71  
      * 
 72  
      */
 73  
     public List<Object> getContent() {
 74  0
         if (content == null) {
 75  0
             content = new ArrayList<Object>();
 76  
         }
 77  0
         return this.content;
 78  
     }
 79  
 
 80  
     /**
 81  
      * Gets the value of the algorithm property.
 82  
      * 
 83  
      * @return
 84  
      *     possible object is
 85  
      *     {@link String }
 86  
      *     
 87  
      */
 88  
     public String getAlgorithm() {
 89  0
         return algorithm;
 90  
     }
 91  
 
 92  
     /**
 93  
      * Sets the value of the algorithm property.
 94  
      * 
 95  
      * @param value
 96  
      *     allowed object is
 97  
      *     {@link String }
 98  
      *     
 99  
      */
 100  
     public void setAlgorithm(String value) {
 101  0
         this.algorithm = value;
 102  0
     }
 103  
 
 104  
 }