/** * Default parse method. This method just calls uriReference. */ public GenericURI parse() throws ParseException { return uriReference( true ); }
this.lexer.SPorHT(); URLParser uriParser = new URLParser((Lexer) lexer); GenericURI uri = uriParser.uriReference( true ); AddressImpl retval = new AddressImpl(); retval.setAddressType(AddressImpl.NAME_ADDR); this.lexer.SPorHT(); URLParser uriParser = new URLParser((Lexer) lexer); GenericURI uri = uriParser.uriReference( true ); AddressImpl retval = new AddressImpl(); addr.setAddressType(AddressImpl.NAME_ADDR);
retval = new AddressImpl(); URLParser uriParser = new URLParser((Lexer) lexer); GenericURI uri = uriParser.uriReference( inclParams ); retval.setAddressType(AddressImpl.ADDRESS_SPEC); retval.setURI(uri);
public RequestLine parse() throws ParseException { if (debug) dbg_enter("parse"); try { RequestLine retval = new RequestLine(); String m = method(); lexer.SPorHT(); retval.setMethod(m); this.lexer.selectLexer("sip_urlLexer"); URLParser urlParser = new URLParser(this.getLexer()); GenericURI url = urlParser.uriReference(true); lexer.SPorHT(); retval.setUri(url); this.lexer.selectLexer("request_lineLexer"); String v = sipVersion(); retval.setSipVersion(v); lexer.SPorHT(); lexer.match('\n'); return retval; } finally { if (debug) dbg_leave("parse"); } }
this.lexer.match('<'); URLParser urlParser=new URLParser((Lexer)this.lexer); GenericURI uri=urlParser.uriReference(true); callInfo.setInfo(uri); this.lexer.match('>'); this.lexer.match('<'); urlParser=new URLParser((Lexer)this.lexer); uri=urlParser.uriReference(true); callInfo.setInfo(uri); this.lexer.match('>');
this.lexer.match('<'); URLParser urlParser = new URLParser((Lexer) this.lexer); GenericURI uri = urlParser.uriReference( true ); errorInfo.setErrorInfo(uri); this.lexer.match('>');
this.lexer.match('<'); urlParser = new URLParser((Lexer) this.lexer); uri = urlParser.uriReference( true ); alertInfo.setAlertInfo(uri); this.lexer.match('>');