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

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


   * @throws ParseException if errors occur during the parsing
   */
   
  public SIPHeader parse() throws ParseException {
   
    PathList pathList = new PathList();

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

    try {
      this.lexer.match(TokenTypes.PATH);
      this.lexer.SPorHT();
      this.lexer.match(':');
      this.lexer.SPorHT();
      while (true) {
        Path path = new Path();
        super.parse(path);
        pathList.add(path);
        this.lexer.SPorHT();
        char la = lexer.lookAhead(0);
        if (la == ',') {
          this.lexer.match(',');
          this.lexer.SPorHT();
View Full Code Here


     * @throws ParseException if errors occur during the parsing
     */

    public SIPHeader parse() throws ParseException {

        PathList pathList = new PathList();

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

        try {
            this.lexer.match(TokenTypes.PATH);
            this.lexer.SPorHT();
            this.lexer.match(':');
            this.lexer.SPorHT();
            while (true) {
                Path path = new Path();
                super.parse(path);
                pathList.add(path);
                this.lexer.SPorHT();
                char la = lexer.lookAhead(0);
                if (la == ',') {
                    this.lexer.match(',');
                    this.lexer.SPorHT();
View Full Code Here

TOP

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

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.