Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.juddi.datatype.binding
Class AccessPoint  view AccessPoint download AccessPoint.java

java.lang.Object
  extended byorg.apache.juddi.datatype.binding.AccessPoint
All Implemented Interfaces:
org.apache.juddi.datatype.RegistryObject, java.io.Serializable

public class AccessPoint
extends java.lang.Object
implements org.apache.juddi.datatype.RegistryObject

Is an attribute-qualified pointer to a service entry point. Many types of entry point are accommodated. A single urlType attribute is used to indicate the type of entry point so searches for specific types can be performed. Types might be "http", "smtp", "ftp", etc. In addition there is the actual string value for the entry point. Example accessPoints therefore may be: mailto:purch@fabrikam.com http://www.sviens.com/purchasing ftp://ftp.sviens.com/public, etc. If the AccessPoint has a custom addressformat, the "other" urlType has to be used. When this value is used, one or more of the tModel signatures found in the tModelInstanceInfo collection must imply that a particual format or transport type is required.


Field Summary
static java.lang.String FAX
          Constant which designates that the AccessPoint url is formatted as a telephone number that will contact a facsimile machine.
static java.lang.String FTP
          Constant which designates that the AccessPoint url is formatted as a writable FTP directory address.
static java.lang.String HTTP
          Constant which designates that the AccessPoint url is formatted as an HTTP compatible Uniform Resource Locator (URL).
static java.lang.String HTTPS
          Constant which designates that the AccessPoint url is formatted as a secure HTTP compatible URL.
static java.lang.String MAILTO
          Constant which designates that the AccessPoint url is formatted as an electronic mail address reference.
static java.lang.String OTHER
          Constant which designates that the AccessPoint is formatted as some other address format.
static java.lang.String PHONE
          Constant which designates that the AccessPoint url is formatted as a telephone number that will connect to a human or suitable voice or tone response based system.
(package private)  java.lang.String urlType
           
(package private)  java.lang.String urlValue
           
 
Constructor Summary
AccessPoint()
          Constructs a new initialized AccessPoint
AccessPoint(java.lang.String urlType, java.lang.String urlValue)
          Constructs a new AccessPoint for a given urlType and a given urlValue.
 
Method Summary
 java.lang.String getURL()
          Returns the value of this AccessPoint.
 java.lang.String getURLType()
          Returns the type of this AccessPoint.
 void setURL(java.lang.String url)
          Set the url value of this AccessPoint to the given value.
 void setURLType(java.lang.String urlType)
          Set the urlType of this AccessPoint to the given urlType.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAILTO

public static final java.lang.String MAILTO
Constant which designates that the AccessPoint url is formatted as an electronic mail address reference.

See Also:
Constant Field Values

HTTP

public static final java.lang.String HTTP
Constant which designates that the AccessPoint url is formatted as an HTTP compatible Uniform Resource Locator (URL).

See Also:
Constant Field Values

HTTPS

public static final java.lang.String HTTPS
Constant which designates that the AccessPoint url is formatted as a secure HTTP compatible URL.

See Also:
Constant Field Values

FTP

public static final java.lang.String FTP
Constant which designates that the AccessPoint url is formatted as a writable FTP directory address.

See Also:
Constant Field Values

FAX

public static final java.lang.String FAX
Constant which designates that the AccessPoint url is formatted as a telephone number that will contact a facsimile machine.

See Also:
Constant Field Values

PHONE

public static final java.lang.String PHONE
Constant which designates that the AccessPoint url is formatted as a telephone number that will connect to a human or suitable voice or tone response based system.

See Also:
Constant Field Values

OTHER

public static final java.lang.String OTHER
Constant which designates that the AccessPoint is formatted as some other address format. When this value is used, one or more of the tModel signatures found in the tModelInstanceInfo collection must imply that a particual format or transport type is required.

See Also:
Constant Field Values

urlType

java.lang.String urlType

urlValue

java.lang.String urlValue
Constructor Detail

AccessPoint

public AccessPoint()
Constructs a new initialized AccessPoint


AccessPoint

public AccessPoint(java.lang.String urlType,
                   java.lang.String urlValue)
Constructs a new AccessPoint for a given urlType and a given urlValue.

Method Detail

setURLType

public void setURLType(java.lang.String urlType)
Set the urlType of this AccessPoint to the given urlType. The urlType cannot be null.


setURL

public void setURL(java.lang.String url)
Set the url value of this AccessPoint to the given value. The value cannot be null.


getURL

public java.lang.String getURL()
Returns the value of this AccessPoint.


getURLType

public java.lang.String getURLType()
Returns the type of this AccessPoint.