Coverage Report - org.kuali.rice.core.api.uif.RemotableTextExpand
 
Classes in this File Line Coverage Branch Coverage Complexity
RemotableTextExpand
100%
6/6
N/A
1
RemotableTextExpand$1
N/A
N/A
1
RemotableTextExpand$Builder
100%
5/5
N/A
1
RemotableTextExpand$Constants
0%
0/1
N/A
1
 
 1  
 package org.kuali.rice.core.api.uif;
 2  
 
 3  
 import org.kuali.rice.core.api.CoreConstants;
 4  
 import org.w3c.dom.Element;
 5  
 
 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.XmlRootElement;
 10  
 import javax.xml.bind.annotation.XmlType;
 11  
 import java.util.Collection;
 12  
 
 13  
 /**
 14  
  * A text expand widget.  This can be used along side a textarea control.
 15  
  */
 16  
 @XmlRootElement(name = RemotableTextExpand.Constants.ROOT_ELEMENT_NAME)
 17  
 @XmlAccessorType(XmlAccessType.NONE)
 18  
 @XmlType(name = RemotableTextExpand.Constants.TYPE_NAME, propOrder = {
 19  
                 CoreConstants.CommonElements.FUTURE_ELEMENTS })
 20  2
 public final class RemotableTextExpand extends RemotableAbstractWidget {
 21  
 
 22  4
     @SuppressWarnings("unused")
 23  
     @XmlAnyElement
 24  
     private final Collection<Element> _futureElements = null;
 25  
 
 26  
     /**
 27  
      * Should only be invoked by JAXB.
 28  
      */
 29  
     @SuppressWarnings("unused")
 30  
     private RemotableTextExpand() {
 31  2
         super();
 32  2
     }
 33  
 
 34  
     private RemotableTextExpand(Builder b) {
 35  2
         super();
 36  2
     }
 37  
 
 38  2
     public static final class Builder extends RemotableAbstractWidget.Builder {
 39  
 
 40  
         private Builder() {
 41  2
             super();
 42  2
         }
 43  
 
 44  
         public static Builder create() {
 45  2
             return new Builder();
 46  
         }
 47  
 
 48  
         @Override
 49  
         public RemotableTextExpand build() {
 50  2
             return new RemotableTextExpand(this);
 51  
         }
 52  
     }
 53  
 
 54  
 
 55  
     /**
 56  
      * Defines some internal constants used on this class.
 57  
      */
 58  0
     static final class Constants {
 59  
         static final String TYPE_NAME = "TextExpandType";
 60  
         final static String ROOT_ELEMENT_NAME = "textExpand";
 61  
     }
 62  
 }