func (this *SipURIImpl) GetAuthority() *Authority {
	return this.authority
}
Get the authority.
package address
import (
	"bytes"
	"container/list"
	"errors"
	"sip/core"
	"strconv"
	"strings"
)
type SipURIImpl struct {
	URIImpl
	authority *Authority
	uriParms *core.NameValueList
	qheaders *core.NameValueList
	telephoneSubscriber *TelephoneNumber
}
func NewSipURIImpl() *SipURIImpl {
	this := &SipURIImpl{}
	this.scheme = core.SIPTransportNames_SIP
	this.uriParms = core.NewNameValueList("uriparms")
	this.qheaders = core.NewNameValueList("qheaders")
	this.qheaders.SetSeparator("&")
	return this
}
func (this *SipURIImpl) SetScheme(scheme string) error {
	scheme = strings.ToLower(scheme)
	if scheme != core.SIPTransportNames_SIP && scheme != core.SIPTransportNames_SIPS {
		return errors.New("IllegalArgumentException: bad scheme " + scheme)
	}
	this.scheme = scheme
	return nil
}
func (this *SipURIImpl) GetScheme() string {
	return this.scheme
}
func (this *SipURIImpl) ClearUriParms() {
	this.uriParms = core.NewNameValueList("uriparms")
}
func (this *SipURIImpl) ClearPassword() {
	if this.authority != nil {
		userInfo := this.authority.GetUserInfo()
		if userInfo != nil {
			userInfo.ClearPassword()
		}
	}
}