01: /**
02: * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
03: * Unpublished - rights reserved under the Copyright Laws of the United States.
04: * Copyright © 2003 Sun Microsystems, Inc. All rights reserved.
05: * Copyright © 2005 BEA Systems, Inc. All rights reserved.
06: *
07: * Use is subject to license terms.
08: *
09: * This distribution may include materials developed by third parties.
10: *
11: * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
12: *
13: * Module Name : JSIP Specification
14: * File Name : HeaderAddress.java
15: * Author : Phelim O'Doherty
16: *
17: * HISTORY
18: * Version Date Author Comments
19: * 1.1 08/10/2002 Phelim O'Doherty Initial version
20: *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
21: */package javax.sip.header;
22:
23: import javax.sip.address.Address;
24:
25: /**
26: * This interface represents methods for manipulating Address object
27: * values for any header that contains a Address value.
28: * <p>
29: * When the header field value contains a display name encapsulated in the
30: * Address, the URI including all URI parameters is enclosed in "<" and ">".
31: * If no "<" and ">" are present, all parameters after the URI are header
32: * parameters, not URI parameters. The display name can be tokens, or a
33: * quoted string, if a larger character set is desired.
34: *
35: * @see Address
36: * @see ContactHeader
37: * @see FromHeader
38: * @see RecordRouteHeader
39: * @see ReplyToHeader
40: * @see RouteHeader
41: * @see ToHeader
42: *
43: * @author BEA Systems, NIST
44: * @version 1.2
45: */
46: public interface HeaderAddress {
47:
48: /**
49: * Sets the Address parameter of this Address.
50: *
51: * @param address - the Address object that represents the new
52: * address of this Address.
53: */
54: public void setAddress(Address address);
55:
56: /**
57: * Gets the address parameter of this Address.
58: *
59: * @return the Address of this Address
60: */
61: public Address getAddress();
62:
63: }
|