Index (Frames) | Index (No Frames) | Package | Package Tree | Tree
javax.naming

Class StringRefAddr

java.lang.Object
|
+--javax.naming.RefAddr
   |
   +--javax.naming.StringRefAddr


public class StringRefAddr

extends RefAddr

RefAddr that uses a String as content. This can for example be used to address things through URLs.

Since:Authors:See Also:

Constructor Summary

StringRefAddr(java.lang.String addrType, java.lang.String contents)

Contructs a new StringRefAddr with the given type and content.

Method Summary

java.lang.ObjectgetContent()

Returns the String contents as given to the constructor.

Constructor Details

StringRefAddr

public StringRefAddr(java.lang.String addrType, java.lang.String contents)

Contructs a new StringRefAddr with the given type and content.

Parameters:


Method Details

getContent

public Object getContent()

Returns the String contents as given to the constructor.