Home | History | Annotate | Download | only in ims
      1 /*
      2 * Conditions Of Use
      3 *
      4 * This software was developed by employees of the National Institute of
      5 * Standards and Technology (NIST), an agency of the Federal Government,
      6 * and others.
      7 * Pursuant to title 15 Untied States Code Section 105, works of NIST
      8 * employees are not subject to copyright protection in the United States
      9 * and are considered to be in the public domain.  As a result, a formal
     10 * license is not needed to use the software.
     11 *
     12 * This software is provided by NIST as a service and is expressly
     13 * provided "AS IS."  NIST MAKES NO WARRANTY OF ANY KIND, EXPRESS, IMPLIED
     14 * OR STATUTORY, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTY OF
     15 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT
     16 * AND DATA ACCURACY.  NIST does not warrant or make any representations
     17 * regarding the use of the software or the results thereof, including but
     18 * not limited to the correctness, accuracy, reliability or usefulness of
     19 * the software.
     20 *
     21 * Permission to use this software is contingent upon your acceptance
     22 * of the terms of this agreement.
     23 *
     24 */
     25 /*******************************************
     26  * PRODUCT OF PT INOVACAO - EST DEPARTMENT   *
     27  *******************************************/
     28 
     29 package gov.nist.javax.sip.header.ims;
     30 
     31 
     32 import gov.nist.javax.sip.header.SIPHeaderList;
     33 
     34 
     35 /**
     36  * List of P-Asserted-Identity headers
     37  *
     38  * @author Miguel Freitas (IT) PT-Inovacao
     39  */
     40 
     41 /*
     42  * PAssertedID = "P-Asserted-Identity" HCOLON PAssertedID-value
     43  *               *(COMMA PAssertedID-value)
     44  * PAssertedID-value = name-addr / addr-spec
     45  */
     46 
     47 
     48 public class PAssertedIdentityList extends SIPHeaderList<PAssertedIdentity> {
     49 
     50     private static final long serialVersionUID = -6465152445570308974L;
     51 
     52 
     53     /**
     54      * constructor.
     55      */
     56     public PAssertedIdentityList()
     57     {
     58         super(PAssertedIdentity.class, PAssertedIdentityHeader.NAME);
     59     }
     60 
     61 
     62     public Object clone() {
     63         PAssertedIdentityList retval = new PAssertedIdentityList();
     64         return retval.clonehlist(this.hlist);
     65     }
     66 }
     67