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

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


 
 
 
  public SIPHeader parse() throws ParseException {
   
    PVisitedNetworkIDList visitedNetworkIDList = new PVisitedNetworkIDList();

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

    try {
      this.lexer.match(TokenTypes.P_VISITED_NETWORK_ID);
      this.lexer.SPorHT();
      this.lexer.match(':');
      this.lexer.SPorHT();
     
      while (true) {
       
        PVisitedNetworkID visitedNetworkID = new PVisitedNetworkID();
       
        if (this.lexer.lookAhead(0) == '\"')
          parseQuotedString(visitedNetworkID);
        else
          parseToken(visitedNetworkID);
         
        visitedNetworkIDList.add(visitedNetworkID);
       
        this.lexer.SPorHT();
        char la = lexer.lookAhead(0);
        if (la == ',') {
          this.lexer.match(',');
View Full Code Here




    public SIPHeader parse() throws ParseException {

        PVisitedNetworkIDList visitedNetworkIDList = new PVisitedNetworkIDList();

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

        try {
            this.lexer.match(TokenTypes.P_VISITED_NETWORK_ID);
            this.lexer.SPorHT();
            this.lexer.match(':');
            this.lexer.SPorHT();

            while (true) {

                PVisitedNetworkID visitedNetworkID = new PVisitedNetworkID();

                if (this.lexer.lookAhead(0) == '\"')
                    parseQuotedString(visitedNetworkID);
                else
                    parseToken(visitedNetworkID);

                visitedNetworkIDList.add(visitedNetworkID);

                this.lexer.SPorHT();
                char la = lexer.lookAhead(0);
                if (la == ',') {
                    this.lexer.match(',');
View Full Code Here



    public SIPHeader parse() throws ParseException {

        PVisitedNetworkIDList visitedNetworkIDList = new PVisitedNetworkIDList();

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

        try {
            this.lexer.match(TokenTypes.P_VISITED_NETWORK_ID);
            this.lexer.SPorHT();
            this.lexer.match(':');
            this.lexer.SPorHT();

            while (true) {

                PVisitedNetworkID visitedNetworkID = new PVisitedNetworkID();

                if (this.lexer.lookAhead(0) == '\"')
                    parseQuotedString(visitedNetworkID);
                else
                    parseToken(visitedNetworkID);

                visitedNetworkIDList.add(visitedNetworkID);

                this.lexer.SPorHT();
                char la = lexer.lookAhead(0);
                if (la == ',') {
                    this.lexer.match(',');
View Full Code Here

TOP

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

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.