Package gov.nist.javax.sip.header.ims

Examples of gov.nist.javax.sip.header.ims.PAssertedIdentityList


  public SIPHeader parse() throws ParseException {
   
    if (debug)
      dbg_enter("AssertedIdentityParser.parse");
   
    PAssertedIdentityList assertedIdList = new PAssertedIdentityList();
   
    try {
     
      headerName(TokenTypes.P_ASSERTED_IDENTITY);

      PAssertedIdentity pai = new PAssertedIdentity();
      pai.setHeaderName(SIPHeaderNamesIms.P_ASSERTED_IDENTITY);
     
      super.parse(pai);
      assertedIdList.add(pai);
     
      this.lexer.SPorHT();
      while (lexer.lookAhead(0) == ',')
      {
        this.lexer.match(',');
        this.lexer.SPorHT();

        pai = new PAssertedIdentity();
        super.parse(pai);
        assertedIdList.add(pai);
       
        this.lexer.SPorHT();
      }
      this.lexer.SPorHT();
      this.lexer.match('\n');
View Full Code Here


    public SIPHeader parse() throws ParseException {

        if (debug)
            dbg_enter("AssertedIdentityParser.parse");

        PAssertedIdentityList assertedIdList = new PAssertedIdentityList();

        try {

            headerName(TokenTypes.P_ASSERTED_IDENTITY);

            PAssertedIdentity pai = new PAssertedIdentity();
            pai.setHeaderName(SIPHeaderNamesIms.P_ASSERTED_IDENTITY);

            super.parse(pai);
            assertedIdList.add(pai);

            this.lexer.SPorHT();
            while (lexer.lookAhead(0) == ',')
            {
                this.lexer.match(',');
                this.lexer.SPorHT();

                pai = new PAssertedIdentity();
                super.parse(pai);
                assertedIdList.add(pai);

                this.lexer.SPorHT();
            }
            this.lexer.SPorHT();
            this.lexer.match('\n');
View Full Code Here

TOP

Related Classes of gov.nist.javax.sip.header.ims.PAssertedIdentityList

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.