Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package gov.nist.javax.sip.parser.extensions;
 
public class ReferencesParser extends ParametersParser {
    
Creates a new instance of ReferencesParser

Parameters:
references the header to parse
    public ReferencesParser(String references) {
        super(references);
    }

    
Constructor

Parameters:
lexer the lexer to use to parse the header
    protected ReferencesParser(Lexer lexer) {
        super(lexer);
    }
    
    
parse the String message

Returns:
SIPHeader (ReasonParserList object)
Throws:
SIPParseException if the message does not respect the spec.
    public SIPHeader parse() throws ParseException {
       
        if ()
            dbg_enter("ReasonParser.parse");
        try {
            headerName(.);
            References referencesnew References();
            this..SPorHT();
               
            String callId = .byteStringNoSemicolon();
           
            references.setCallId(callId);
            super.parse(references);
            return references;
       } finally {
            if ()
                dbg_leave("ReferencesParser.parse");
        }
      
    }
New to GrepCode? Check out our FAQ X