Search in sources :

Example 1 with TelURLImpl

use of gov.nist.javax.sip.address.TelURLImpl in project XobotOS by xamarin.

the class URLParser method telURL.

/**
     * Parse and return a structure for a Tel URL.
     * @return a parsed tel url structure.
     */
public TelURLImpl telURL(boolean inBrackets) throws ParseException {
    lexer.match(TokenTypes.TEL);
    lexer.match(':');
    TelephoneNumber tn = this.parseTelephoneNumber(inBrackets);
    TelURLImpl telUrl = new TelURLImpl();
    telUrl.setTelephoneNumber(tn);
    return telUrl;
}
Also used : TelephoneNumber(gov.nist.javax.sip.address.TelephoneNumber) TelURLImpl(gov.nist.javax.sip.address.TelURLImpl)

Aggregations

TelURLImpl (gov.nist.javax.sip.address.TelURLImpl)1 TelephoneNumber (gov.nist.javax.sip.address.TelephoneNumber)1