public class AccessPoint extends java.lang.Object implements RegistryObject
Modifier and Type | Field and Description |
---|---|
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.
|
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public static final java.lang.String MAILTO
public static final java.lang.String HTTP
public static final java.lang.String HTTPS
public static final java.lang.String FTP
public static final java.lang.String FAX
public static final java.lang.String PHONE
public static final java.lang.String OTHER
public AccessPoint()
public AccessPoint(java.lang.String urlType, java.lang.String urlValue)
urlType
- The urlType of the AccessPoint.urlValue
- The value of the AccessPoint url.public void setURLType(java.lang.String urlType)
urlType
- The new type of the AccessPoint.public void setURL(java.lang.String url)
url
- The new value of this AccessPoint.public java.lang.String getURL()
public java.lang.String getURLType()
Copyright ? 2003 Apache Software Foundation. All rights reserved.