| java.lang.Object javax.naming.RefAddr
All known Subclasses: javax.naming.StringRefAddr, javax.naming.BinaryRefAddr,
RefAddr | abstract public class RefAddr implements Serializable(Code) | | This is an abstract class describing the address of an object which is
outside of a naming system. It contains an address type and the address
itself is dealt with by its subclasses, for example,
BinaryRefAddr and StringRefAddr
.
See Also: BinaryRefAddr See Also: StringRefAddr |
Constructor Summary | |
protected | RefAddr(String type) Constructs a RefAddr instance using the supplied address
type. |
Method Summary | |
public boolean | equals(Object o) Returns true if this address is equal to the supplied object
o . | abstract public Object | getContent() Gets the address itself which may be null. | public String | getType() Gets the type of this address. | public int | hashCode() Returns the hashcode for this address. | public String | toString() Returns the string representation of this address. |
addrType | protected String addrType(Code) | | The type of the address.
|
serialVersionUID | final static long serialVersionUID(Code) | | |
RefAddr | protected RefAddr(String type)(Code) | | Constructs a RefAddr instance using the supplied address
type.
Parameters: type - the address type which may be null |
equals | public boolean equals(Object o)(Code) | | Returns true if this address is equal to the supplied object
o . They are considered equal if the address types are
equal and the address contents are equivalent. *
Parameters: o - the object to compare with true if this address is equal to o , otherwisefalse |
getContent | abstract public Object getContent()(Code) | | Gets the address itself which may be null. Each subclass of
RefAddr describes the format of the returned address.
the address itself |
getType | public String getType()(Code) | | Gets the type of this address.
the type of this address which cannot be null |
hashCode | public int hashCode()(Code) | | Returns the hashcode for this address. The result is the sum of the
hashcode of its address type and address.
the hashcode of this address |
toString | public String toString()(Code) | | Returns the string representation of this address. This contains the
string representations of the address type and the address.
the string representation of this address |
|
|