|
Esri Geoportal Server 1.0
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.gpt.control.rest.repositories.CswRepository
public class CswRepository
Provides utility functions associated with registered CSW reposirories.
| Field Summary | |
|---|---|
static String |
XSLT_CSW_TO_HTML
XSLT for transforming CSW capabilities to HTML: "gpt/metadata/ogc/csw-to-html.xslt" |
| Constructor Summary | |
|---|---|
CswRepository()
Default constructor. |
|
| Method Summary | |
|---|---|
String |
queryCswUrl(RequestContext context,
String rid)
Returns the URL associated with a registered CSW repository. |
String |
transformToHtml(String url)
Transforms the response of a CSW GetCapabilities request to an HTML suitable for display within the GPt searach page. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String XSLT_CSW_TO_HTML
| Constructor Detail |
|---|
public CswRepository()
| Method Detail |
|---|
public String queryCswUrl(RequestContext context,
String rid)
throws SQLException
context - request contextrid - the remote CSW repository id
SQLException - if an exception occurs
public String transformToHtml(String url)
throws TransformerException
url - the CSW GetCapabilities URL
TransformerException - if an exception occurs
|
Esri Geoportal Server 1.0
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||