|
Esri Geoportal Server 1.2.9
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.gpt.server.csw.client.CswCatalog
public class CswCatalog
Maintains information of CSW Catalog The catalogs contain all the information like url, profile information credentials and capabilities.
| Constructor Summary | |
|---|---|
CswCatalog()
Instantiates a new csw catalog. |
|
CswCatalog(String url,
String name,
CswProfile profile)
Creates instance of the catalog. |
|
| Method Summary | |
|---|---|
int |
compareTo(Object arg0)
|
boolean |
connect()
|
boolean |
connect(Bots bots)
To connect to a catalog service. |
String |
getBaseUrl()
Gets the base url. |
org.apache.commons.httpclient.HttpClient |
getBatchHttpClient()
Gets the underlying Apache HttpClient to be used for batch requests to the same server. |
CswCatalogCapabilities |
getCapabilities()
Gets the capabilities. |
int |
getConnectionTimeoutMs()
Gets the connection timeout ms. |
UsernamePasswordCredentials |
getCredentials()
Gets the credentials. |
String |
getId()
Gets the id. |
String |
getName()
Gets the name. |
CswProfile |
getProfile()
Gets the profile. |
int |
getResponseTimeoutMs()
Gets the request timeout ms. |
String |
getUrl()
Gets the url. |
boolean |
IsConnected()
To test if already connected to a catalog service. |
boolean |
Locking()
Locking. |
void |
setBaseUrl(String baseUrl)
Sets the base url. |
void |
setBatchHttpClient(org.apache.commons.httpclient.HttpClient batchHttpClient)
Sets the underlying Apache HttpClient to be used for batch requests to the same server. |
void |
setCapabilities(CswCatalogCapabilities capabilities)
Sets the capabilities. |
void |
setConnectionTimeoutMs(int connectionTimeoutMs)
Sets the connection timeout ms. |
void |
setCredentials(UsernamePasswordCredentials credentials)
Sets the credentials. |
void |
setId(String id)
Sets the id. |
void |
setName(String name)
Sets the name. |
void |
setProfile(CswProfile profile)
Sets the profile. |
void |
setResponseTimeoutMs(int requestTimeoutMs)
Sets the request timeout ms. |
void |
setUrl(String url)
Sets the url. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CswCatalog()
public CswCatalog(String url,
String name,
CswProfile profile)
url - the urlname - the nameprofile - the profile| Method Detail |
|---|
public org.apache.commons.httpclient.HttpClient getBatchHttpClient()
public void setBatchHttpClient(org.apache.commons.httpclient.HttpClient batchHttpClient)
batchHttpClient - the batch clientpublic String getBaseUrl()
public void setBaseUrl(String baseUrl)
baseUrl - the new base urlpublic int getConnectionTimeoutMs()
public void setConnectionTimeoutMs(int connectionTimeoutMs)
connectionTimeoutMs - the new connection timeout mspublic int getResponseTimeoutMs()
public void setResponseTimeoutMs(int requestTimeoutMs)
requestTimeoutMs - the new request timeout mspublic CswCatalogCapabilities getCapabilities()
public void setCapabilities(CswCatalogCapabilities capabilities)
capabilities - the new capabilitiespublic UsernamePasswordCredentials getCredentials()
public void setCredentials(UsernamePasswordCredentials credentials)
credentials - the new credentialspublic String getId()
public void setId(String id)
id - the new idpublic String getName()
public void setName(String name)
name - the new namepublic CswProfile getProfile()
public void setProfile(CswProfile profile)
profile - the new profilepublic String getUrl()
public void setUrl(String url)
url - the new url
public boolean connect()
throws SAXException,
IOException,
ParserConfigurationException
SAXException
IOException
ParserConfigurationException
public boolean connect(Bots bots)
throws SAXException,
IOException,
ParserConfigurationException
bots - robots.txt or null if unavailable
ParserConfigurationException - the parser configuration exception
IOException - Signals that an I/O exception has occurred.
SAXException - the sAX exceptionpublic boolean IsConnected()
public boolean Locking()
public int compareTo(Object arg0)
compareTo in interface Comparable
|
Esri Geoportal Server 1.2.9
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||