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

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


  public SIPHeader parse() throws ParseException
  {
    if (debug)
      dbg_enter("PAssociatedURIParser.parse");
   
    PAssociatedURIList associatedURIList = new PAssociatedURIList();
   
    try {
     
      headerName(TokenTypes.P_ASSOCIATED_URI);

      PAssociatedURI associatedURI = new PAssociatedURI();
      associatedURI.setHeaderName(SIPHeaderNamesIms.P_ASSOCIATED_URI);
     
      super.parse(associatedURI);
      associatedURIList.add(associatedURI);
     
      this.lexer.SPorHT();
      while (lexer.lookAhead(0) == ',')
      {
        this.lexer.match(',');
        this.lexer.SPorHT();

        associatedURI = new PAssociatedURI();
        super.parse(associatedURI);
        associatedURIList.add(associatedURI);
       
        this.lexer.SPorHT();
      }
      this.lexer.SPorHT();
      this.lexer.match('\n');
View Full Code Here


    public SIPHeader parse() throws ParseException
    {
        if (debug)
            dbg_enter("PAssociatedURIParser.parse");

        PAssociatedURIList associatedURIList = new PAssociatedURIList();

        try {

            headerName(TokenTypes.P_ASSOCIATED_URI);

            PAssociatedURI associatedURI = new PAssociatedURI();
            associatedURI.setHeaderName(SIPHeaderNamesIms.P_ASSOCIATED_URI);

            super.parse(associatedURI);
            associatedURIList.add(associatedURI);

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

                associatedURI = new PAssociatedURI();
                super.parse(associatedURI);
                associatedURIList.add(associatedURI);

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

TOP

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

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.