1 package javax.sip.address; 2 3 import java.text.ParseException; 4 5 public interface AddressFactory { 6 Address createAddress(); 7 Address createAddress(String address) throws ParseException; 8 Address createAddress(URI uri); 9 Address createAddress(String displayName, URI uri) 10 throws ParseException; 11 SipURI createSipURI(String uri) throws ParseException; 12 SipURI createSipURI(String user, String host) throws ParseException; 13 TelURL createTelURL(String uri) throws ParseException; 14 URI createURI(String uri) throws ParseException; 15 } 16 17